[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: A general upgrade question
From:       Chris Jones <jonesc () hep ! phy ! cam ! ac ! uk>
Date:       2016-09-23 14:50:14
Message-ID: 8347ec7b-8be8-b268-58c9-a1cc26f53823 () hep ! phy ! cam ! ac ! uk
[Download RAW message or body]

Hi,

I would suggest in your case, because your port list might be a little 
out of date, to not use the ./restore_ports.tcl scripts. Instead, 
manually look at your myports.txt and requested.txt files, decide which 
ports you still want and try install them one by one, with whatever 
variants you want (and are still valid for the new OS etc., as things do 
change). In my experience the list of ports you need to request is often 
not that long (use the requested.txt file) and thus this isn't as 
onerous as it might sound, and more reliable.

Chris

On 23/09/16 15:41, William H. Magill wrote:
> I have two systems, an iMac and a Mac Mini.
> The iMac doesn't do much - mostly aspell, and so my update to Sierra went quite \
> smoothly. 
> The Mac Mini on the other hand, is a bit more of a workhorse. Primarily acting as a \
> web server. And, as I updated to Sierra, I discovered to my chagrin that I had been \
> practicing —If it ain't broke, don't fix it. Evidently not updating any ports \
> since I upgraded to El Capitan! Oops.
> 
> To make a long story short.
> Instead of first checking to see what kind of updating I needed to do before \
> tackling the new Mac Ports, I just went ahead and followed the migration guide.
> Everything went smoothly until I hit the rebuiild phase:  ./restore_ports.tcl \
> myports.txt 
> This command itself worked well — what happened was that the rebuild through lots \
> of warning errors. Typically of the type:
> 
> Error: p5.16-perl-ostype has been replaced by p5.22-perl-ostype; please install \
>                 that instead.
> Error: org.macports.configure for port p5.16-perl-ostype returned: obsolete port
> 
> In investigating, I noted that the command:
> > sudo port outdated
> No installed ports are outdated.
> 
> But that this command:
> > sudo port obsolete
> Error: Unrecognized action "port obsolete"
> 
> That behavior seems to be a bug, but I don't know the expected behavior.
> 
> At any rate, what I was attempting to do was generate a list of those obsolete and \
> therefore failed installs to make manual installation possible.
> 
> In particular, I'm assuming that there is a parent install which included these as \
> dependencies, and that if I re-installed that, it would pick-up all of the others.
> (I seem to have had a bunch of P5.16 modules installed, which should have been \
> updated before I tried to begin the overall update.) 
> Is there an obvious way to find that parent?
> 
> 
> 
> 
> T.T.F.N.
> William H. Magill
> # iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.12
> # Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.12
> 
> magill@icloud.com
> magill@mac.com
> whmagill@gmail.com
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
> 
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic