Devuan bug report logs - #65
base-files: /etc/debian_version exists after migrating from debian

Package: base-files; Maintainer for base-files is Evilham <>;

Reported by: Gregory Nowak <>

Date: Sun, 23 Apr 2017 20:03:01 UTC

Severity: normal

Tags: jessie

Done: Evilham <>

Full log

🔗 View this message in rfc822 format

Subject: bug#65: base-files: /etc/debian_version exists after migrating from debian
Reply-To: Gregory Nowak <>,
Resent-From: Gregory Nowak <>
Resent-Date: Sun, 23 Apr 2017 20:03:01 UTC
Resent-Message-ID: <>
X-Devuan-PR-Message: report 65
X-Devuan-PR-Package: base-files
Received: via spool by id=B.149297700615655
          (code B ref -1); Sun, 23 Apr 2017 20:03:01 UTC
Received: (at submit) by; 23 Apr 2017 19:50:06 +0000
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 23 Apr 2017 21:50:06 +0200 (CEST)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id BA72418C92B
	for <>; Sun, 23 Apr 2017 19:45:10 +0000 (UTC)
Authentication-Results:; dkim=pass
	reason="2048-bit key; unprotected key" header.b=V4OlMuJr;
	dkim-adsp=pass; dkim-atps=neutral
Received: from [] ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPSA id 375325B63;
	Sun, 23 Apr 2017 12:45:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=default;
	t=1492976706; bh=x6uX5qFie4Xb/IxeJLVgQ8zKCoDEcGO/lYOhkkf1/4Y=;
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gregory Nowak <>
To: Devuan Bug Tracking System <>
Message-ID: <20170423194446.3519.79006.reportbug@bootcd>
X-Mailer: reportbug 6.6.3+devuan1.3
Date: Sun, 23 Apr 2017 12:44:46 -0700
X-Virus-Scanned: clamav-milter 0.99.2 at vserver
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_PASS autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: base-files
Version: 8+devuan7
Severity: minor

Dear Maintainer,
after upgrading from debian wheezy to devuan jessie, /etc/debian_version still exists with the contents "7.11". This file is apparently still referenced somewhere when doing apt-get dist-upgrade. This issue is discussed at:

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Migrating from debian wheezy to devuan jessie.

   * What exactly did you do (or not do) that was effective (or
Leaving the file in place seems to cause no harm. Removing it causes the message "cat /etc/debian_version: no such file or directory" to appear when running apt-get dist-upgrade. Fresh installs of devuan don't have a /etc/debian_version, and don't exhibit this problem.

   * What was the outcome of this action?
See above.

   * What outcome did you expect instead?
No /etc/debian_version should exist after migrating to devuan, and the lack of this file shouldn't produce error messages when running apt-get dist-upgrade.

*** End of the template - remove these template lines ***

-- System Information:

Architecture: i686

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages base-files depends on:
ii  mawk [awk]  1.3.3-17

base-files recommends no packages.

base-files suggests no packages.

-- Configuration Files:
/etc/debian_version f627c6a8a6325d8f495a49568e4b2a79 [Errno 2] No such file or directory: u'/etc/debian_version f627c6a8a6325d8f495a49568e4b2a79'
/etc/dpkg/origins/debian 731423fa8ba067262f8ef37882d1e742 [Errno 2] No such file or directory: u'/etc/dpkg/origins/debian 731423fa8ba067262f8ef37882d1e742'
/etc/issue changed [not included]

-- no debconf information

Send a report that this bug log contains spam.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <>.
Last modified: Fri May 29 07:20:35 2020;