More held back pacakages

Jan 06, 2024 Last reply: 2 years ago 4 Replies

$ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libcamera-apps-lite libcamera-ipa libcamera0.1 linux-headers-rpi-2712 linux-headers-rpi-v8 linux-image-rpi-2712 linux-image-rpi-v8 raspberrypi-sys-mods raspi-utils


Why?


At least three possibilities.

1) Installing them would breach the ‘apt-get upgrade’ rule that it never removes packages or installs new ones. Solution: ‘apt-get dist-upgrade’.

2) They’ve been explicitly put on hold by the operator. Use ‘apt-mark showhold’ to check and ‘apt-mark unhold’ to fix.

3) They’re marked upstream for phased updates. Assuming you’re using standard Debian and RPi OS mirrors, they aren’t.

Someone recently pointed out you can also do

apt-get upgrade --with-new-pkgs

to get around that. Kernel updates always require a new package.

Except it doesn't

<quote>

sudo apt-get upgrade --with-new-pkgs Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages have been kept back: python3-update-manager update-manager-core

0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade. </quote>

Avpx

That is probably what I need to do.

I am not sure I will...after what happened last time a new kernel was supposed to be installed!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required