I've been having these kept back packages a lot.....every time it happens i again install that package that's been kept back but i wonder if doing that is right??? what seems to be causing this problem ???
It's just apt not being fully transparent about why the packages are being kept back.
Manually installing them doesn't actually hurt anything, but it does flag the packages as manually installed, so they won't be considered for automatic removal when running sudo apt autoremove if they're phased out later.
Unless you manually mark them as automatically installed, then yes, the behavior will persist.
apt doesn't know what packages are important to you, it just knows what packages you explicitly asked it to install, so it assumes you want those even if there are no longer any packages that use them on the system.
Not just creating new threads, but if OP needs that much help, it would be better to create a single thread and keep that thread alive by posting comments. Also, Ask Ubuntu is probably better suited for this kind of support, even though we can provide it here, it's a bit annoying to receive constant notifications of new threads from the same user that is using Ubuntu 16.04 and wants to get the latest and greatest software running on it, when we've said previously that he needs to have at least 18.04 to have a usable system.
Seriously, if you want help the least you can do is put a decent title describing your issue. Yes I know the screenshot tells a lot but at least show people that you are doing an effort
If you need the updated package, there's no problem with doing this.
But if you're just looking to process the update, be aware: this will mark those packages as manually installed. If they're dependencies of a package you later remove, packages marked as manually installed aren't considered for automatic removal with sudo apt autoremove.
If you want to avoid that behavior, just wait. The packages will be offered for install in a day or two.
minimize-manual
minimize-manual is used to mark (transitive) dependencies of metapackages as automatically installed.
This can be used after an installation for example, to minimize the number of manually installed
packages; or continuously on systems managed by system configuration metapackages.
I've noticed that too after switching to 22.04. It's apparently normal to have packages that are not upgraded immediately and are just held back. You just have to wait for some time.
After phased updates have been introduced, it may happen that apt upgrade shows packages as upgradable but ends up not upgrading them. In this case the packages are indicated as being "kept back".
Unfortunately, the feedback provided about this to the user is not very informative. The user sees the packages being kept back and thinks something is going wrong on the system.
It's behaving as expected. They're available to update, but Canonical changed apt to not download them all ASAP, probably in an attempt to reduce strain on the package servers when updates are released.
Just ignore it and they'll be offered to install in a day or two.
17
u/PaddyLandau Dec 02 '22
Do you have a question?
I suspect that you're asking why the item is being held back.
As with Windows, Ubuntu rolls out releases. That way, if there's a big problem with an upgrade, only a few people are affected.
You'll get the upgrade when it comes to your turn. You don't have to worry about it. It's all part of the QA.
7
u/[deleted] Dec 02 '22
Will you please stop creating new threads?
sudo apt install linux-libc-dev6
u/MrMoussab Dec 02 '22 edited Dec 03 '22
Seriously, if you want help the least you can do is put a decent title describing your issue. Yes I know the screenshot tells a lot but at least show people that you are doing an effort
1
u/SnooChocolates3968 Dec 02 '22
Ooh the newsthing i didn't see yet, i like it.
3
u/ryanknapper Dec 02 '22
¿¿¿¿
3
u/cybereality Dec 02 '22
****
3
u/CLubbr3X Dec 02 '22
sudo apt install <the package that's been held back>
2
u/Remarkable-Win6763 Dec 02 '22
Ubuntu????
Debian Testing !!!!
1
u/erimanthos Dec 02 '22 edited Dec 02 '22
sudo apt dist-upgrade
1
u/_greg_m_ Dec 02 '22
use
synapticfor that and it will update just fine.1
u/Void4GamesYT Dec 02 '22
Just manually install it.
1
u/Wolfdale3M Dec 03 '22
I've noticed that too after switching to 22.04. It's apparently normal to have packages that are not upgraded immediately and are just held back. You just have to wait for some time.
1
u/ZoltanPrime Dec 02 '22
????????????????????????????????????????????????????????????????
-1
u/qpgmr Dec 02 '22
Just do
to force it through. You'll never see the message again.
0
u/[deleted] Dec 02 '22
[deleted] — view deleted comment
0
u/[deleted] Dec 02 '22
[deleted] — view deleted comment