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


Thanks in advance !


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to