Public bug reported:

Binary package hint: lsb-release

Everytime lsb_release is invoked, it crashes with the folowing message:

Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 282, in ?
    main()
  File "/usr/bin/lsb_release", line 246, in main
    distinfo = get_distro_information()
  File "/usr/bin/lsb_release", line 209, in get_distro_information
    distinfo = guess_debian_release()
  File "/usr/bin/lsb_release", line 163, in guess_debian_release
    rinfo = guess_release_from_apt()
  File "/usr/bin/lsb_release", line 131, in guess_release_from_apt
    releases = parse_apt_policy()
  File "/usr/bin/lsb_release", line 125, in parse_apt_policy
    data.append( (priority, parse_policy_line(bits[1])) )
UnboundLocalError: local variable 'priority' referenced before assignment

** Affects: lsb (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
lsb_release always crashes
https://launchpad.net/bugs/79165

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to