Opened 8 years ago
Closed 8 years ago
#53431 closed defect (invalid)
migration problem
Reported by: | gkdgoutam | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.4.0 |
Keywords: | Cc: | ||
Port: |
Description
After updating OS from 10.7.5 to 10.12, I tried to update the macport through the instructions provided in migration webpage. However I am having several problems at the final stage while doing
sudo ./restore_ports.tcl myports.txt
A few of which I note below,
---> Computing dependencies for webkit-gtk3-2.0 Error: Can't install webkit-gtk3-2.0 because conflicting ports are active: webkit-gtk3 ---> Computing dependencies for webkit-gtk3-2.0 Error: Can't install webkit-gtk3-2.0 because conflicting ports are active: webkit-gtk3 ---> Computing dependencies for webkit-gtk3-2.0 Error: Can't install webkit-gtk3-2.0 because conflicting ports are active: webkit-gtk3 ---> Computing dependencies for webkit-gtk3-2.0 Error: Can't install webkit-gtk3-2.0 because conflicting ports are active: webkit-gtk3 Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. Error: Requested variants "+gpl2+x11" do not match those the build was started with: "+gpl2". Error: Please use the same variants again, or run 'port clean ffmpeg' first to remove the existing partially completed build. can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gvfs": permission denied while executing "file mkdir $workpath/.home" (procedure "open_statefile" line 7) invoked from within "open_statefile" (procedure "check_variants" line 28) invoked from within "check_variants install" invoked from within "$workername eval "check_variants $target"" (procedure "mportexec" line 7) invoked from within "mportexec $workername $install_target" Unable to execute target 'install' for port 'gvfs': can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gvfs": permission denied while executing "install_ports $operationList" (file "./restore_ports.tcl" line 287)
Why it can't make the directory even though I am running with sudo?
It looks like the previously installed ports in myports.txt have changed their names in the new version? Its very time-consuming to go through one by one. Is there a better way out? Should I remove everything and try to build a new fresh port?
Change History (1)
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Keywords: | migration removed |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Upgrading from Lion to Sierra is 5 major OS upgrades in one. Expect some difficulties like this.
webkit-gtk3-2.0 is for Mountain Lion and earlier, which is why you had it on your Lion system. For Mavericks and later, including Sierra, you'll use webkit-gtk3 instead, which is already installed. Remove webkit-gtk3-2.0 from your myports.txt.
Certainly, now is a good time to look through your myports.txt, and if you see anything in that list that you don't recall deliberately requesting, remove it. The idea here is to reinstall the ports you actually want, not to reinstall everything that might have been installed before, some of which you may no longer need.
There's no bug here so I'm closing the ticket. If you need further assistance migrating, please write to the macports-users mailing list.