Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 18:49:16 +0200 (CEST)
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        "Bob Perry" <rperry@gti.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Solution: Unable to decipher error "ELF binary type 3 not  known"
Message-ID:  <53932.192.168.1.20.1119804556.squirrel@webmail.thilelli.net>
In-Reply-To: <1119804132.831.35.camel@homey.my.domain>
References:  <1119335564.80965.39.camel@homey.my.domain>  <42B81F9B.50608@celeritystorm.com>  <28717.145.248.192.30.1119363225.squirrel@webmail.thilelli.net>  <1119409452.80965.63.camel@homey.my.domain> <1119804132.831.35.camel@homey.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
>> I ran portupgrade -f linux_base-8 successfully and then ran portupgrade
>> -arR.  The system reports stale dependencies and suggest I manually run
>> pkgdb -F to fix which I do.  The first line of output reads:
>> 	Stale dependency: acroread-5.10_1,1 -> linux-expat-1.95.5_2
>> 	(textproc/linux-expat):
>> 	linux-fontconfig-2.1_2 (score:31%) ? ([y]es/[n]o/[a]ll)
>>
>> If I understand Michael Lucas' "Cleaning Up Ports", acroread has
>> recorded linux-expat-1.95.5_2 as a dependency but linux-fontconfig-2.1_2
>> is installed and it's asking if I want to have the entry in /var/db/pkg
>> point to linux-fontconfig-2.1_2 as the correct dependency.  And the
>> answer is, "Damned if I know."

> As previously mentioned, I resolved the original error:
> 	ELF binary type "3" not known
> by reinstalling linux_base-8 as recommended.  Not sure about this issue
> but I will research further.  Thanks again.
>
> The stale dependency issue was another story.  I discovered, through
> comparing the dependency output from pkg_info -rR against the actual
> list of dependency data that some of the dependent files were missing.
> (I'm sure I must have deleted them inadvertently).  Once they were
> identified and reinstalled everything was as it should have been.
> I don't know if this is a bug in the program or just me.  At least now I
> know my next steps when I see a stale dependency prompt requesting me to
> choose between two apparently non-related packages.

I think in this particular case, a forced upgrade/reinstall of the targeted
port and its dependancies must be all what you wanted:
 # portupgrade -rRf acroread5   /* Or what the _name_ of the package is */

-- 
-jpeg.




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