Date: Sun, 12 Apr 2009 12:05:50 -0700 From: David Southwell <david@vizion2000.net> To: utisoft@gmail.com Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Can I resume the perl upgrade? Message-ID: <200904121205.50744.david@vizion2000.net> In-Reply-To: <b79ecaef0904111720o3229378av2a3809a26861f4be@mail.gmail.com> References: <486EACE56EE9A4FF9B93958A@utd65257.utdallas.edu> <200904110835.14672.david@vizion2000.net> <b79ecaef0904111720o3229378av2a3809a26861f4be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 11 April 2009 17:20:56 Chris Rees wrote: > 2009/4/11 David Southwell <david@vizion2000.net>: > > On Friday 10 April 2009 11:43:33 kimelto@gmail.com wrote: > >> Paul Schmehl wrote: > >> > --On Friday, April 10, 2009 11:17:00 -0500 Paul Schmehl > >> > > >> > <pschmehl_lists@tx.rr.com> wrote: > >> >> According to /usr/ports/UPDATING, if you want to upgrade to perl5.1= 0, > >> >> you do > >> >> the following: > >> >> > >> >> Portupgrade users: > >> >> =A0 =A0 0) Fix pkgdb.db (for safety): > >> >> =A0 =A0 =A0 =A0 pkgdb -Ff > >> >> > >> >> =A0 =A0 1) Reinstall perl with new 5.10: > >> >> =A0 =A0 =A0 =A0 portupgrade -o lang/perl5.10 -f perl-5.8.\* > >> >> > >> >> =A0 =A0 2) Reinstall everything that depends on Perl: > >> >> =A0 =A0 =A0 =A0 portupgrade -fr perl > >> >> > >> >> My machine got rebooted right in the middle of step 3. =A0Is there a > >> >> way to > >> >> resume where I left off? =A0Or do I just start over? > >> > > >> > Let me rephrase. =A0I don't see a way in portupgrade to start over w= here > >> > I left off. =A0However, pkg_info -R lang/perl* shows that all my por= ts > >> > depend on 5.10 and no ports are still depending upon 5.8. =A0Is it s= afe > >> > to assume that the reboot happened after portupgrade had finished? > >> > >> Nope. With this info you can assume that step 2/3 worked. Not the step > >> 3/3. I dont know how to restart at the stage it was before reboot as I > >> dont use portupgrade. > >> Personnaly, as portmaster failed with some ports and abort the whole > >> update process, I wrote a simple sh script which loop over the packages > >> which need perl (got via the via pkg_info -R, need reordering > >> thought...), exec portmaster ${PKG}, and keep a list of which reinstall > >> succeed and which failed. > >> > >> Regards > > > > I hope it is not too far off topic but: > > > > Can anyone tell me how to fix this one: > > > > Stale dependency: bsdpan-Pod-Perldoc-3.15 -> perl-5.8.9_2 (lang/perl5.8= ): > > can't convert nil into string > > > > > > My update to 10 seems to be OK except for this.. > > > > I cannot find its origin so do not know what to deinstall and reinstall > > > > It would also be great to get all bsdpan into the pkgdb with their > > origins.. is there any way to do that? > > > > Thanks in advance > > > > David > > Perhaps you should start a new thread. > > Chris Tried that last week to no avail So asmy question was vaguely on topic I had hoped someone might be able to= =20 contribute something useful!! No such luck!! Thank you for your contribution most helpful David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904121205.50744.david>