There is a problem with python3-apport python3-problem-report.

Hello, I am encountering difficulties when attempting to update and upgrade the python3-apport and python3-problem-report packages on Zorin OS 17.1 Core. These packages remain 'kept back' when I execute the commands sudo apt update && sudo apt full-upgrade. I am perplexed by this issue and would appreciate any assistance in resolving it. I suspect this might be a bug or possibly a conflict with other installed packages.

1 Like

Welcome to the Forum!

This is not unusual per se. Did You checked the Software Sources Tab in Software & Updates? It is the first from the left side- Look there if ''Main Server'' ist chosen. Then try it again.

Sometimes Packages are held back because there are not ready at this Moment. Simply wait can help.

1 Like

In terminal, please run

sudo apt install apport python3-apport python3-problem-report

and that should get everything unhitched and fully installed.

@Aravisian , I had exactly the same issue as reported above, so I copied the command you wrote (thanks!) and pasted it into the terminal, after initially trying to upgrade again - just in case waiting had resolved it. Here is what I got back after running your command:

The following packages were kept back:
Nala was unable to determine why these were held:
python3-apport, python3-problem-report
Do you want to continue? [Y/n] y
All packages are up to date.
ruth@ruth-HP-Pavilion-TS-15-Notebook-PC:~$ sudo apt install apport python3-apport python3-problem-report
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
apport-symptoms python3-systemd
Suggested packages:
apport-gtk | apport-kde
The following NEW packages will be installed
apport apport-symptoms python3-systemd
The following packages will be upgraded:
python3-apport python3-problem-report
2 to upgrade, 3 to newly install, 0 to remove and 0 not to upgrade.
Need to get 287 kB of archives.
After this operation, 1.096 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /ubuntu jammy-updates/main amd64 python3-problem-report all 2.20.11-0ubuntu82.6 [11,1 kB]
Get:2 Index of /ubuntu jammy-updates/main amd64 python3-apport all 2.20.11-0ubuntu82.6 [89,0 kB]
Get:3 Index of /ubuntu jammy-updates/main amd64 apport all 2.20.11-0ubuntu82.6 [134 kB]
Get:4 Index of /ubuntu jammy/main amd64 apport-symptoms all 0.24 [13,5 kB]
Get:5 Index of /ubuntu jammy/main amd64 python3-systemd amd64 234-3ubuntu2 [39,6 kB]
Fetched 287 kB in 1s (291 kB/s)
(Reading database ... 333763 files and directories currently installed.)
Preparing to unpack .../python3-problem-report_2.20.11-0ubuntu82.6_all.deb ...
Unpacking python3-problem-report (2.20.11-0ubuntu82.6) over (2.20.11-0ubuntu82.5) ...
Preparing to unpack .../python3-apport_2.20.11-0ubuntu82.6_all.deb ...
Unpacking python3-apport (2.20.11-0ubuntu82.6) over (2.20.11-0ubuntu82.5) ...
Selecting previously unselected package apport.
Preparing to unpack .../apport_2.20.11-0ubuntu82.6_all.deb ...
Unpacking apport (2.20.11-0ubuntu82.6) ...
Selecting previously unselected package apport-symptoms.
Preparing to unpack .../apport-symptoms_0.24_all.deb ...
Unpacking apport-symptoms (0.24) ...
Selecting previously unselected package python3-systemd.
Preparing to unpack .../python3-systemd_234-3ubuntu2_amd64.deb ...
Unpacking python3-systemd (234-3ubuntu2) ...
Setting up python3-problem-report (2.20.11-0ubuntu82.6) ...
Setting up apport-symptoms (0.24) ...
Setting up python3-apport (2.20.11-0ubuntu82.6) ...
Setting up python3-systemd (234-3ubuntu2) ...
Setting up apport (2.20.11-0ubuntu82.6) ...
Created symlink /etc/systemd/system/paths.target.wants/apport-autoreport.path โ†’ /lib/systemd/system/apport-autoreport.path.
Created symlink /etc/systemd/system/timers.target.wants/apport-autoreport.timer โ†’ /lib/systemd/system/apport-autoreport.timer.
Created symlink /etc/systemd/system/sockets.target.wants/apport-forward.socket โ†’ /lib/systemd/system/apport-forward.socket.
apport-autoreport.service is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

...and that was it.

1 Like

Yes, it looks like the latest python-apport packages refer to some new packages. Due to this, those upgrades were held back (unless the new packages are installed).
By just doing a full install of those packages instead of upgrading them, the new packages get installed too.

I did the update command before trying the upgrade both times - IDK?

I didn't close the Terminal, so here:
ruth@ruth-HP-Pavilion-TS-15-Notebook-PC:~$ sudo nala update
[sudo] password for ruth:
โ•ญโ”€ Updating Package List โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚No Change: Repository Mirror for your Cloud Server and Webhosting - Index of /ubuntu/ jammy InRelease โ”‚
โ”‚No Change: Index of /stable/ jammy InRelease โ”‚
โ”‚No Change: https://packages.mozilla.org/apt mozilla InRelease โ”‚
โ”‚No Change: Index of /patches/ jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/apps/ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /apps/ jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /zorinos/patches/ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /drivers/ jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/stable/ubuntu jammy InRelease โ”‚
โ”‚No Change: Servidor de rรฉplicas do Consorcio CIXUG jammy InRelease โ”‚
โ”‚Fetched 257 KB in 22s (0 Bytes/s) โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
2 packages can be upgraded. Run 'nala list --upgradable' to see them.
ruth@ruth-HP-Pavilion-TS-15-Notebook-PC:~$ sudo nala upgrade
โ•ญโ”€ Updating Package List โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚No Change: Index of /ubuntu jammy-updates InRelease โ”‚
โ”‚No Change: https://ocean.surfshark.com/debian stretch InRelease โ”‚
โ”‚No Change: Index of /ubuntu jammy-backports InRelease โ”‚
โ”‚No Change: Index of /ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /archive.ubuntu.com jammy InRelease โ”‚
โ”‚No Change: Repository Mirror for your Cloud Server and Webhosting - Index of /ubuntu/ jammy InRelease โ”‚
โ”‚No Change: Index of /ubuntu jammy-security InRelease โ”‚
โ”‚No Change: https://packages.mozilla.org/apt mozilla InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/apps/ubuntu jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /stable/ jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy InRelease โ”‚
โ”‚No Change: https://ppa.launchpadcontent.net/zorinos/stable/ubuntu jammy InRelease โ”‚
โ”‚No Change: Index of /patches/ jammy InRelease โ”‚
โ”‚No Change: Index of /apps/ jammy InRelease โ”‚
โ”‚No Change: Index of /drivers/ jammy InRelease โ”‚
โ”‚No Change: Servidor de rรฉplicas do Consorcio CIXUG jammy InRelease โ”‚
โ”‚Fetched 0 Bytes in 21s (0 Bytes/s)

So, this is the top part and what I posted above follows directly. I didn't run the list to see what could be upgraded, just the command to upgrade

I do not understand... are you still having an issue?

According to your previous post, all the relevant packages installed fully.

1 Like

@Aravisian , I appologise - I think you are correct. I was confused by:
Created symlink /etc/systemd/system/sockets.target.wants/apport-forward.socket โ†’ /lib/systemd/system/apport-forward.socket.
apport-autoreport.service is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

On checking it again it comes back as "All packages are up to date". My misunderstanding! Thank you.

1 Like