failed apt-get upgrade - Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct

1,295 views
Skip to first unread message

lsmi...@hare.demon.co.uk

unread,
Aug 23, 2014, 12:56:58 PM8/23/14
to vinux-...@googlegroups.com

Hi package gurus:

I got behind on my Vinux 4 package upgrades (300+ packages behind) so
decided to do an 'apt-get upgrade' on my laptop. This fails as
below. I have plenty of disk space. I'm now stuck - Help please!

I did:

sudo bash
apt-get-update
apt-get upgrade
<errors - see transcript below>
apt-get -f install
<even more errors, see below>

Transcrippt:
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
openjdk-7-jdk : Depends: openjdk-7-jre (= 7u55-2.4.7-1ubuntu1~0.12.04.2) but 7u65-2.5.1-4ubuntu1~0.12.04.1 is installed
E: Unmet dependencies. Try using -f.
j apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
apport-symptoms gir1.2-ubuntuoneui-3.0 libsyncdaemon-1.0-1
libubuntuoneui-3.0-1 libtommath0 libkms1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
openjdk-7-jdk
Suggested packages:
visualvm
The following packages will be upgraded:
openjdk-7-jdk
1 to upgrade, 0 to newly install, 0 to remove and 151 not to upgrade.
144 not fully installed or removed.
Need to get 0 B/16.5 MB of archives.
After this operation, 88.1 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
debconf: Unable to initialise frontend: Dialog
debconf: (Dialogue frontend will not work on a dumb terminal, an Emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
(Reading database ... 254436 files and directories currently installed.)
Preparing to replace openjdk-7-jdk 7u55-2.4.7-1ubuntu1~0.12.04.2 (using .../openjdk-7-jdk_7u65-2.5.1-4ubuntu1~0.12.04.1_i386.deb) ...
Unpacking replacement openjdk-7-jdk ...
dpkg: error processing /var/cache/apt/archives/openjdk-7-jdk_7u65-2.5.1-4ubuntu1~0.12.04.1_i386.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-7-openjdk-i386/src.zip', which is also in package openjdk-7-source 7u55-2.4.7-1ubuntu1~0.12.04.2
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-7-jdk_7u65-2.5.1-4ubuntu1~0.12.04.1_i386.deb
Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct
E: Sub-process /usr/bin/dpkg returned an error code (1)
j


I'm now stuck without speech on that system, as during this process I
rebooted a half upgraded system - more fool me. Thanks for any help.


--
Les Smithson

Rob Whyte

unread,
Aug 24, 2014, 4:10:00 AM8/24/14
to vinux-...@googlegroups.com
H Les,
look for bug reports against that package in case it is package specific.
You could try downgrading that package, using apt-cache policy and
apt-get install package=version.

Good luck
If you would like further assistance maybe cfh or IRC will help.

Thanks
Rob

lsmi...@hare.demon.co.uk

unread,
Aug 24, 2014, 5:49:53 PM8/24/14
to vinux-...@googlegroups.com

Rob to the rescue (again)!

There was indeed a bug against the openjdk-7 package:-

https://lists.launchpad.net/openjdk/msg10356.html

This suggested uninstalling openjdk-7-source,but this of course failed
for the same reason apt-get upgrade fails - broken dependencies.

So I forced the uninstall with:

dpkg --force-all -P openjdk-7-source

Which successfully uninstalled the package. Then I did a "apt-get
install -f" followed by a "apt-get update/upgrade" and a reboot and
all is well, including speech.

Fixing the openjdk-7 dependency bug is a job for another day.
> --
> Remember to frequently check our Wiki: http://wiki.vinuxproject.org
> Our website: http://www.vinuxproject.org
> You can search or view our group on the web: http://groups.google.com/group/vinux-support
> Talk to us on IRC irc.vinuxproject.org #Vinux
>
> Unsubscribe from Vinux by emailing vinux-suppor...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups "Vinux support forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vinux-suppor...@googlegroups.com.

--
Les Smithson
Reply all
Reply to author
Forward
0 new messages