Re: Bug#711174: base-files: changes in 7.1wheezy1 break lsb-release on stable
reassign 711174 lsb-release
thanks
On Wed, 5 Jun 2013, Marc Fournier wrote:
> Package: base-files
> Version: 7.1wheezy1
> Severity: important
>
> Dear Maintainer,
>
> I'm not sure if this bug belongs to lsb or base-files. But here are the
> facts:
>
> Upgrading from 7.1 to 7.1wheezy1 (from wheezy-proposed-updates) breaks
> the codename returned by lsb_release. "n/a" is returned instead of
> "wheezy".
>
> This is a nuisance because everything depending on lsb to identify the
> system release by codename instead of version number is also broken.
>
> Downgrading back to 7.1 solves the problem.
>
> Below, the steps I followed to hit this bug:
>
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description: Debian GNU/Linux 7.0 (wheezy)
> Release: 7.0
> Codename: wheezy
>
> # apt-cache policy base-files
> base-files:
> Installed: 7.1
> Candidate: 7.1wheezy1
> Version table:
> 7.1wheezy1 0
> 990 http://mirror.switch.ch/ftp/mirror/debian/ wheezy-proposed-updates/main amd64 Packages
> *** 7.1 0
> 990 http://mirror.switch.ch/ftp/mirror/debian/ wheezy/main amd64 Packages
> 100 /var/lib/dpkg/status
> 6.0squeeze7 0
> 50 http://mirror.switch.ch/ftp/mirror/debian/ squeeze/main amd64 Packages
>
> # apt-get install base-files
> [...]
> The following packages will be upgraded:
> base-files
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/78.6 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> (Reading database ... 61598 files and directories currently installed.)
> Preparing to replace base-files 7.1 (using .../base-files_7.1wheezy1_amd64.deb) ...
> Unpacking replacement base-files ...
> Processing triggers for man-db ...
> Processing triggers for install-info ...
> Setting up base-files (7.1wheezy1) ...
> Installing new version of config file /etc/debian_version ...
> Installing new version of config file /etc/issue ...
> Installing new version of config file /etc/issue.net ...
> Installing new version of config file /etc/os-release ...
>
> # dpkg -l | grep base-files
> ii base-files 7.1wheezy1 amd64 Debian base system miscellaneous files
>
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description: Debian GNU/Linux 7.1 (n/a)
> Release: 7.1
> Codename: n/a
This is not a bug in base-files but a bug in lsb-release, the changes
in base-files are the result of the stable release managers decision
that Debian wheezy will be just "Debian 7".
It's explained in base-files changelog:
* Dropped ".0" part from "7.0" in issue, issue.net and os-release,
as wheezy is Debian 7, the point releases are 7.x, and we
don't want to modify those files at every point release.
I'm afraid that lsb-release will have to adapt to this change, but
since the "Debian 7" is already decided, I suppose you guys have an
implicit permission to fix this for the Debian 7.1 point release.
You will probably want to change RELEASE_CODENAME_LOOKUP in
/usr/share/pyshared/lsb_release.py and maybe lookup_codename as well.
Thanks.
Reply to: