TransWikia.com

Getting an error when using Synaptic Package Manager, unmet dependencies

Ask Ubuntu Asked by Andrew Scott on December 3, 2021

I’m running ubuntu 18.04. When I tried to update using synaptic package manager I got the following message

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

So then I went online looking for a solution and tried a whole bunch of stuff. Here’s what I’ve been able to gather so far. All of this is stuff I tried after reading other posts, so I’m not sure how relevant any of it is, but I thought I’d include as much information as I have.

When I do sudo apt-get update it works just fine. When I do sudo apt-get upgrade I get the following message.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libegl-mesa0 libegl-mesa0:i386 libgbm1 libgbm1:i386 libgl1-mesa-dri
  libgl1-mesa-dri:i386 libglapi-mesa libglapi-mesa:i386 libglx-mesa0
  libglx-mesa0:i386 libosmesa6 libosmesa6:i386 libxatracker2 mesa-va-drivers
  mesa-va-drivers:i386 mesa-vdpau-drivers mesa-vulkan-drivers
  mesa-vulkan-drivers:i386 netplan.io
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

When I do sudo apt-get dist-upgrade I get the follwing message.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Error!
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:
 gvfs : Depends: gvfs-daemons (>= 1.36.1-0ubuntu1.3.3)
        Depends: gvfs-daemons (< 1.36.1-0ubuntu1.3.3.1~)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

When I do sudo apt-get install -f I get the following message.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

So, I think I have unmet dependencies, but I have no clue how to fix that or if that even is the problem. If anybody can help me, I would appreciate it very much.

Update

Don’t know what happened, but after a while everything started working again. Synaptic started working again, however a new location on the File Manager appeared called x-nautilus-desktop:///. When I click on it, it says it can’t be displayed. Weird stuff.

One Answer

Try this:

sudo dpkg --configure -a

Then remove the package which appears in the output by running this command

sudo dpkg --remove package-name

Answered by Djalel on December 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP