Opened 11 years ago
Closed 11 years ago
#40520 closed defect (duplicate)
symbolc /opt causing failure
Reported by: | djosifovich@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: |
Description
I had /opt as a symbolic link to another location. a 'port selfupdate' then 'port upgrade outdated' resulted in a error about not being able to open a file (details below). After exploring all the path's dirs and final file, I determined permissions were not an issue. I decided to try remove my /opt symbolic link and move the ....MacPorts/opt/ directory to the root directory. Afterwards 'port upgrade outdated' worked successfully.
some gory details...
# port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.2.0 installed, MacPorts base version 2.2.0 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
# port upgrade outdated Error: Unable to upgrade port: Could not open file: /Realms/MEI/desert-plateau/Tools/MacPorts/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext/Portfile To report a bug, follow the instructions in the guide:
# open http://guide.macports.org/#project.tickets # ls -l /opt lrwxr-xr-x 1 root wheel 44 Jul 26 08:05 /opt@ -> Realms/MEI/desert-plateau/Tools/MacPorts/opt # cd /opt # ls X11/ local/ # pwd /Realms/MEI/desert-plateau/Tools/MacPorts/opt # cd .. # ls Applications/ opt/ # rm /opt # mv opt / # port upgrade outdated ---> Computing dependencies for gettext ---> Fetching archive for gettext
. . .
Change History (1)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Probably duplicate of #39850.