Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 19:46:21 +0000
From:      Chris Rees <crees@freebsd.org>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        ports@freebsd.org, Kaya Saman <kayasaman@gmail.com>
Subject:   Re: Strange issues while upgrading ports
Message-ID:  <CADLo839CYHGgQXiw%2ByA5VogVhmC28oMP18g2njH_hTFLcZa6OA@mail.gmail.com>
In-Reply-To: <201111251506.pAPF609d081562@fire.js.berklix.net>
References:  <4ECF9B06.1090602@gmail.com> <201111251506.pAPF609d081562@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 November 2011 15:06, Julian H. Stacey <jhs@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 multipl=
e
>> >> jails.
>> > < =A0Detail 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.& =A0no 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.htm=
l
>>
>> So I'm guessing - backup /etc, /var, /usr/local/etc, and /usr/local/var
>>
>> then do:
>>
>> freebsd-update -r 8.2-RELEASE upgrade
>>
>> =A0 freebsd-update install
>>
>> =A0 shutdown -r now
>>
>> freebsd-update install
>>
>> # =A0portupgrade -f ruby
>> # =A0rm /var/db/pkg/pkgdb.db
>> # =A0portupgrade -f ruby18-bdb
>> # =A0rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
>> # =A0portupgrade -af
>>
>> =A0 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
> =A0update scripts (as I've been doing Unix decades, & by reflex
> =A0make all of src/ & ports/ that I use, but certainly back up etc
> =A0& 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839CYHGgQXiw%2ByA5VogVhmC28oMP18g2njH_hTFLcZa6OA>