Software Updater tells me to do a partial upgrade, yet I am unable to do so

7 replies [Last post]
Liberated
Offline
Joined: 03/22/2019

Hello everyone!

After checking for updates using the Software Updater, I get the following message:

"Not all updates can be installed
Run a partial upgrade, to install as many updates as possible.
This can be caused by:
*A previous upgrade which didn't complete
*Problems with some of the installed software
*Unofficial software packages not provided by Trisquel
*Normal changes of a pre-release version of Trisquel"

Clicking continue shows the message "The software on this computer is up to date," but clicking on Partial Upgrade closes the window with nothing else occurring after that.

Running sudo apt update and then apt list --upgradable brings up the following list of packages:

"libpulse-mainloop-glib0/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
libpulse0/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
libpulsedsp/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
pulseaudio/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
pulseaudio-module-gconf/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
pulseaudio-module-x11/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]
pulseaudio-utils/flidas-updates 1:8.0-0ubuntu3.11 amd64 [upgradable from: 1:8.0-0ubuntu3.10]"

Running sudo apt upgrade shows that the above packages "have been kept back," which I am assuming is the problem.

Is there anything I can do to fix this?

Thanks in advance.

Markmus

I am a member!

Offline
Joined: 11/19/2019

Try "sudo apt dist-upgrade"

Info:
upgrade
upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no
circumstances are currently installed packages removed, or packages
not already installed retrieved and installed. New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version. An update must be performed first so that
apt-get knows that new versions of packages are available.

dist-upgrade
dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. So, dist-upgrade
command may remove some packages. The /etc/apt/sources.list file
contains a list of locations from which to retrieve desired package
files. See also apt_preferences(5) for a mechanism for overriding
the general settings for individual packages.

kenogo (not verified)
kenogo

I don’t recommend running dist-upgrade! That may also remove packages unexpectedly. Instead run

sudo apt-get --with-new-pkgs upgrade

If that doesn’t work, you can manually install the packages by running

sudo apt-get install <packages listed as held back, separated by spaces>

strypey
Offline
Joined: 05/14/2015

Kenogo:
> I don’t recommend running dist-upgrade!

Why not? I do this often, usually to make apt-get install a newer version of Linux-libre, and I've never had any problems.

kenogo (not verified)
kenogo

As I said, this can not just install software, but also remove some. It should be handled with care is all I’m saying. Do you actually need it to upgrade your kernel version, though? I wouldn’t know why that would be the case.

Liberated
Offline
Joined: 03/22/2019

I began typing up the following:

--
Running sudo apt-get --with-new-pkgs upgrade still results in the following:

"The following packages have been kept back:
libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio-module-gconf
pulseaudio-module-x11 pulseaudio-utils
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded."

Running sudo apt-get install results in:

"Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pulseaudio-module-gconf : Depends: pulseaudio (= 1:8.0-0ubuntu3.11)
E: Unable to correct problems, you have held broken packages."

When I try completely upgrading pulseaudio in Synaptic Package Manager, I get the following:
--

Interestingly, I tried removing pulseaudio to upgrade to the 1.8.0-0ubuntu3.11 version by hoping to upgrade it after removing it, but it seems that the package could not be fetched.

So, I changed to the FSF mirror but noticed that the latest version of pulseaudio there was 1.8.0-0ubuntu3.10, not 3.11. Switching back to the main Trisquel server also showed that the latest version is 3.10 and not 3.11

This makes no sense to me -- how could I have been told to upgrade to the 3.11 version if it was supposedly never in the main Trisquel server's repo? I have never changed my mirror or switched to any backport/unstable repos in this installation.

Running sudo apt update and sudo apt upgrade now results in no problems. But my question above still stands.

Thanks for the help.

kenogo (not verified)
kenogo

Ahh now that you mention pulseaudio I thought I remembered something from the last dev meeting. Just checked and I remembered correctly: the pulseaudio package was temporarily broken. It has been fixed, though, and apt update made this fix available for you :)

Liberated
Offline
Joined: 03/22/2019

That makes more sense, thanks for the reply!