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

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/25/2011 09:46 PM, Chris Rees wrote:
> 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 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

I tried that and it didn't help :-(

I also just performed a version upgrade to 8.2 and still get the same 
errors?

After running portsnap fetch; portsnap update; then portupgrade -a I get 
these errors:

** Listing the failed packages (-:ignored / *:skipped / !:failed)
     - devel/automake110 (marked as IGNORE)
     - devel/automake15 (marked as IGNORE)
     - devel/automake19 (marked as IGNORE)
     - devel/libltdl22 (marked as IGNORE)
     - audio/libmpcdec (marked as IGNORE)
     - multimedia/mpeg4ip-libmp4v2 (marked as IGNORE)
     - archivers/xz (marked as IGNORE)
     ! www/squid (squid-2.7.7)    (linker error)
     ! www/apache22 (apache-2.2.13)    (install error)
     * www/mod_python3 (mod_python-3.3.1_2)
     * lang/php5 (php5-5.2.11)
     * databases/php5-mysql (php5-mysql-5.2.11)
     * audio/mpg123 (mpg123-1.9.0)
     ! mail/mutt (mutt-1.4.2.3_3)    (linker error)
     * textproc/php5-xml (php5-xml-5.2.11)
     * converters/php5-mbstring (php5-mbstring-5.2.11)
     * audio/xmms2 (xmms2-0.6_1)
     ! x11-toolkits/gtk20 (gtk-2.16.6)    (configure error)
     * math/php5-bcmath (php5-bcmath-5.2.11)
     * lang/php5 (php5-pcre-5.2.11)
     * textproc/php5-simplexml (php5-simplexml-5.2.11)
     * lang/php5 (php5-spl-5.2.11)
     * audio/oss (oss-4.2.b2000)
     * net-mgmt/php5-snmp (php5-snmp-5.2.11)
     * net/php5-sockets (php5-sockets-5.2.11)
     * databases/adodb (adodb-4.99.1)
     * graphics/php5-gd (php5-gd-5.2.11)
     * www/php5-session (php5-session-5.2.11)
     * net-mgmt/cacti (cacti-0.8.7g)
     * databases/php5-sqlite (php5-sqlite-5.2.11)


Checking the **INDEX** this is the output:

# pkg_version -Iv | grep updating
adodb-4.99.1 <   needs updating (index has 4.99.2)
apache-2.2.13 <   needs updating (index has 2.2.21)
cacti-0.8.7g <   needs updating (index has 0.8.7h)
gtk-2.16.6 <   needs updating (index has 2.24.6)
mod_python-3.3.1_2 <   needs updating (index has 3.3.1_3)
mpg123-1.9.0 <   needs updating (index has 1.13.4)
mutt-1.4.2.3_3 <   needs updating (index has 1.4.2.3_6)
oss-4.2.b2000 <   needs updating (index has 4.2.b2005)
php5-5.2.11 <   needs updating (index has 5.3.8)
php5-bcmath-5.2.11 <   needs updating (index has 5.3.8)
php5-gd-5.2.11 <   needs updating (index has 5.3.8)
php5-mbstring-5.2.11 <   needs updating (index has 5.3.8)
php5-mysql-5.2.11 <   needs updating (index has 5.3.8)
php5-session-5.2.11 <   needs updating (index has 5.3.8)
php5-simplexml-5.2.11 <   needs updating (index has 5.3.8)
php5-snmp-5.2.11 <   needs updating (index has 5.3.8)
php5-sockets-5.2.11 <   needs updating (index has 5.3.8)
php5-sqlite-5.2.11 <   needs updating (index has 5.3.8)
php5-xml-5.2.11 <   needs updating (index has 5.3.8)
squid-2.7.7 <   needs updating (index has 2.7.9_1)
xmms2-0.6_1 <   needs updating (index has 0.7_2)



# pkg_version -Iv | grep failed
autoconf-2.62                       !   Comparison failed
automake-1.10.1                     !   Comparison failed
automake-1.5_5,1                    !   Comparison failed
automake-1.9.6_3                    !   Comparison failed
bind9-9.3.6.1.1                     !   Comparison failed
drupal5-5.20                        !   Comparison failed
libltdl-2.2.6a                      !   Comparison failed
libmpcdec-1.2.6                     !   Comparison failed
mpeg4ip-libmp4v2-1.6.1              !   Comparison failed
php5-pcre-5.2.11                    !   Comparison failed
php5-spl-5.2.11                     !   Comparison failed
rsyslog-2.0.7                       !   Comparison failed
torrentflux-2.0.b1                  !   Comparison failed
zabbix-1.6.6,1                      !   Comparison failed



Here's the new BSD version info:

# uname -a
FreeBSD Server 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 
18:45:57 UTC 2011     
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED1B626.8010700>