Bug 483620 - pkcon update get fatal error, neon-ubuntu-advantage-tools: Breaks: ubuntu-advantage-tools
Summary: pkcon update get fatal error, neon-ubuntu-advantage-tools: Breaks: ubuntu-adv...
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-15 02:16 UTC by longqi90
Modified: 2024-03-20 06:57 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description longqi90 2024-03-15 02:16:39 UTC
SUMMARY
pkcon update got fatal error.

STEPS TO REPRODUCE
1. sudo pkcon refresh && sudo pkcon update
2. 
3. 

OBSERVED RESULT
Fatal error: The following packages have unmet dependencies:
  neon-ubuntu-advantage-tools: Breaks: ubuntu-advantage-tools

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 30.9 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: LENOVO
Product Name: 20MFCTO1WW
System Version: ThinkPad X1 Extreme

ADDITIONAL INFORMATION
```
$ sudo pkcon refresh && sudo pkcon update
Refreshing cache                        [=========================]
Loading cache                           [=========================]
Downloading update information          [=========================]
Running                                 [=========================]
Finished                                [=========================]
 Disabled                             file:/var/lib/preinstalled-pool jammy InRelease
 Enabled                              file:/var/lib/preinstalled-pool jammy Release
 Enabled                              file:/var/lib/preinstalled-pool jammy Release
 Enabled                              http://packages.microsoft.com/repos/code stable InRelease
 Enabled                              https://cli.github.com/packages stable InRelease
 Enabled                              file:/var/lib/preinstalled-pool jammy Release.gpg
 Enabled                              https://download.docker.com/linux/debian bookworm InRelease
 Enabled                              https://dl.google.com/linux/chrome/deb stable InRelease
 Enabled                              https://packages.microsoft.com/repos/edge stable InRelease
 Enabled                              https://linux.teamviewer.com/deb stable InRelease
 Enabled                              https://packages.microsoft.com/repos/code stable InRelease
 Enabled                              https://cli.github.com/packages stable InRelease
 Enabled                              https://download.docker.com/linux/debian bookworm InRelease
 Disabled                             https://releases.warp.dev/linux/deb stable InRelease
 Enabled                              http://archive.neon.kde.org/testing jammy InRelease
 Enabled                              https://dl.google.com/linux/chrome/deb stable InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy InRelease
 Enabled                              https://deb.nodesource.com/node_20.x nodistro InRelease
 Enabled                              https://packages.microsoft.com/repos/edge stable InRelease
 Enabled                              https://releases.warp.dev/linux/deb stable Release
 Enabled                              https://linux.teamviewer.com/deb stable InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates InRelease
 Enabled                              https://packages.microsoft.com/repos/code stable InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security InRelease
 Enabled                              http://archive.neon.kde.org/testing jammy InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy InRelease
 Enabled                              https://deb.nodesource.com/node_20.x nodistro InRelease
 Enabled                              https://releases.warp.dev/linux/deb stable Release.gpg
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security InRelease
 Enabled                              https://ppa.launchpadcontent.net/hluk/copyq/ubuntu jammy InRelease
 Enabled                              https://ppa.launchpadcontent.net/hluk/copyq/ubuntu jammy InRelease
 Enabled                              https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
 Enabled                              https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Getting updates                         [=========================]
Finished                                [=========================]
Loading cache                           [=========================]
Testing changes                         [=========================]
Finished                                [=========================]
Fatal error: The following packages have unmet dependencies:
  neon-ubuntu-advantage-tools: Breaks: ubuntu-advantage-tools
```
Comment 1 bmhieserich 2024-03-15 04:29:19 UTC
The culprit appears to be that the package manager is attempting to install the ubuntu-pro-client package for some reason, perhaps as a dependency to something else that's set for upgrade?

sudo aptitude full-upgrade
[sudo] password for [user]: 
The following NEW packages will be installed:
  ubuntu-advantage-tools{a} ubuntu-pro-client{a} ubuntu-pro-client-l10n{a} 
The following packages will be upgraded:
  python3-update-manager update-manager-core 
2 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 279 kB of archives. After unpacking 1,285 kB will be used.
The following packages have unmet dependencies:
 neon-ubuntu-advantage-tools : Breaks: ubuntu-advantage-tools but 31.2~22.04 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     python3-update-manager [1:22.04.18 (now)]          
2)     ubuntu-advantage-tools [Not Installed]             
3)     update-manager-core [1:22.04.18 (now)]

Did Ubuntu Pro become a dependency to Update Manager? Seems unlikely but I'm not too knowledgeable about why it would be pushing the pro client.
Comment 2 tagwerk19 2024-03-15 08:41:05 UTC
Confirming, I see it in Neon Unstable and Neon Testing...
Comment 3 tagwerk19 2024-03-17 09:15:06 UTC
(In reply to tagwerk19 from comment #2)
> Confirming, I see it in Neon Unstable and Neon Testing...
I think now resolved...