From owner-freebsd-ports@FreeBSD.ORG Sun Nov 27 04:01:48 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C691065672; Sun, 27 Nov 2011 04:01:47 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id F0EFD8FC12; Sun, 27 Nov 2011 04:01:46 +0000 (UTC) Received: by wwe5 with SMTP id 5so5443203wwe.31 for ; Sat, 26 Nov 2011 20:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mlL0JFssqVO8d0cA1CCjVa+OSa2cMRReM9K2wSfktVo=; b=x5QJGNBIcLu61isOVxytktBrJQtzKFzKXysG88D8T9s5kIXt8760RckOc9XMtYqRXc PaDv3/Ss3nqq6Hz1pHzfCFAZlC8CON7VmGQwvhMqQ/abucv9tX4NNfvoLdKKDKc+AdN+ 92Ug/VNP1ztxN4IU+AWu+2rezBO1jiKvEDHtM= Received: by 10.180.18.165 with SMTP id x5mr39967034wid.24.1322366505997; Sat, 26 Nov 2011 20:01:45 -0800 (PST) Received: from Hp2230s.localhost (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id m13sm163511wbh.0.2011.11.26.20.01.43 (version=SSLv3 cipher=OTHER); Sat, 26 Nov 2011 20:01:44 -0800 (PST) Message-ID: <4ED1B626.8010700@gmail.com> Date: Sun, 27 Nov 2011 06:01:42 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Chris Rees References: <4ECF9B06.1090602@gmail.com> <201111251506.pAPF609d081562@fire.js.berklix.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, "Julian H. Stacey" Subject: Re: Strange issues while upgrading ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 04:01:48 -0000 On 11/25/2011 09:46 PM, Chris Rees wrote: > On 25 November 2011 15:06, Julian H. Stacey 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