Your message dated Fri, 28 Oct 2022 17:25:09 +0200
with message-id <ea965e44-3b17-77e1-4e5a-7fa0c099e...@svario.it>
and subject line Re: Bug#696332: lsb-release: release/codename depend on a 
successful apt-get
has caused the Debian Bug report #696332,
regarding lsb-release: release/codename depend on a successful apt-get
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
696332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696332
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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".



root@wheezy:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:    testing
Codename:    wheezy

root@wheezy:~# facter lsbdistcodename
wheezy

root@wheezy:~# iptables -A OUTPUT -p tcp --dport 80 -j REJECT

root@wheezy:~# apt-get update
Err http://cdn.debian.net wheezy InRelease


Err http://cdn.debian.net wheezy Release.gpg

  Unable to connect to cdn.debian.net:http: [IP: 195.71.68.86 80]
Err http://security.debian.org wheezy/updates InRelease

Err http://security.debian.org wheezy/updates Release.gpg
  Unable to connect to security.debian.org:http: [IP: 195.20.242.89 80]
Reading package lists... Done
W: Failed to fetch http://cdn.debian.net/debian/dists/wheezy/InRelease

W: Failed to fetch
http://security.debian.org/dists/wheezy/updates/InRelease

W: Failed to fetch http://cdn.debian.net/debian/dists/wheezy/Release.gpg
 Unable to connect to cdn.debian.net:http: [IP: 195.71.68.86 80]

W: Failed to fetch
http://security.debian.org/dists/wheezy/updates/Release.gpg  Unable to
connect to security.debian.org:http: [IP: 195.20.242.89 80]

W: Some index files failed to download. They have been ignored, or old
ones used instead.
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

root@wheezy:~# facter lsbdistcodename
n/a

root@wheezy:~# iptables -F OUTPUT

root@wheezy:~# apt-get update
Get:1 http://security.debian.org wheezy/updates InRelease [102 kB]
Get:2 http://cdn.debian.net wheezy InRelease [216 kB]
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://cdn.debian.net wheezy/main amd64 Packages
Hit http://cdn.debian.net wheezy/contrib amd64 Packages
Hit http://cdn.debian.net wheezy/non-free amd64 Packages
Hit http://cdn.debian.net wheezy/contrib Translation-en
Hit http://cdn.debian.net wheezy/main Translation-en
Hit http://cdn.debian.net wheezy/non-free Translation-en
Ign http://security.debian.org wheezy/updates/contrib Translation-en_US
Ign http://security.debian.org wheezy/updates/contrib Translation-en
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://security.debian.org wheezy/updates/non-free Translation-en_US
Ign http://security.debian.org wheezy/updates/non-free Translation-en
Fetched 317 kB in 1s (163 kB/s)
Reading package lists... Done

root@wheezy:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:    testing
Codename:    wheezy

root@wheezy:~# facter lsbdistcodename
wheezy





-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
Distributor ID: Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:        testing
Codename:       wheezy
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 990 http://security.debian.org/ wheezy/updates/non-free amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=non-free
     origin security.debian.org
 990 http://security.debian.org/ wheezy/updates/contrib amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=contrib
     origin security.debian.org
 990 http://security.debian.org/ wheezy/updates/main amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=main
     origin security.debian.org
 500 http://cdn.debian.net/debian/ wheezy/non-free Translation-en
 500 http://cdn.debian.net/debian/ wheezy/main Translation-en
 500 http://cdn.debian.net/debian/ wheezy/contrib Translation-en
 990 http://cdn.debian.net/debian/ wheezy/non-free amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=non-free
     origin cdn.debian.net
 990 http://cdn.debian.net/debian/ wheezy/contrib amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=contrib
     origin cdn.debian.net
 990 http://cdn.debian.net/debian/ wheezy/main amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=main
     origin cdn.debian.net
Pinned packages:
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb http://cdn.debian.net/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lsb-release depends on:
ii  python  2.7.3~rc2-1

Versions of packages lsb-release recommends:
ii  apt  0.9.7.6

Versions of packages lsb-release suggests:
pn  lsb  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 12.0-1
Control: tags -1 - moreinfo

Closing this bug report from 2012: the `lsb_release` executable is now
supplied by a different implementation that does not use any apt-related files.
--- End Message ---

Reply via email to