* Alexander Hansen on Tuesday, December 11, 2007 at 19:29:02 -0500
>> MacOS 10.4.11
>> Package manager version: 0.27.9
>> Distribution version: 0.8.1.rsync powerpc
>> 
>> Removing irssi-ssl fails, even with brute force:
>> 
>> ~$ fink remove -r irssi-ssl
>> Information about 7486 packages read in 1 seconds.
>> Fink will attempt to remove --recursive 1 package
>> 
>> Do you want to continue? [Y/n]
>> /sw/bin/apt-get-lockwait remove irssi-ssl
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> The following packages will be REMOVED:
>>  irssi-ssl
>> 0 packages upgraded, 0 newly installed, 1 to remove and 1  not upgraded.
>> Need to get 0B of archives. After unpacking 8352kB will be freed.
>> Do you want to continue? [Y/n]
>> (Reading database ... 39216 files and directories currently installed.)
>> Removing irssi-ssl ...
>> /sw/var/lib/dpkg/info/irssi-ssl.postrm: line 10:
> /sw/lib/perl5/5.8.1/darwin-thread-multi-2level/perllocal.pod: No such
> file or directory
>> /sw/bin/dpkg: error processing irssi-ssl (--remove):
>> subprocess post-removal script returned error exit status 1
>> Errors were encountered while processing:
>> irssi-ssl
>> E: Sub-process /sw/bin/dpkg returned an error code (1)
>> ### execution of /sw/bin/apt-get-lockwait failed, exit code 100
>> Failed: can't remove package irssi-ssl
>> 
>> 
>> perl 5.8.1??
>> 
>> Untested and possibly clueless patch proposal for irssi-ssl.info:
>> 
>> $ cd /sw/fink/10.4/unstable/crypto/finkinfo
>> $ diff -u irssi-ssl.info.orig irssi-ssl.info
>> --- irssi-ssl.info.orig    2007-12-04 10:28:15.000000000 +0100
>> +++ irssi-ssl.info    2007-12-11 23:17:41.000000000 +0100
>> @@ -58,7 +58,7 @@
>> ###
>> ### check to see if any .pod files exist in %p/share/podfiles.
>> ###
>> -/bin/echo -n '' >
> %p/lib/perl5/5.8.1/darwin-thread-multi-2level/perllocal.pod
>> +/bin/echo -n '' >
> %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
>> perl <<'END_PERL'
>>     if (-e "%p/share/podfiles/5.8.6") {
>>         @files = <%p/share/podfiles/5.8.6/*.pod>;
>> 
>> 
>> Thoughts?
>> 
>> c
> That's odd.  My irssi has the following:
> $ dlocate irssi | grep pod
> irssi: /sw/share/podfiles
> irssi: /sw/share/podfiles/5.8.6
> irssi: /sw/share/podfiles/5.8.6/perllocal.irssi.pod
> 
> (0.8.12-101)

Hm. That's irssi not irssi-ssl. But still: have you actually tried
to remove it?

> What irssi version do you have?

$ /sw/bin/irssi --version
irssi 0.8.12 (20071006 0939)

After "fink purge irssi-ssl" /sw/bin/irssi I get above error,
but:

$ ls /sw/bin/irssi
ls: /sw/bin/irssi: No such file or directory
$ fink list -t irssi
        irssi   0.8.12-101      Modular IRC client
 i      irssi-ssl       0.8.12-101      Modular IRC client (with SSL)

Very dirty workaround:

$ sudo mkdir -p /sw/lib/perl5/5.8.1/darwin-thread-multi-2level
$ sudo touch /sw/lib/perl5/5.8.1/darwin-thread-multi-2level/perllocal.pod
$ sudo fink purge irssi-ssl
Information about 7485 packages read in 1 seconds.
WARNING: this command will remove the package(s) and remove any
         global configure files, even if you modified them!

Do you want to continue? [Y/n]
Reading buildlock packages...
        All buildlocks accounted for.
/sw/bin/dpkg-lockwait --purge irssi-ssl
(Reading database ... 39216 files and directories currently installed.)
Removing irssi-ssl ...
Purging configuration files for irssi-ssl ...
$ sudo rm -r /sw/lib/perl5/5.8.1/
$ fink list -t irssi
        irssi   0.8.12-101      Modular IRC client
        irssi-ssl       0.8.12-101      Modular IRC client (with SSL)

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to