dri install failing with portmanager

Michael C. Shultz reso3w83 at verizon.net
Thu Dec 23 19:55:30 PST 2004

On Thursday 23 December 2004 07:12 pm, you wrote:
> sending the portInstalled.dri.log
> also here is the error'ed output:
> --- snip ---
> pmupgrade 0.2.0_3 command: #3  ( cd /tmp; pkg_create -b
> xfree86-dri-4.4.0 ) ------------------------------------------------
> pkg_create: can't find package 'xfree86-dri-4.4.0' installed!
> ------------------------------------------------
> cd /usr/ports/graphics/xfree86-dri; make deinstall
> ===>  Deinstalling for graphics/xfree86-dri
> ===>   xfree86-dri not installed, skipping
> ------------------------------------------------
> cd /usr/ports/graphics/xfree86-dri; make reinstall
> ===>  Installing for xfree86-dri-4.4.0
> ===>  xfree86-dri-4.4.0 conflicts with installed package(s):
>       dri-6.2,2
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
> Stop in /usr/ports/graphics/xfree86-dri.
> *** Error code 1
> Stop in /usr/ports/graphics/xfree86-dri.
> pmupgrade 0.2.0_3 error: make reinstall returned an error, cannot
> continue
> --- snip ---
> cheers,
> Noah

OK, acording to the log you attached:


dri-6.2,2 is still installed, you need to do

pkg_delete -f dri-6.2,2 

and then make sure /var/db/pkg/dri-6.2,2
is gone. 

With the information you provided I can duplicate the looping
problem so now I can make a modification to portmanager to
handle it better.  Hopefully when its done portmanager will
exit with an error message that tells which package needs to be
manually deleted and why it needs to be deleted.  So thanks for your 
help here!  That will be portmanager-0.2.1_1 or portmanager-0.2.2
and will probably be about a week before it is in the port tree.

Mean while I am hoping you understand what needs to be done when
this looping problem occurs, let me know how it goes with dri-6.2,2,
if for sime reason pkg_delete -f dri-6.2,2 won't get rid of it you can 
always rm -r /var/db/pkg/dri-6.2,2 but that leads to another problem,
the files from dri-6.2,2 would still be installed on your system but not
attached to any port, so rm -r /var/db/pkg/dri-6.2,2 is a very sloppy 
solution, try to avoid it if you can.


ps. One final thing Noah, I prefer to keep this on list so others with 
similar problems can find it with google so please cc 
freebsd-questions at freebsd.org in your replies.

More information about the freebsd-questions mailing list