PDA

View Full Version : [ubuntu] Upgrade Manager Install error



WildeBeest
July 17th, 2009, 11:09 PM
What does the error mean and how do I fix it?


E: kubuntu-docs: subprocess post-installation script returned error exit status 1I have an Ubuntu install, then I added the KDE desktop.

WildeBeest
July 20th, 2009, 01:14 AM
ttt

Partyboi2
July 20th, 2009, 02:46 AM
Hi, open a terminal and post the output's to

sudo apt-get -f install
sudo dpkg --configure -a so we can have a better look on what might be causing the problem.

wabbalee
July 20th, 2009, 03:48 AM
status 1 means not all dependencies were met or something else did not succeed during installation. have you enabled all repositories?

WildeBeest
July 20th, 2009, 11:34 AM
Hi, open a terminal and post the output's to

sudo apt-get -f install
sudo dpkg --configure -a so we can have a better look on what might be causing the problem.

sudo apt-get -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up kubuntu-docs (9.04.2) ...
ln: target `/usr/share/doc/kde/HTML/en/kubuntu/' is not a directory: No such file or directory
dpkg: error processing kubuntu-docs (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
kubuntu-docs
E: Sub-process /usr/bin/dpkg returned an error code (1)


sudo dpkg --configure -a

Setting up kubuntu-docs (9.04.2) ...
ln: target `/usr/share/doc/kde/HTML/en/kubuntu/' is not a directory: No such file or directory
dpkg: error processing kubuntu-docs (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
kubuntu-docs

Partyboi2
July 20th, 2009, 12:16 PM
Try creating the directory first

cd /usr/share/doc/kde/HTML/en
sudo mkdir kubuntu


sudo apt-get --reinstall install kubuntu-docs

WildeBeest
July 20th, 2009, 05:46 PM
Thanks, I'll try that when I get home.

I have created the kubuntu folder a few times, but it always gets deleted.

But, I have never ran the reinstall afterwards.

WildeBeest
July 21st, 2009, 03:41 AM
This is what I got when I ran the "sudo apt-get --reinstall install kubuntu-docs".


Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up kubuntu-docs (9.04.2) ...
ln: target `/usr/share/doc/kde/HTML/en/kubuntu/' is not a directory: No such file or directory
dpkg: error processing kubuntu-docs (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
kubuntu-docs
E: Sub-process /usr/bin/dpkg returned an error code (1)

WildeBeest
July 21st, 2009, 10:20 PM
Ttt

wabbalee
July 22nd, 2009, 01:03 AM
do you have synaptic on that system? usually when you start synaptic and you have such errors it tells you at the bottom that you have broken packages. you could locate and uninstall these packages, upgrade your system and then try reinstalling the kubuntu-desktop meta package. it should then auto select everything you need for a kubuntu environment.

see if that solves your problem.
Ron

WildeBeest
July 22nd, 2009, 09:19 PM
Synaptic indicates no broken packages.

The KDE desktop works fine.

I just continue to get the error.


Setting up kubuntu-docs (9.04.2) ...
ln: target `/usr/share/doc/kde/HTML/en/kubuntu/' is not a directory: No such file or directory
dpkg: error processing kubuntu-docs (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
kubuntu-docs
E: Sub-process /usr/bin/dpkg returned an error code (1)

wabbalee
July 23rd, 2009, 01:29 AM
Initially you say:

I have an Ubuntu install, then I added the KDE desktop.

I haven't done this myself in this way yet but I have plans to do so in the future: install ubuntu first and then install both the Kubuntu-desktop and Xubuntu-desktop meta packages which should auto select everything you need. That is not the same as installing KDE and XFCE.

have you tried this?

WildeBeest
July 23rd, 2009, 11:29 AM
That's what I meant. Installed Ubuntu and then added kubuntu-desktop.

wabbalee
July 23rd, 2009, 12:47 PM
well this is where my humble knowledge ends for now, I hope some one else who has more know how of this subject is watching this thread over our shoulders and give a hint of some kind.

some googling got me this:
http://www.linuxquestions.org/questions/debian-26/sub-process-usrbindpkg-returned-an-error-code-1-171107/

http://ubuntuforums.org/showthread.php?t=541998

http://ubuntuforums.org/archive/index.php/t-21672.html

all to do with similar error.

good luck.
Ron

Partyboi2
July 23rd, 2009, 12:54 PM
Just to add, there is also an open bug report about this (see here (https://bugs.launchpad.net/ubuntu/+source/kubuntu-docs/+bug/377671)). Feel free to add any further information that might help to get the bug fixed.

CFBauer
July 30th, 2009, 09:15 AM
Bamp. Tried all the suggestions in this thread to no avail.

Soul-Sing
July 30th, 2009, 12:10 PM
remove with purge the kubuntu-docs package.

jonglee1
August 27th, 2009, 02:48 PM
I believe that others found the solution already. But, FYI, here is the solution to this problem.

https://bugs.launchpad.net/ubuntu/+source/kubuntu-docs/+bug/377671/comments/7