LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Temporary Workaround for seahorse 0.7.6-2 install in Sid (https://www.linuxquestions.org/questions/debian-26/temporary-workaround-for-seahorse-0-7-6-2-install-in-sid-293366/)

Pr1musr3x 02-22-2005 07:53 AM

Temporary Workaround for seahorse 0.7.6-2 install in Sid
 
The bug report on this latest version of seahorse as fetched by apt-listbugs arising out of an apt-get upgrade session ora fresh apt-get install seahorse seems to indicate that the problem of with regards to its installation/upgrade on Sid has been fixed BUT in reality, it is NOT the case. See below:

Retrieving bug reports... Done
grave bugs of seahorse (0.7.6-1 -> 0.7.6-2) <done>
#296189 - seahorse: Upgrade from 0.7.6-1 to 0.7.6-2 fails.
Summary:
seahorse(1 bug)

dpkg --force overwrite -i /var/cache/apt/archives/seahorse_0.7.6-2_i386.deb
postinst called with unknown argument `upgrade'
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
postinst called with unknown argument `failed-upgrade'
dpkg: error processing /var/cache/apt/archives/seahorse_0.7.6-2_i386.deb (--install):
subprocess new post-removal script returned error exit status 1
postinst called with unknown argument `abort-upgrade'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/seahorse_0.7.6-2_i386.deb
nano /var/lib/dpkg/info/seahorse.postrm
insert "exit 0" after "set -e" line (WITHOUT the quotes in BOTH) then type "Ctrl O" to save amendment. Rerun apt-get install seahorse to rid half-installed status of seahorse. Went fine for me i.e.

debian:/home/maximusp/dloads/debs# apt-show-versions seahorse
seahorse/unstable uptodate 0.7.6-2

:cool:

Pr1musr3x 02-23-2005 04:45 AM

seahorse 0.7.6-3 [734kB] just hit Unstable. Am running an "apt-get upgrade" session atm.So the workaround may not be necessary with this new point release (in any case should just be a bugfix release). But the approach should work for any other problematic package upgrade/installation i.e. diving into the maintainers scripts (e.g. postinst, postrm) and inserting/removing lines ;)

BTW anyone notice what the size of xserver-xfree86 has become in today's latest release? a Whopping 50.4MB!!!

Get:77 http://mirror.averse.net unstable/main xserver-xfree86 4.3.0.dfsg.1-12 [50.4MB]

Ok back to me upgrade seesion...89 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 151MB/151MB of archives.
After unpacking 205MB of additional disk space will be used.


:cool:


All times are GMT -5. The time now is 11:05 PM.