hmm good find...see this is working already :) now if a fix was committed with it :) jk I'll get it on my next commit, thanks pogma.

---
TS
http://southofheaven.org
Chaos is the beginning and end, try dealing with the rest.

On 2-Dec-03, at 9:31 PM, Peter O'Gorman wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin F. Hallett wrote:

| +     foreach $pname (sort @selected) {
| +             $package = Fink::Package->package_by_name($pname);
| +
| +             # Can't purge or remove virtuals
| +             next if $package->is_virtual();
| +
| +             $lversion = &latest_version($package->list_versions());
| +             $vo = $package->get_version($lversion);
| +
| +             # Can only remove/purge installed pkgs
| +             next unless $vo->is_installed();
| +

So now fink will only remove packages if they are at the latest version?

peter% fink list esound
Information about 1840 packages read in 4 seconds.
(i)  esound           0.2.32-3     Enlightened Sound Daemon
(i)  esound-bin       0.2.32-3     Enlightened Sound Daemon
(i)  esound-common    0.2.32-3     Enlightened Sound Daemon
~     esound-data                   [virtual package]
(i)  esound-shlibs    0.2.32-3     Enlightened Sound Daemon
[pogma:~] peter% fink remove esound
/usr/bin/sudo /sw/bin/fink  remove esound
Password:
Information about 1840 packages read in 4 seconds.
Failed: no package specified for command 'remove'!

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBP81nJbiDAg3OZTLPAQL6/gQAwchTAizKXREuBcOx33ke5Zz4XBJaNtzU
z+5q60Au7z2iYbCz09MFNj8+emjtzBQecF5D98dIeqe+XFVyu4DPLdMZ/DqLfTCN
Dbkl5IYF6litbgJBG5PPddpI8L5EXi5B5uPXbUxIFoThfEpruLcpuhU40umG8i3X
6gc7LT8Ow9g=
=u9G/
-----END PGP SIGNATURE-----


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to