Unable to upgrade packages on FreeBSD

Waitman Gobble gobble.wa at gmail.com
Thu Feb 2 14:42:43 UTC 2012


On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson <bah at 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 at 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 at freebsd.org <freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list