[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openoffice.org-gcj update broke?



On Thursday 06 December 2007 01:19:28 Roy Butler wrote:
> Børge Holen wrote:
> > On Thursday 06 December 2007 01:00:11 Roy Butler wrote:
> >> I went ahead with update-notifier's suggestion today to upgrade Open
> >> Office.  It all went well, until it got to openoffice.org-gcj.  The old
> >> version apparently has post-removal scripts that return an error code,
> >> breaking the whole process.
> >>
> >> Anyone else run into this today?  If so, have a solution?  Below is a
> >> partial run through of the stuff I've tried.
> >>
> >>
> >> Thanks,
> >> Roy
> >>
> >>
> >> \\\\\\\\\\\\\\\\\\\\
> >>
> >>
> >> kernel:~# apt-get install openoffice.org-gcj
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be upgraded:
> >>    openoffice.org-gcj
> >> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B/5056kB of archives.
> >> After unpacking 0B of additional disk space will be used.
> >> (Reading database ... 92374 files and directories currently installed.)
> >> Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch2 (using
> >> .../openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.deb) ...
> >> Unpacking replacement openoffice.org-gcj ...
> >> dpkg: warning - old post-removal script returned error exit status 2
> >> dpkg - trying script from the new package instead ...
> >> dpkg: error processing
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb (--unpack):
> >>   subprocess new post-removal script returned error exit status 2
> >> dpkg: error while cleaning up:
> >>   subprocess post-removal script returned error exit status 2
> >> Errors were encountered while processing:
> >>
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb E: Sub-process /usr/bin/dpkg returned an error code (1)
> >>
> >>
> >> kernel:~# apt-get -f upgrade
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be upgraded:
> >>    openoffice.org-gcj
> >> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B/5056kB of archives.
> >> After unpacking 0B of additional disk space will be used.
> >> Do you want to continue [Y/n]? y
> >> (Reading database ... 92374 files and directories currently installed.)
> >> Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch2 (using
> >> .../openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.deb) ...
> >> Unpacking replacement openoffice.org-gcj ...
> >> dpkg: warning - old post-removal script returned error exit status 2
> >> dpkg - trying script from the new package instead ...
> >> dpkg: error processing
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb (--unpack):
> >>   subprocess new post-removal script returned error exit status 2
> >> dpkg: error while cleaning up:
> >>   subprocess post-removal script returned error exit status 2
> >> Errors were encountered while processing:
> >>
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb E: Sub-process /usr/bin/dpkg returned an error code (1)
> >>
> >>
> >> kernel:~# apt-get remove openoffice.org-gcj
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be REMOVED:
> >>    openoffice.org-gcj
> >> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B of archives.
> >> After unpacking 17.6MB disk space will be freed.
> >> Do you want to continue [Y/n]? y
> >> dpkg: error processing openoffice.org-gcj (--remove):
> >>   Package is in a very bad inconsistent state - you should
> >>   reinstall it before attempting a removal.
> >> Errors were encountered while processing:
> >>   openoffice.org-gcj
> >> E: Sub-process /usr/bin/dpkg returned an error code (1)
> >>
> >>
> >> kernel:~# apt-get install openoffice.org-gcj
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be upgraded:
> >>    openoffice.org-gcj
> >> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B/5056kB of archives.
> >> After unpacking 0B of additional disk space will be used.
> >> (Reading database ... 92374 files and directories currently installed.)
> >> Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch2 (using
> >> .../openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.deb) ...
> >> Unpacking replacement openoffice.org-gcj ...
> >> dpkg: warning - old post-removal script returned error exit status 2
> >> dpkg - trying script from the new package instead ...
> >> dpkg: error processing
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb (--unpack):
> >>   subprocess new post-removal script returned error exit status 2
> >> dpkg: error while cleaning up:
> >>   subprocess post-removal script returned error exit status 2
> >> Errors were encountered while processing:
> >>
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb E: Sub-process /usr/bin/dpkg returned an error code (1)
> >>
> >>
> >> kernel:~# apt-get install --reinstall openoffice.org-gcj
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be upgraded:
> >>    openoffice.org-gcj
> >> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B/5056kB of archives.
> >> After unpacking 0B of additional disk space will be used.
> >> (Reading database ... 92374 files and directories currently installed.)
> >> Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch2 (using
> >> .../openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.deb) ...
> >> Unpacking replacement openoffice.org-gcj ...
> >> dpkg: warning - old post-removal script returned error exit status 2
> >> dpkg - trying script from the new package instead ...
> >> dpkg: error processing
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb (--unpack):
> >>   subprocess new post-removal script returned error exit status 2
> >> dpkg: error while cleaning up:
> >>   subprocess post-removal script returned error exit status 2
> >> Errors were encountered while processing:
> >>
> >> /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch4_powerpc.d
> >>eb E: Sub-process /usr/bin/dpkg returned an error code (1)
> >>
> >>
> >> kernel:~# apt-get remove --purge openoffice.org-gcj
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> The following packages will be REMOVED:
> >>    openoffice.org-gcj
> >> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> >> 1 not fully installed or removed.
> >> Need to get 0B of archives.
> >> After unpacking 17.6MB disk space will be freed.
> >> Do you want to continue [Y/n]? y
> >> dpkg: error processing openoffice.org-gcj (--remove):
> >>   Package is in a very bad inconsistent state - you should
> >>   reinstall it before attempting a removal.
> >> Errors were encountered while processing:
> >>   openoffice.org-gcj
> >> E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > tried dpkg --force-all?
>
> I just tried this with the -i and the path to my apt cache deb package
> for openoffice.org-gcj, as well as trying to purge the package with
> this.  Not sure if one of these is exactly what you meant, but they both
> give the same subprocess post-removal script errors from my other attempts.

I meant more in the line of 
dpkg --force-all --purge (or -i) openoffice.org-gcj 
directly from the archives.

I've had some f*ed up errors from time to time and had to edit the package 
file manually to tell it to get a move on...
>
>
> Roy



-- 
---
Børge Holen
http://www.arivene.net



Reply to: