[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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
/usr/local/lib/python3.8/dist-packages/distro_info_test/*
Proceed (Y/n)?
  Successfully uninstalled distro-info-0.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and 
conflicting behaviour with the system package manager. It is recommended to use 
a virtual environment instead: https://pip.pypa.io/warnings/venv

$ sudo pip list | grep distro-info
distro-info   0.23ubuntu1

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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/*
/mnt/data/home/thomas/.local/lib/python3.8/site-packages/distro_info.py
Proceed (Y/n)?
  Successfully uninstalled distro-info-1.0

$ pip list | grep distro-info
distro-info   0.23ubuntu1

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 exception "AttributeError"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

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:
  apt_check.py crashes with exception "AttributeError"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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]
libdistro-info-perl/focal 0.23ubuntu1 all
python3-distro-info/focal,now 0.23ubuntu1 all  [Installiert,automatisch]

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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
bdmurray@clean-focal-amd64:~$ apt-cache policy distro-info
distro-info:
  Installed: 0.23ubuntu1
  Candidate: 0.23ubuntu1
  Version table:
 *** 0.23ubuntu1 500
500 http://192.168.10.7/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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: Confirmed => Incomplete

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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

Title:
  apt_check.py crashes with exception "AttributeError"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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

[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 "AttributeError"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1943638/+subscriptions


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