[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-14 Thread Brian Murray
** Changed in: update-notifier (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-14 Thread No Spam
Yes, it seems to be solved after I reverted the changes I made to apt- check.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread Brian Murray
So did removing the pip version of distro-info resolve the issue for you? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread No Spam
Thanks! $ sudo pip uninstall distro-info Found existing installation: distro-info 0.0.0 Uninstalling distro-info-0.0.0: Would remove: /usr/local/lib/python3.8/dist-packages/distro_info-0.0.0.dist-info/* /usr/local/lib/python3.8/dist-packages/distro_info.py

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread No Spam
Same for my user: $ pip uninstall distro-info Found existing installation: distro-info 1.0 Uninstalling distro-info-1.0: Would remove: /mnt/data/home/thomas/.local/lib/python3.8/site-packages/distro_info-1.0.dist-info/*

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread Brian Murray
If you remove or update the pip install of distro-info for the root user this issue should be resolved. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread No Spam
$ sudo pip list | grep distro-info distro-info 0.0.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To manage

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread No Spam
$ pip list | grep distro-info distro-info 1.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To manage

Re: [Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread Brian Murray
On Mon, Jan 10, 2022 at 05:12:48PM -, No Spam wrote: > How do I find out? pip list should do the trick. -- Brian Murray -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title:

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread No Spam
How do I find out? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception "AttributeError" To manage notifications about this bug go to:

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-10 Thread Brian Murray
Could you answer the second part of the question "Do you happen to have a pip version of distro-info installed? There was an out of date version of distro-info in pypi that didn't have all the features of the one from the Ubuntu archive." -- You received this bug notification because you are a

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-09 Thread No Spam
In reply to #3: # apt list | grep distro-info WARNING: apt does not have a stable CLI interface. Use with caution in scripts. distro-info-data/focal-updates,focal-security,now 0.43ubuntu1.9 all [Installiert,automatisch] distro-info/focal,now 0.23ubuntu1 amd64 [Installiert,automatisch]

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-04 Thread Brian Murray
For the record this works fine for me. bdmurray@clean-focal-amd64:~$ /usr/lib/update-notifier/apt-check --human-readable 34 updates can be applied immediately. 13 of these updates are standard security updates. To see these additional updates run: apt list --upgradable

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2022-01-04 Thread Brian Murray
What version of distro-info do you have installed? Do you happen to have a pip version of distro-info installed? There was an out of date version of distro-info in pypi that didn't have all the features of the one from the Ubuntu archive. ** Changed in: update-notifier (Ubuntu) Status:

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2021-12-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-notifier (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638

[Bug 1943638] Re: apt_check.py crashes with exception "AttributeError"

2021-09-15 Thread No Spam
As a simple solution, I added a "try ... except" block around line 150. This solved the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943638 Title: apt_check.py crashes with exception