I run sudo apt-get update and then sudo apt-get upgrade

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
spi_
Level 1
Level 1
Posts: 21
Joined: Fri Jan 06, 2012 1:50 pm

I run sudo apt-get update and then sudo apt-get upgrade

Post by spi_ » Sun Jul 21, 2019 9:40 am

I run sudo apt-get update and then sudo apt-get upgrade and I receive this errors:

Code: Select all

gconf2 depends on default-dbus-session-bus | dbus-session-bus; however:
  Package default-dbus-session-bus is not installed.
  Package dbus-user-session which provides default-dbus-session-bus is not configured yet.
  Package dbus-session-bus is not installed.
  Package dbus-user-session which provides dbus-session-bus is not configured yet.
  Package dbus-x11 which provides dbus-session-bus is not configured yet.
dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: too many errors, stopping
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 gconf2
 gconf2
 gconf2
 gconf2
 gconf2
...
Why? How resolves?

User avatar
Pjotr
Level 21
Level 21
Posts: 13747
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by Pjotr » Sun Jul 21, 2019 9:42 am

Try to update with Update Manager (running it twice will probably fix this).
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
karlchen
Level 20
Level 20
Posts: 11420
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by karlchen » Sun Jul 21, 2019 9:55 am

Hello, spi_.

Pjotr is right. The issue has been reported more than once and solved more or less by simply permitting Update Manager to do its job in 2 turns.
The root cause is:
In the middle of a long list of software updates, there is also an update for the dbus packages.
This dbus update should be installed separately, because it may and does cause other updates to fail.
This is why restarting Update Manager after the first partially failed update operation and permitting it to do the remaining rest usually fixes the problem.

HTH,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

spi_
Level 1
Level 1
Posts: 21
Joined: Fri Jan 06, 2012 1:50 pm

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by spi_ » Sun Jul 21, 2019 9:58 am

What do you mean? Update manager in command line? twice?

User avatar
Pjotr
Level 21
Level 21
Posts: 13747
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by Pjotr » Sun Jul 21, 2019 10:00 am

spi_ wrote:
Sun Jul 21, 2019 9:58 am
What do you mean? Update manager in command line?
Nope. The thingy with that name that you launch from the menu. :mrgreen:
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Larry78723
Level 7
Level 7
Posts: 1545
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by Larry78723 » Sun Jul 21, 2019 10:03 am

Or just click on the shield on your panel.
Image

User avatar
zcot
Level 5
Level 5
Posts: 554
Joined: Wed Oct 19, 2016 6:08 pm

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by zcot » Sun Jul 21, 2019 1:02 pm

If you are bound to using terminal commands, then can you find out what apt install -f will do?

User avatar
deanr72
Level 3
Level 3
Posts: 159
Joined: Sat Mar 24, 2018 2:00 pm
Location: Poland

Re: I run sudo apt-get update and then sudo apt-get upgrade

Post by deanr72 » Mon Jul 22, 2019 2:21 am

This happened to me yesterday, actually. I ran Update Manager (search for it in the menu) twice and it did the job.

Post Reply

Return to “Installation & Boot”