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

Package: base-files; Maintainer for base-files is Devuan Developers <devuan-dev@lists.dyne.org>; Source for base-files is src:base-files.

Reported by: Gregory Nowak <greg@gregn.net>

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

Severity: normal

Tags: jessie

Done: Evilham <devuan@evilham.com>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#65: base-files: /etc/debian_version exists after migrating from debian
Reply-To: Gregory Nowak <greg@gregn.net>, 65@bugs.devuan.org
Resent-From: Gregory Nowak <greg@gregn.net>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Sun, 23 Apr 2017 20:03:01 UTC
Resent-Message-ID: <handler.65.B.149297700615655@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 65
X-Devuan-PR-Package: base-files
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.149297700615655
          (code B ref -1); Sun, 23 Apr 2017 20:03:01 UTC
Received: (at submit) by bugs.devuan.org; 23 Apr 2017 19:50:06 +0000
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 23 Apr 2017 21:50:06 +0200 (CEST)
Received: from vserver.gregn.net (vserver.gregn.net [174.136.110.154])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id BA72418C92B
	for <submit@bugs.devuan.org>; Sun, 23 Apr 2017 19:45:10 +0000 (UTC)
Authentication-Results: tupac2.dyne.org; dkim=pass
	reason="2048-bit key; unprotected key"
	header.d=gregn.net header.i=@gregn.net header.b=V4OlMuJr;
	dkim-adsp=pass; dkim-atps=neutral
Received: from [127.0.0.1] (63-228-142-146.phnx.qwest.net [63.228.142.146])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vserver.gregn.net (Postfix) with ESMTPSA id 375325B63;
	Sun, 23 Apr 2017 12:45:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gregn.net; s=default;
	t=1492976706; bh=x6uX5qFie4Xb/IxeJLVgQ8zKCoDEcGO/lYOhkkf1/4Y=;
	h=From:To:Subject:Date:From;
	b=V4OlMuJreg8LATA8/L9ZUOXmvKQ/o71xI/3KMLm9Fc5ZxA8h7TrFyOoYoFCidiWz+
	 jbyJhfmvKpcGG4mxNO8LZXjh9DKG6j0zaLyonSloBhEL9nkwRIp4Q9VTvWzvfAwDzR
	 ZMSEJYuNwDqM6EZupWB4pJ28DOj4wxksIlw3+jdwvzZTFvRMmG5oORDfxqVVVj5/6E
	 /pYcX2bupx0g5UPW20ot6ExdPYFVcgMQOshkUa4eeu9TGJcug9ePMxR2RQoY4CvkZm
	 s36i9cVshQLTkrrXFwtYxrkUbfD1VQaMj7Tn+9Fkhm8WvVsekz8u9QwsMXVlYVAteu
	 Pi3YzLJHaE0Rg==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gregory Nowak <greg@gregn.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
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:
<https://lists.dyne.org/lurker/thread/20170418.054720.34c2db04.en.html>

*** 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
     ineffective)?
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 <owner@bugs.devuan.org>.
Last modified: Fri Apr 19 17:39:38 2024;