37
submitted 1 year ago* (last edited 1 year ago) by gabriele97@lemmy.g97.top to c/linux@lemmy.ml

cross-posted from: https://lemmy.g97.top/post/56902

Hi, I've this situation when I apt upgrade. There are many pipewire-related packages kept back. Why? How can I solve it?

Thank you!

EDIT: dist-upgrade summary

EDIT2: Ok I solved it with

apt autoremove # only to remove old packages. it didn't solved the problem

apt update

apt dist-upgrade

you are viewing a single comment's thread
view the rest of the comments
[-] henfredemars@lemdro.id 11 points 1 year ago

Is this basically Ubuntu?

They do intentionally hold back packages based on a random value to do gradual rollouts. See below:

https://askubuntu.com/questions/1431940/what-are-phased-updates-and-why-does-ubuntu-use-them

Could this be your issue?

[-] gabriele97@lemmy.g97.top 6 points 1 year ago

Sorry, I forgot to mention that it's Pop OS. And I think it started to be stuck in this mode 2 weeks ago

[-] cypherpunks@lemmy.ml 8 points 1 year ago* (last edited 1 year ago)

PopOS is based on Ubuntu, so ~~the Phased Updates answer above most likely explains what you're seeing.~~

If you want to force the immediate upgrading of a given package that is being delayed by phased updates, you can apt install it. (However, note that this will also mark the package as manually installed if it wasn't already, which means that if you later remove everything else that depended on it, it won't join the list of "no longer needed" packages which get removed by apt autoremove).

Typically updates that are being phased should be relatively unimportant, but if you want to know what you're missing you can also say apt changelog and apt policy (supplying a package name as an argument) to find out what has changed.

imo phased updates make sense, but ubuntu's current implementation of them is terribly confusing for commandline users who aren't aware of them.

edit: actually according to this and this PopOS disabled phased updates in their focal (20.04) branch back in March. Maybe they've come back in jammy (22.04)? Or maybe you actually have some other conflict causing packages to be held back.

edit2: I see ubuntu lists all of their currently phased updates here and there are far fewer of them currently so this actually does not explain what is in your screenshot. I would guess that you perhaps have installed some non-standard package that conflicts with the pipewire upgrades; perhaps you can find out what it is by saying apt install pipewire-bin and seeing if it asks to remove something in order to upgrade that.

[-] spiffeeroo@programming.dev 4 points 1 year ago* (last edited 1 year ago)

The Ubuntu based distros may have this phased update thing. That AskUbuntu link has a command to override APT package manager to install the held-back packages.

Ubuntu tends to hold back system critical packages in case there are issues. Systems with certain install UUIDs will be 'guinea pigs' and install these packages before everyone else. You can override this behavior and disable phased updates on that particular computer.

[-] cypherpunks@lemmy.ml 1 points 1 year ago

see my edits to my previous reply, in case you got the notification about it prior to me editing it.

this post was submitted on 26 Jul 2023
37 points (89.4% liked)

Linux

48199 readers
1444 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS