From owner-freebsd-questions@FreeBSD.ORG Fri Oct 12 00:49:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B501E4C for ; Fri, 12 Oct 2012 00:49:29 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 690CA8FC0A for ; Fri, 12 Oct 2012 00:49:29 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1TMTRI-000EEx-Dh; Thu, 11 Oct 2012 20:49:23 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id EAEF116F875E; Thu, 11 Oct 2012 20:49:19 -0400 (EDT) Message-ID: <5077690F.7020703@FreeBSD.org> Date: Thu, 11 Oct 2012 20:49:19 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Stuart Matthews References: <50771338.8040102@islogistics.com> In-Reply-To: <50771338.8040102@islogistics.com> X-Enigmail-Version: 1.4.4 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 00:49:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/11/12 2:43 PM, Stuart Matthews wrote: > Hi everyone, > > I am including as much information in here as I think will be > useful. Since I can do snapshots on VMWare, I am happy to try any > solution or diagnostics. Steps I took to upgrade FreeBSD: Using > freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then, > to upgrade to 9.0-RELEASE, I ran the following commands, using > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html > as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update > install reboot 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 reboot > > I noticed that lots of things weren't working, and specifically > that I was getting lots of complaints about /libexec/ld-elf.so.1. I > also noticed that when I ran freebsd-update IDS, it seemed to > report that every single file had the wrong signature. > > So, this being a VMWare guest, I reluctantly reverted to a > previous snapshot, putting me back at 7.2-RELEASE-p8. > > I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE > to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I > had the same issues as above. As a specific example of errors I > would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo > bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR > > This seems to be the most relevant thread to the problem I'm > having: > http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html > > However, I'd be more comfortable using an official upgrade path, > like freebsd-update, exclusively. That thread involves replacing a > file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting > so many files with incorrect signatures, I feel like my problem is > bigger than fixing one file. > > Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded > to something that is under current support by the security team. > Optimally I'd like to be on 8.3 after looking at the EOL dates. > > Also, I did see one other post _somewhere_ mentioning a similar > proble also on a VMWare guest. So I am suspicious that the problem > might be related to VMWare. > > Thanks, everyone. > > - Stuart Matthews Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB3aQ8ACgkQ0sRouByUApAj2QCgjZZKHLHa04PM3qhtKfwuzJpq D0MAn3uolwsr/ukwGSxLXK42410IfMt8 =JiOa -----END PGP SIGNATURE-----