At Thu, 02 Nov 2006 08:32:01 -0800, Taka Fukuda wrote: Hi, I am quite a new MacOS X user, and I happened to fall into a very annoying situation as follows... When I tried to remove a package, I got fukuda@quadra:~% sudo port -f uninstall perl5.8 ---> Unable to uninstall perl5.8 5.8.8_0+darwin_8, the following ports depend on it: ---> p5-xml-parser ---> autoconf ---> automake ---> gnome-mime-data ---> vnc Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.8 5.8.8_0+darwin_8 It seemed that the uninstall was successful, but when I tried to install it, I got fukuda@quadra:~% sudo port -f install perl5.8 ---> Installing perl5.8 5.8.8_0+darwin_8 Error: Target com.apple.install returned: Registry error: perl5.8 5.8.8_0+darwin_8 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. fukuda@quadra:~% I repeated these commands with some other options, but neither of them did not work. I cannot install or uninstall Perl, and this prohibits porting of many other packages. Could you show me how to get out of this situation? Thanks, -- -- Taka Fukuda -- fukuda at computer.org
I rest my case ;-) Nice weekend everyone.. * Taka Fukuda <fukuda@computer.org> [2006-11-04 21:34]:
At Thu, 02 Nov 2006 08:32:01 -0800, Taka Fukuda wrote:
Hi,
I am quite a new MacOS X user, and I happened to fall into a very annoying situation as follows...
When I tried to remove a package, I got
fukuda@quadra:~% sudo port -f uninstall perl5.8 ---> Unable to uninstall perl5.8 5.8.8_0+darwin_8, the following ports depend on it: ---> p5-xml-parser ---> autoconf ---> automake ---> gnome-mime-data ---> vnc Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.8 5.8.8_0+darwin_8
It seemed that the uninstall was successful, but when I tried to install it, I got
fukuda@quadra:~% sudo port -f install perl5.8 ---> Installing perl5.8 5.8.8_0+darwin_8 Error: Target com.apple.install returned: Registry error: perl5.8 5.8.8_0+darwin_8 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. fukuda@quadra:~%
I repeated these commands with some other options, but neither of them did not work. I cannot install or uninstall Perl, and this prohibits porting of many other packages.
Could you show me how to get out of this situation?
Thanks,
-- -- Taka Fukuda -- fukuda at computer.org
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- _ Jerry Rocteur MACosX@rocteur.CC _|_|_ http://www.rocteur.cc (0 0) MSN macosx@rocteur.cc ooO--(_)--Ooo Jabber jerry@jabber.rocteur.cc _________________________________________________
On Nov 4, 2006, at 14:34, Taka Fukuda wrote:
When I tried to remove a package, I got
fukuda@quadra:~% sudo port -f uninstall perl5.8 ---> Unable to uninstall perl5.8 5.8.8_0+darwin_8, the following ports depend on it: ---> p5-xml-parser ---> autoconf ---> automake ---> gnome-mime-data ---> vnc Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.8 5.8.8_0+darwin_8
It seemed that the uninstall was successful,
I agree; that looks normal and successful.
but when I tried to install it, I got
fukuda@quadra:~% sudo port -f install perl5.8 ---> Installing perl5.8 5.8.8_0+darwin_8 Error: Target com.apple.install returned: Registry error: perl5.8 5.8.8_0+darwin_8 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. fukuda@quadra:~%
I repeated these commands with some other options, but neither of them did not work. I cannot install or uninstall Perl, and this prohibits porting of many other packages.
That is odd. What does... port installed perl5.8 ...say now? Does it still list perl5.8? Is perl5.8 in fact installed? Are any of the files it provides still on your hard disk? For example, on my system... port contents perl5.8 ...tells me that perl5.8 provides many things, including /opt/local/ bin/perl. Does that still exist on your system? What does... ls -l /opt/local/bin/perl ...say? What does... port provides /opt/local/bin/perl ...say?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 4, 2006, at 12:34 PM, Taka Fukuda wrote:
Could you show me how to get out of this situation?
I find some incantations of deinstall and deactivate are sometimes required. If you run 'port installed' what does it tell you about the state of perl? You might find a version issue that you can address with the full name of the port. Make sure the active version is the one you expect. This is what I get: port installed | grep perl perl5.8 @5.8.8_0+darwin_8 (active) Or, failing any luck there, you can always cheat ;-) cd /opt/local/var/db/dports/receipts/perl5.8/5.8.8_0+darwin_8 (assuming your install is in the Usual Place). remove the receipt for any versions of perl you find are blocking you, and then try to reinstall. Drastic, yes, but effective when I have used it in the past. - -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFTQiGfHLPwpj1/JQRArdCAKCMPczLqqbCX/zyGtZ5qAiVM9PjgACfTEyw 0D5PpMRLoEyhjfBc7GAvZMM= =5asC -----END PGP SIGNATURE-----
Thank you for your replies, Jerry-san, Ryan-san and Paul-san. And I am sorry for the duplicated posts. Somehow, my spam filter categorized all the messages (including mine) in this thread as "Unsure." (^^; At Sat, 4 Nov 2006 13:39:17 -0800, Paul Beard wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Nov 4, 2006, at 12:34 PM, Taka Fukuda wrote:
Could you show me how to get out of this situation?
I find some incantations of deinstall and deactivate are sometimes required.
If you run 'port installed' what does it tell you about the state of perl? You might find a version issue that you can address with the full name of the port. Make sure the active version is the one you expect.
This is what I get:
port installed | grep perl perl5.8 @5.8.8_0+darwin_8 (active)
I got the same result except "(active)".
Or, failing any luck there, you can always cheat ;-)
cd /opt/local/var/db/dports/receipts/perl5.8/5.8.8_0+darwin_8 (assuming your install is in the Usual Place).
remove the receipt for any versions of perl you find are blocking you, and then try to reinstall. Drastic, yes, but effective when I have used it in the past.
It worked!! Thank you, Paul-san. Now, perl is working fine. Maybe I had made a part of the database inconsistent when I unintentionally interrupted a port process. Thanks again, -- -- Taka Fukuda -- fukuda at computer.org
participants (4)
-
Jerry Rocteur
-
Paul Beard
-
Ryan Schmidt
-
Taka Fukuda