From macports-dev Sat Sep 09 17:47:23 2017 From: Bradley Giesbrecht Date: Sat, 09 Sep 2017 17:47:23 +0000 To: macports-dev Subject: Re: [GSoC] migration Message-Id: <6A00A230-408A-4331-BA6B-6D5257EC738D () macports ! org> X-MARC-Message: https://marc.info/?l=macports-dev&m=150497925008825 > On Sep 8, 2017, at 5:04 PM, Umesh Singla = wrote: >=20 > On Sat, Sep 9, 2017 at 3:40 AM, Rainer M=C3=BCller = wrote: > On 2017-09-08 23:33, Umesh Singla wrote: > > When I run the `migrate` action with only one port (expat) = installed, I > > get the following: > > > > $ sudo ./bin/port migrate > > > > Taking a snapshot of the current state... > > > > Done: Snapshot '8':'snapshot created for migration' created at > > 2017-09-08 21:09:21 > > > > Migration will first uninstall all the installed ports, upgrade = MacPorts > > and then reinstall them again. Would you like to continue? [Y/n]: Y >=20 > I would like to repeat that upgrading MacPorts from the 'port migrate' > action is not possible. After a major upgrade of macOS we cannot > guarantee that the old version of MacPorts runs at all on this new OS > version. MacPorts has to be reinstalled for the new OS version in an > extra step before. >=20 > The best you can do is printing instructions on where to download = MacPorts. >=20 > So, what could be the possible two-stage break of migrate action be? = I'm guessing immediately after uninstalling and selfupdating, I can = print on the console asking the user to run `port restore --last` in = order to complete migration. This command will now use the upgraded port = command. Any suggestions? If port cannot spawn this command then this should be a workable = solution. =E2=80=94 Brad=