Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 10:55:56 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        FreeBSD Q ML <freebsd-questions@freebsd.org>
Subject:   Re: portupgrade install problem
Message-ID:  <20051209075556.GM99618@ns2.wananchi.com>
In-Reply-To: <A0E4E69BEDA4FF942CB7ED7B@[192.168.10.249]>
References:  <638FF3BA82D750039C5A6CBB@[192.168.10.249]> <20051209063307.GE99618@ns2.wananchi.com> <A0E4E69BEDA4FF942CB7ED7B@[192.168.10.249]>

next in thread | previous in thread | raw e-mail | index | archive | help
* On 09/12/05 08:51 +0100, Sasa Stupar wrote:
> 
> 
> --On 9. december 2005 9:33 +0300 Odhiambo Washington <wash@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

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Avoid reality at all costs.



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