[MacPorts] #30356: Port 2.0.0 port upgrade fails
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- I moved to Mac OS Lion and updated port to 2.0.0. Everything went smoothly. But now I am unable to do: port upgrade outdated (does not work for any package). I get errors like: ---> Cleaning perl5.12 ---> Unable to uninstall perl5.12 @5.12.3_1, the following ports depend on it: ---> perl5 @5.12.3_1+perl5_12 Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.12 @5.12.3_1 Error: Uninstall perl5.12 5.12.3_1 failed: error deleting "/opt/local/var/macports/software/perl5.12/5.12.3_1": directory not empty -- Ticket URL: <https://trac.macports.org/ticket/30356> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Changes (by jmr@…): * component: ports => base Old description:
I moved to Mac OS Lion and updated port to 2.0.0. Everything went smoothly. But now I am unable to do: port upgrade outdated (does not work for any package). I get errors like:
---> Cleaning perl5.12 ---> Unable to uninstall perl5.12 @5.12.3_1, the following ports depend on it: ---> perl5 @5.12.3_1+perl5_12 Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.12 @5.12.3_1 Error: Uninstall perl5.12 5.12.3_1 failed: error deleting "/opt/local/var/macports/software/perl5.12/5.12.3_1": directory not empty
New description: I moved to Mac OS Lion and updated port to 2.0.0. Everything went smoothly. But now I am unable to do: port upgrade outdated (does not work for any package). I get errors like: {{{ ---> Cleaning perl5.12 ---> Unable to uninstall perl5.12 @5.12.3_1, the following ports depend on it: ---> perl5 @5.12.3_1+perl5_12 Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling perl5.12 @5.12.3_1 Error: Uninstall perl5.12 5.12.3_1 failed: error deleting "/opt/local/var/macports/software/perl5.12/5.12.3_1": directory not empty }}} -- Comment: Looks like the last part of the selfupdate failed; the port image should be an archive, not a directory. SHow the output of {{{ sudo port -df selfupdate }}} -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by jmr@…): But actually, if you moved to Lion, you followed the [wiki:Migration] procedure, right? -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by blattnem@…): thanx. The last output from sudo port -df selfupdate: ------------------------- [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version /usr/bin/install -c -o root -g admin -m 444 setupenv.bash /opt/local/share/macports/ /usr/bin/install -c -o root -g admin -m 444 macports-pubkey.pem /opt/local/share/macports/ /usr/bin/tclsh src/upgrade_sources_conf_default.tcl "/opt/local" /usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl" This could take a while... -------------------------- Seems that the "while" means infinity..... -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 blattnem@…]:
thanx. The last output from sudo port -df selfupdate:
Please use WikiFormatting.
Seems that the "while" means infinity.....
Obviously it doesn't mean infinity. It just means awhile. It depends how many ports you have installed and how large they are. Wait. -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails --------------------------------+------------------------------------------- Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by blattnem@…): ...fixed. thnx.... -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30356: Port 2.0.0 port upgrade fails ---------------------------------+------------------------------------------ Reporter: blattnem@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.0 Resolution: worksforme | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/30356#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts