portupgrade install problem

Sasa Stupar sasa at stupar.homelinux.net
Fri Dec 9 00:43:55 PST 2005



--On 9. december 2005 10:55 +0300 Odhiambo Washington <wash at wananchi.com> 
wrote:

> * On 09/12/05 08:51 +0100, Sasa Stupar wrote:
>>
>>
>> --On 9. december 2005 9:33 +0300 Odhiambo Washington <wash at wananchi.com>
>> wrote:
>>
>> > * On 08/12/05 20:00 +0100, Sasa Stupar wrote:
>> >> Hi!
>> >>
>> >> I am trying to install portupgrade from the ports collection on my
>> >> FBSD 5.4. But it keeps giving me error about db43 allready installed:
>> >> ------------
>> >># make install
>> >> ===>  Installing for portupgrade-20041226_8
>> >> ===>   portupgrade-20041226_8 depends on file:
>> >> /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found
>> >> ===>    Verifying install for
>> >> /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in
>> >> /usr/ports/databases/ruby-bdb
>> >> ===>   ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 -
>> >> found ===>   ruby18-bdb43-0.5.3 depends on shared library: db43 - not
>> >> found ===>    Verifying install for db43 in /usr/ports/databases/db43
>> >> ===>  Installing for db43-4.3.29
>> >> ===>   Generating temporary packing list
>> >> ===>  Checking if databases/db43 already installed
>> >> pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded
>> >> pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded
>> >> pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded
>> >> pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded
>> >> pkg_info: package bsdpan-URI-1.35 has no origin recorded
>> >> ===>   db43-4.3.29 is already installed
>> >>     You may wish to ``make deinstall'' and install this port again
>> >>     by ``make reinstall'' to upgrade it properly.
>> >>     If you really wish to overwrite the old port of databases/db43
>> >>     without deleting it first, set the variable "FORCE_PKG_REGISTER"
>> >>     in your environment or the "make install" command line.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/ports/databases/db43.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/ports/databases/ruby-bdb.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/ports/sysutils/portupgrade.
>> >> -----------
>> >> Yes, I have db43 allready installed but isn't it suppose to pass it if
>> >> it  finds package allready installed?
>> >
>> > Hello Sasa,
>> >
>> > You have two options around this, I think;
>> >
>> > portupgrade -m FORCE_PKG_REGISTER=1
>> >
>> > or add
>> >
>> > FORCE_PKG_REGISTER=yes to /etc/make.conf
>> >
>> > HTH
>> >
>> >
>> > -Wash
>> >
>>
>> I have put in make.conf to force pkg register and now when I make
>> install I  get an error:
>> ---------
>> ===>   Registering installation for db43-4.3.29
>> ===>   Returning to build of ruby18-bdb43-0.5.3
>> Error: shared library "db43" does not exist
>> *** Error code 1
>>
>> Stop in /usr/ports/databases/ruby-bdb.
>> *** Error code 1
>>
>> Stop in /usr/ports/sysutils/portupgrade.
>> ----------
>>
>> It looks like it can't find db43 on my system.
>> Anything else I could try?
>
>
> I wonder what command you are running ;)
>
>
> -Wash
>

# cd /usr/ports/sysutils/portupgrade && make install clean
===>  Installing for portupgrade-20041226_8
===>   portupgrade-20041226_8 depends on file: 
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found
===>    Verifying install for 
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in 
/usr/ports/databases/ruby-bdb
===>   ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found
===>   ruby18-bdb43-0.5.3 depends on shared library: db43 - not found
===>    Verifying install for db43 in /usr/ports/databases/db43
===>   Returning to build of ruby18-bdb43-0.5.3
Error: shared library "db43" does not exist
*** Error code 1

Stop in /usr/ports/databases/ruby-bdb.
*** Error code 1

Stop in /usr/ports/sysutils/portupgrade.


-Sasa


More information about the freebsd-questions mailing list