On Sat, Dec 10, 2011 at 08:53:48PM +0100, Simon Ruderich wrote:
> Package: apt-forktracer
> Version: 0.3
> Severity: normal
> Tags: patch
> 
> Hello,
> 
> When I try to start apt-forktracer I get the following error
> message:
> 
>     /bin/sh: 1: lsb_release: not found
>     Traceback (most recent call last):
>     File "/usr/bin/apt-forktracer", line 24, in <module>
>         forktracer.main(sys)
>     File "/usr/share/apt-forktracer/apt_forktracer/forktracer.py", line 64, 
> in main
>         run(verbose)
>     File "/usr/share/apt-forktracer/apt_forktracer/forktracer.py", line 33, 
> in run
>         facter = Facter()
>     File "/usr/share/apt-forktracer/apt_forktracer/facter.py", line 49, in 
> __init__
>         raise RuntimeError('Could not obtain distributors id from 
> lsb_release')
>     RuntimeError: Could not obtain distributors id from lsb_release
> 
> Installing the lsb-release package fixes the issue (the update()
> messages mentioned in #625566 still shows up though). I suggest
> moving lsb-release from Recommends to Depends.

apt-forktracer uses lsb_release.py or lsb_release command or the
/etc/lsb-release file to get the needed information. There is just a
Recommends on lsb-release package because up until now base-files (which
is essential) used to include /etc/lsb-release, which was sufficient.

Did that change recently? I cannot find any mention of that in wheezy's
lsb-release nor base-files changelogs.

> Regards,
> Simon
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages apt-forktracer depends on:
> ii  python          2.7.2-9
> ii  python-apt      0.8.3
> ii  python-support  1.0.14
> 
> Versions of packages apt-forktracer recommends:
> pn  lsb-release  <none>
> 
> apt-forktracer suggests no packages.
> 
> -- no debconf information
> 
> 
> 

-- 
Marcin Owsiany <[email protected]>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to