Strange issues while upgrading ports

Chris Rees crees at freebsd.org
Fri Nov 25 19:46:55 UTC 2011


On 25 November 2011 15:06, Julian H. Stacey <jhs at berklix.com> wrote:
> Hi,
> Kaya Saman wrote:
>> On 11/25/2011 02:51 PM, Julian H. Stacey wrote:
>> > Kaya Saman wrote:
>> >> Hi,
>> >>
>> >> I'm running FreeBSD version 8.0 x64 edition on my server with multiple
>> >> jails.
>> > <  Detail deleted>
>> >
>> >> Can anyone help with my issues??
>> > 8.0 is too old, November 2009
>> > http://www.freebsd.org/releases/
>> >
>> > 8.0 Is not supported.
>> > http://www.freebsd.org/security/security.html#sup
>> >
>> > My machine ceased to crash when I moved from 8.0 to 8.2,
>> > I seem to recall other problems eased too.
>> >
>> > So upgrade to at least 8.1 !
>> >
>> > If you management are saying stay at `proven' 8.0 rather than 8.2,
>> > think again.
>> >
>> > It's well known that .0 releases can be problematic, which is I
>> > recall why 8.1 has extended support (even beyond 8.2), useful for
>> > those who don't want to keep upgrading.
>> >
>> > Yes, 9.0-RC2 is available for test for those wanting new features,
>> > not for you if you'r still on 8.0. One would expect less stability
>> > from 9.0-RC2 than 8.0.&  no more from 9.0 than 8.0, so go for 8.1
>> > or 8.2 then wait for 9.1 not 9.0.
>> >
>> > Cheers,
>> > Julian
>> How is the upgrade of versions done?
>>
>> I'm sorry I've never done it before; from my linux experience on Debian
>> at least it's a bit messy.
>>
>> I found this:
>>
>> http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
>>
>> So I'm guessing - backup /etc, /var, /usr/local/etc, and /usr/local/var
>>
>> then do:
>>
>> freebsd-update -r 8.2-RELEASE upgrade
>>
>>   freebsd-update install
>>
>>   shutdown -r now
>>
>> freebsd-update install
>>
>> #  portupgrade -f ruby
>> #  rm /var/db/pkg/pkgdb.db
>> #  portupgrade -f ruby18-bdb
>> #  rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
>> #  portupgrade -af
>>
>>   freebsd-update install
>>
>>
>> How will this affect my Jails though? Will I need to rebuild them also?
>>
>> I mean how will I know if everything is the same as before the upgrade
>> but obviously just newer?
>
> Sorry, short of time here, so in brief:
> This the wrong list to ask about upgrades.
> Read http://www.freebsd.org
> I dont personaly keep up to date with latest fancy BSD-specific
>  update scripts (as I've been doing Unix decades, & by reflex
>  make all of src/ & ports/ that I use, but certainly back up etc
>  & var first )
> Others may have more time to add info, but better ask on hackers@
> (or questions@ re upgrades)
>
> I would guess jails from 8.0 would survive on 8.2, Try on a spare box.


This actually looks kinda like an INDEX issue.

# make -C /usr/ports fetchindex

should fix it.  Also, since portupgrade is unmaintained, may I suggest
getting to know portmaster....

Chris


More information about the freebsd-ports mailing list