Your message dated Thu, 29 Dec 2005 01:02:07 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#341719: fixed in lsb 3.0-13
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Dec 2005 15:15:30 +0000
>From [EMAIL PROTECTED] Fri Dec 02 07:15:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.metronet.co.uk ([213.162.97.75])
by spohr.debian.org with esmtp (Exim 4.50)
id 1EiCdG-0000oU-3c
for [EMAIL PROTECTED]; Fri, 02 Dec 2005 07:15:30 -0800
Received: from riva.pelham.vpn.ucam.org
(83-216-156-196.colinw664.adsl.metronet.co.uk [83.216.156.196])
by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 7627C4428FF
for <[EMAIL PROTECTED]>; Fri, 2 Dec 2005 15:02:56 +0000 (GMT)
Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1
(Debian))
for [EMAIL PROTECTED]
id 1EiCRG-00038M-00; Fri, 02 Dec 2005 15:03:06 +0000
Date: Fri, 2 Dec 2005 15:03:05 +0000
From: Colin Watson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: lsb-release: fails if /etc/debian_version is missing
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: lsb-release
Version: 3.0-11
Tags: patch
lsb-release tries to deal with the case where /etc/debian_version is
missing, but doesn't quite manage it.
https://launchpad.net/distros/ubuntu/+source/lsb-release/+bug/4912 is a
bug report from an Ubuntu user who thought (incorrectly) that
/etc/debian_version was a leftover from their previous Debian
installation and tried to remove it, only to discover that lsb_release
fell over.
The attached patch fixes this.
Thanks,
--
Colin Watson [EMAIL PROTECTED]
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="lsb_release.missing-dv.patch"
diff -Nru /tmp/llscgXSVN0/lsb-3.0/lsb_release
/tmp/1qd77oeAg1/lsb-3.0/lsb_release
--- /tmp/llscgXSVN0/lsb-3.0/lsb_release 2005-09-25 00:09:01.000000000 +0100
+++ /tmp/1qd77oeAg1/lsb-3.0/lsb_release 2005-12-02 14:57:27.000000000 +0000
@@ -88,6 +88,8 @@
else:
distinfo['OS'] = 'GNU'
+ distinfo['DESCRIPTION'] = '%(ID)s %(OS)s' % distinfo
+
if os.path.exists('/etc/debian_version'):
release = open('/etc/debian_version').read().strip()
if not release[0:1].isalpha():
@@ -97,8 +99,8 @@
else:
# Guess with apt policy before being this stupid?
distinfo.update({ 'RELEASE' : release, 'CODENAME' : 'sid'})
+ distinfo['DESCRIPTION'] += ' %(RELEASE)s (%(CODENAME)s)' % distinfo
- distinfo['DESCRIPTION'] = '%(ID)s %(OS)s %(RELEASE)s (%(CODENAME)s)' %
distinfo
return distinfo
def get_distro_information():
--KsGdsel6WgEHnImy--
---------------------------------------
Received: (at 341719-close) by bugs.debian.org; 29 Dec 2005 09:11:14 +0000
>From [EMAIL PROTECTED] Thu Dec 29 01:11:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1Ertfj-0004L0-U0; Thu, 29 Dec 2005 01:02:07 -0800
From: Chris Lawrence <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#341719: fixed in lsb 3.0-13
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 29 Dec 2005 01:02:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4
Source: lsb
Source-Version: 3.0-13
We believe that the bug you reported is fixed in the latest version of
lsb, which is due to be installed in the Debian FTP archive:
lsb-base_3.0-13_all.deb
to pool/main/l/lsb/lsb-base_3.0-13_all.deb
lsb-core_3.0-13_i386.deb
to pool/main/l/lsb/lsb-core_3.0-13_i386.deb
lsb-cxx_3.0-13_i386.deb
to pool/main/l/lsb/lsb-cxx_3.0-13_i386.deb
lsb-graphics_3.0-13_i386.deb
to pool/main/l/lsb/lsb-graphics_3.0-13_i386.deb
lsb-release_3.0-13_all.deb
to pool/main/l/lsb/lsb-release_3.0-13_all.deb
lsb_3.0-13.dsc
to pool/main/l/lsb/lsb_3.0-13.dsc
lsb_3.0-13.tar.gz
to pool/main/l/lsb/lsb_3.0-13.tar.gz
lsb_3.0-13_all.deb
to pool/main/l/lsb/lsb_3.0-13_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lawrence <[EMAIL PROTECTED]> (supplier of updated lsb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 29 Dec 2005 03:50:44 -0500
Source: lsb
Binary: lsb-release lsb-base lsb lsb-core lsb-graphics lsb-cxx
Architecture: source all i386
Version: 3.0-13
Distribution: unstable
Urgency: medium
Maintainer: Chris Lawrence <[EMAIL PROTECTED]>
Changed-By: Chris Lawrence <[EMAIL PROTECTED]>
Description:
lsb - Linux Standard Base 3.0 support package
lsb-base - Linux Standard Base 3.0 init script functionality
lsb-core - Linux Standard Base 3.0 core support package
lsb-cxx - Linux Standard Base 3.0 C++ support package
lsb-graphics - Linux Standard Base 3.0 graphics support package
lsb-release - Linux Standard Base version reporting utility
Closes: 341719 343310 344384 344392
Changes:
lsb (3.0-13) unstable; urgency=medium
.
* The "answer all the questions in the changelog" release.
* Skip empty headers when parsing RFC822 headers for init scripts.
(Closes: #343310)
* The versioned dependency on dpkg-dev is due to the use of
DEB_*_ARCH_CPU in debian/rules, which only became available in dpkg
1.13.2. Feel free to submit a patch to facilitate a sarge backport.
(Closes: #344392)
* Since the lsb family of packages track an upstream specification with
"non-native" version numbering, the use of a hyphenated version number
for these native packages is justified. (Closes: #344384)
(Note that although it does violate policy for a non-native package to
lack a hyphen in its version number, the contrapositive case does not
violate policy.)
* Deal with missing /etc/debian_version. (Closes: #341719)
Files:
1459ebebfbd54540f2a3390288cb43f5 585 misc extra lsb_3.0-13.dsc
42d1358bc8f66adf7d12e5a73e31d83b 34276 misc extra lsb_3.0-13.tar.gz
96c745ae3d2f526f593a9fcd5f16a50b 8450 misc extra lsb_3.0-13_all.deb
01b55775181e488afe9a908ead36634d 12712 misc required lsb-base_3.0-13_all.deb
8cb87126e8d9a6ce2b795ae5dc8b4dc3 12210 misc extra lsb-release_3.0-13_all.deb
f83b3cdefaa5efb438816770a802b293 28108 misc extra lsb-core_3.0-13_i386.deb
d2d143e872f5f282a89c6745b5f71122 8508 misc extra lsb-graphics_3.0-13_i386.deb
7f0afda5bb8b37e15f0f72032f35234e 8484 misc extra lsb-cxx_3.0-13_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDs6Rt2wQKE6PXubwRAu3EAKCNTDIwjH77kDMsqlkgfw7d0FqSgQCg2dKr
MNYqsz2oMEWHR0tflme33y0=
=8P46
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]