Bug#696332: lsb-release: release/codename depend on a successful apt-get
Control: tags -1 +moreinfo
Hi varacanero, and thanks for your bugreport,
Le mercredi, 19 décembre 2012 18.20:27, varacanero a écrit :
> Subject: lsb-release: release/codename depend on a successful apt-get
> update Package: lsb-release
> Version: 4.1+Debian8
> Severity: normal
>
> If an apt-get update fails (i.e. no internet connection), the lsb
> codename will change to "n/a", which shouldn't happen. Release changes
> to "testing/unstable".
Even if your log confirms that, I can't reproduce this behaviour on jessie.
> root@wheezy:~# lsb_release -a
> Release: testing
> Codename: wheezy
> root@wheezy:~# iptables -A OUTPUT -p tcp --dport 80 -j REJECT
>
> root@wheezy:~# apt-get update
> root@wheezy:~# lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description: Debian GNU/Linux testing/unstable
> Release: testing/unstable
> Codename: n/a
How does your /etc/debian_version look like ? And what is the output of `apt-
cache policy` ?
Thanks in advance, cheers,
OdyX
--
OdyX
Reply to: