Date: Thu, 2 Feb 2012 06:42:42 -0800 From: Waitman Gobble <gobble.wa@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Unable to upgrade packages on FreeBSD Message-ID: <CAFuo_fwu1cMEpcXHxbyv_5c1WoanZAc-2Ck_Rubb_1Zt%2BiSD2w@mail.gmail.com> In-Reply-To: <4F2A8D1D.1060100@bananmonarki.se> References: <CAGy-%2Bi-6GLfoUuhUExjnVEKhM00TuUimhKuhboLkjBeXNk9hFg@mail.gmail.com> <4F27816A.1060905@bananmonarki.se> <CAGy-%2Bi8MjwagPp6ZP-30%2BdyV7eS28Xh8pZct-ZvR7jtbNsGpmA@mail.gmail.com> <4F2A8D1D.1060100@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson <bah@bananmonarki.se> wrote: > 2012-02-01 19:16, David Jackson skrev: > > > I did not save them, there is really no way to save a copy of them unless >> I >> copy them by hand. >> > > I take it you are new to FreeBSD. May I introduce you to script > man script(1) > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org <freebsd-questions-unsubscribe@freebsd.org>" > One thing I noticed, which may cause some trouble(?) http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-10-current/ is empty, no packages. So pkg_add fails for everything... Running 10-CURRENT I have to set PACKAGESITE to http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/ It's been years since I've run a HEAD version of FreeBSD - maybe this is common knowledge. :) But It seems like there could be a symlink or something. Also, I'm still looking into it - but it seems like it would be good to have an easy way to 'reinstall' a package. It seems to be pretty stubborn when trying to deinstall/reinstall stuff. For example, after i upgraded from 9.0-RELEASE to 10-CURRENT, the thing was complaining about libintl, gettext, iconv. pkg_add was refusing to 'reinstall' (but this might be related my own ignorance), so I ended up going into ports and building, then the system was fulling operational, yay. However, it could be that these did not need to be "reinstalled". pkg_add was telling me I already had the latest versions installed, and when I finally got down to the meat of my problem I found that my /etc/rc was never replaced. Either I fat-fingered a mergemaster prompt (but I really thought I was paying close attention), or mergemaster missed it! :) There was no /var/tmp/temproot/etc/rc after mergemaster, and mergemaster reported that only two files were left to do by hand, which is what I had intended. (ie, groups, master.passwd) But doing a diff between /usr/src/etc/rc (i think) and /etc/rc I saw they were different, copied the file and 10-CURRENT ran perfectly. Waitman Gobble San Jose California USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fwu1cMEpcXHxbyv_5c1WoanZAc-2Ck_Rubb_1Zt%2BiSD2w>