OK - fixed by commenting out lines in /etc/apt/preferences.d/lib.pref

$ sudo apt-cache policy update-manager
update-manager:
  Installed: 1:24.04.13i3
  Candidate: 1:24.04.13i3
  Version table:
 *** 1:24.04.13i3 500
        500 https://ppa.launchpadcontent.net/nteodosio/ubuntu-pro/ubuntu 
noble/main amd64 Packages
        500 https://ppa.launchpadcontent.net/nteodosio/ubuntu-pro/ubuntu 
noble/main i386 Packages
        100 /var/lib/dpkg/status
     1:24.04.9 500
        500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages
     1:24.04.6 500
        500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu noble/main i386 Packages

I ran update-manager(old) to check defaukt state and this installed some new 
updated including new update-manager
running that I get: 
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 39, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 
67, in <module>
    from .UpdatesAvailable import UpdatesAvailable
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 
61, in <module>
    from .Core.UpdateList import UpdateSystemGroup
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 
599
    if pkg.is_installed and pkg.is_upgradable and pkg.marked_keep
                                                                 ^
SyntaxError: expected ':'

So I fixed that by joining 600 to 599 and ran it again.
This time it satarted, did a small update and finished with correct 'The 
software on this computer is up to date'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109758

Title:
  software updater says there are more updates but wont do them

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2109758/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to