package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #387364 reported by Hariharan Iyer
This bug affects 237 people
Affects Status Importance Assigned to Milestone
kubuntu-docs (Ubuntu)
Fix Released
Medium
Rich Johnson
Nominated for Hardy by 2xd
Jaunty
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: kubuntu-docs

Version information:
Description: Ubuntu 9.04
Release: 9.04

The error was encountered while running 'apt-get install kubuntu-desktop'

ProblemType: Package
Architecture: amd64
Dependencies: khelpcenter None [modified: /var/lib/dpkg/info/khelpcenter.list]
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: kubuntu-docs 9.04.2
PackageArchitecture: all
SourcePackage: kubuntu-docs
Title: package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Hariharan Iyer (hariharan022) wrote :
Changed in kubuntu-docs (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
togga (togga) wrote :

A folder is deleted and then used in kubuntu-docs.postinst . I temporarily added a mkdir as a workaround.

 case "$1" in
   configure)
     if [ -d "/usr/share/doc/kde4/HTML/en/kubuntu" ]; then
                 rm -rf /usr/share/doc/kde4/HTML/en/kubuntu
                 if [ $(ls /usr/share/doc/kde4/HTML/en/ | wc -l) -eq 0 ]; then
                         rm -rf /usr/share/doc/kde4
                 fi
         fi
+ mkdir /usr/share/doc/kde/HTML/en/kubuntu/
         if which install-docs >/dev/null 2>&1; then
                 install-docs -i /usr/share/doc-base/kubuntu-systemdocs
                 ln -sf /usr/share/doc/kde/HTML/en/common \
                         /usr/share/doc/kde/HTML/en/kubuntu/
                 ln -sf /usr/share/doc/kde/HTML/en/kubuntu/index/index.html \
                         /usr/share/doc/kde/HTML/en/kubuntu/index.html
   fi
   ;;
 esac
 exit 0

Revision history for this message
Bunny H. Brown (bunny-brown) wrote :

I have am also having this problem. This is the error message i get

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)

This is causing problems for the upgrade/installations of some other packages also

Revision history for this message
Thomas Edwards (tom-rb-edwards) wrote :

Same here, I can't install anything properly. It comes up with an "unknown error".

Changed in kubuntu-docs (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Thomas Edwards (tom-rb-edwards) wrote :

Sorry I changed the bug status by accident! I can't change it back to "Triaged" though.

Revision history for this message
KiRiLoS (kirilos8) wrote :

Same problem here

Revision history for this message
Dean Sas (dsas) wrote :

Reset the status

Changed in kubuntu-docs (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Rich Johnson (nixternal) wrote :

This was fixed with the attached patch. I will upload to 'jaunty-proposed' just as soon as all of this bug stuff is updated :)

Thanks togga for the heads up, as I utilized your mkdir to fix this issue.

Changed in kubuntu-docs (Ubuntu):
assignee: nobody → Richard Johnson (nixternal)
status: Triaged → Fix Committed
Revision history for this message
Rich Johnson (nixternal) wrote :
Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
dodzky25 (dodzky25)
Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
zytzef (zytzef)
Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Please do not change bug statuses without explanation.

Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
indigo42 (johnwkennan) wrote :

All,
I really apologize, but where do I get the patch for this fix? Not too familiar with the getting fixes process.

Thanks,

Revision history for this message
indigo42 (johnwkennan) wrote :

Ok,
I found the location of the file I had to mod according to the gdiff.

/var/lib/dpkg/info/kubuntu-docs.postinst

I still would like to know how I would go about finding the fix though.

Thanks!

Revision history for this message
rfo (rfo-arg) wrote :

Sorry but I don't know what do I do.
I don't know how report a bug or repair ir.
Thanks a lot.

Changed in kubuntu-docs (Ubuntu Jaunty):
importance: Undecided → Medium
Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Fix Committed
Changed in kubuntu-docs (Ubuntu Jaunty):
status: New → Confirmed
Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Thomas (teoverton) wrote :

Where is this fix released?...It is NOT in Jaunty proposed or any other repo I can find.

Please advise

Revision history for this message
Thomas (teoverton) wrote :

Where is this fix released? I don't see it in Jaunty proposed?

Revision history for this message
gramgram (gatemplin) wrote : Re: [Bug 387364] Re: package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Sorry, I have no idea where it is or how this works.
Graham

On Wed, Sep 2, 2009 at 5:10 AM, Thomas <email address hidden> wrote:

> Where is this fix released? I don't see it in Jaunty proposed?
>
> --
> package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/387364
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “kubuntu-docs” package in Ubuntu: Fix Released
> Status in kubuntu-docs in Ubuntu Jaunty: Confirmed
>
> Bug description:
> Binary package hint: kubuntu-docs
>
> Version information:
> Description: Ubuntu 9.04
> Release: 9.04
>
> The error was encountered while running 'apt-get install kubuntu-desktop'
>
> ProblemType: Package
> Architecture: amd64
> Dependencies: khelpcenter None [modified:
> /var/lib/dpkg/info/khelpcenter.list]
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> NonfreeKernelModules: nvidia
> Package: kubuntu-docs 9.04.2
> PackageArchitecture: all
> SourcePackage: kubuntu-docs
> Title: package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> Uname: Linux 2.6.28-11-generic x86_64
>

Revision history for this message
Rich Johnson (nixternal) wrote :

If you are not assigned to the bug, or are not working on the bug, please do not change its status. I am working on the fix and going through the hoops and hassles to get it uploaded. Thanks.

Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Rich Johnson (nixternal) wrote :

Ignore my last on the fix, I was thinking another bug, this has the fix, just awaiting someone to come and do it.

Rich Johnson (nixternal)
Changed in kubuntu-docs (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Rich Johnson (nixternal) wrote :

Ubuntu SRU team, please help!!! I am tired of people filing duplicated on this buy at least once a day. Can we get this uploaded some time soon please?

Revision history for this message
Steve Langasek (vorlon) wrote :

Richard,

The SRU team does not upload SRUs, they verify that the SRUs which have been uploaded are reasonable and shepherd them through to the -updates pocket. Are you need in sponsorship for this SRU?

Revision history for this message
Rich Johnson (nixternal) wrote :

Steve, sorry about that, I am a moron, please forgive me :) totally forgot I was the one to started the process, and was thinking someone else did it. I will add this to my TODO list.

Changed in kubuntu-docs (Ubuntu Jaunty):
status: Confirmed → Fix Released
status: Fix Released → Confirmed
Revision history for this message
Abdou (tipo-abdou) wrote :

Sorry, I have no idea where it is or how this works.

Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
2xd (rainmen)
Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
2xd (rainmen) wrote :

hi all.

my name is doron and I'm very new at ubuntu and at Linux....

can someone please explian how do I use the fix ? i have this problam as well but have no clue on how to fix it...

thanks alot

mrak (mrak-gentoo)
Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Incomplete
Changed in kubuntu-docs (Ubuntu):
status: Incomplete → Fix Released
hamid.yahya (hamidyahya)
description: updated
Revision history for this message
Andy Pham (thedarkninjatoproductions) wrote :

Stop changing the status of the bug, it's confusing many people who are waiting for the fix (the link alone to to the workaround code isn't a final release of the bug fix).

Revision history for this message
Jonathan Riddell (jr) wrote :

This is fixed in karmic but still waiting on an update in Jaunty, probably nixternal will do it once he's done cycling around the world.

Revision history for this message
unixjon (unixjon) wrote :

jonathan thanks for that information, what did I do now until the patch is
to uninstall the kubuntu-docs

2009/10/22 Jonathan Riddell <email address hidden>

> This is fixed in karmic but still waiting on an update in Jaunty,
> probably nixternal will do it once he's done cycling around the world.
>
> --
> package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/387364
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “kubuntu-docs” package in Ubuntu: Fix Released
> Status in kubuntu-docs in Ubuntu Jaunty: Confirmed
>
> Bug description:
> Binary package hint: kubuntu-docs
>
> Version information:
> Description: Ubuntu 9.04
> Release: 9.04
>
> The error was encountered while running 'apt-get install kubuntu-desktop'
>
> ProblemType: Package
> Architecture: amd64
> Dependencies: khelpcenter None [modified:
> /var/lib/dpkg/info/khelpcenter.list]
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> NonfreeKernelModules: nvidia
> Package: kubuntu-docs 9.04.2
> PackageArchitecture: all
> SourcePackage: kubuntu-docs
> Title: package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> Uname: Linux 2.6.28-11-generic x86_64
>
>
>

--
Atte. Jonathan Castro
Soporte IT - Sistemas - Southlat technology
Cordoba.

Changed in kubuntu-docs (Ubuntu):
status: Fix Released → Fix Committed
Steve Langasek (vorlon)
Changed in kubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

closing the task for jaunty which has reached eol.

Changed in kubuntu-docs (Ubuntu Jaunty):
status: Confirmed → Won't Fix
To post a comment you must log in.