From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 14:13:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C659516A41C for ; Tue, 21 Jun 2005 14:13:54 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A16B43D58 for ; Tue, 21 Jun 2005 14:13:53 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 357797305B; Tue, 21 Jun 2005 16:13:50 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 43333-04-8; Tue, 21 Jun 2005 16:13:45 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 646377303E; Tue, 21 Jun 2005 16:13:45 +0200 (CEST) Received: from 145.248.192.30 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Tue, 21 Jun 2005 16:13:45 +0200 (CEST) Message-ID: <28717.145.248.192.30.1119363225.squirrel@webmail.thilelli.net> In-Reply-To: <42B81F9B.50608@celeritystorm.com> References: <1119335564.80965.39.camel@homey.my.domain> <42B81F9B.50608@celeritystorm.com> Date: Tue, 21 Jun 2005 16:13:45 +0200 (CEST) From: "Julien Gabel" To: user@celeritystorm.com User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Cc: freebsd-questions@freebsd.org Subject: Re: Unable to decipher error "ELF binary type 3 not known" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jpeg@thilelli.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 14:13:54 -0000 >> Cvsup'd system last weekend but was unable to complete portupgrade due >> to following error: >> ELF binary type "3" not known >> execution of expat-1.95.5_2 script failed, exit status 255 >> ELF binary type "3" not known >> /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected >> *** Error code 2 >> >> Stop in /usr/ports/textproc/linux-expat. >> *** Error code 1 >> >> The error apears while system is upgrading linux-expat-1.95.5_2 to >> linux-expat-1.95.5_3. The error continues: >> Stop in /usr/ports/textproc/linux-expat. >> ** Command failed [exitcode 1]: /usr/bin/script >> -qa /tmp/portupgrade80885.59 make reinstall >> egrep: /var/db/pkg/linux-expat-1.95.5_2/+CONTENTS: No such file >> or directory >> ---> Restoring the old version >> ** Fix the installation problem and try again. >> >> Tried to deinstall/reinstall linux-expat-1.95.5_3 but received same >> error. When I ran portupgrade -arR again, I received a Stale dependency >> error recommending I manually run pkgdb -F to fix, or specify -O to >> force. I run pkgdb -F and each package which had been skipped earlier >> in the upgrade due to the original error now appear in Stale dependency >> scripts asking if I want to replace linux-expat-1.95.5_2. The "score" >> in the first stale dependency issue is only 31%. Nothing confuses me >> more than dealing with stale dependencies so I tried reviewing mail >> archives and googling for an answer. >> >> Does anyone have any ideas as to how I can resolve this error? >> >> FreeBSD 5.4-RELEASE #0. > Have you installed linux_base-8 ? kernel module (linux.ko) loaded ? Forcing the reinstall of linux_base must solve this problem: # portupgrade -f linux_base -- -jpeg.