On Sat, Nov 24, 2007 at 10:53:51AM +0100, Marc Espie wrote:
> On Thu, Nov 22, 2007 at 11:31:30AM +0100, Pieter Verberne wrote:
> > 
> > I'm trying to install gnome-doc-utils :
> > 
> > $ sudo pkg_add gnome-doc-utils
> > perl: warning: Setting locale failed.
> > perl: warning: Please check that your locale settings:
> >         LC_ALL = (unset),
> >         LC_CTYPE = "en_US.UTF-8",
> >         LANG = (unset)
> >     are supported and installed on your system.
> > perl: warning: Falling back to the standard locale ("C").
> We don't have support for UTF8 yet, and perl sees that. It's just an innocuous
> warning.
> 
> > Collision: the following files already exist
> >         /usr/local/bin/gnome-doc-prepare (same md5)
> >         etc, etc, etc...
> > /usr/sbin/pkg_add: fatal issues in  installing gnome-doc-utils-0.10.3p2
> > $
> 
> So, it definitely looks like you've got gnome-doc-utils installed already
> (or most of it). Did you look at installed your package list ? 
> check for gnome-doc-utils-*, or partial-gnome-doc-utils-* in case something
> went wrong.
I have installed the package before indeed. However, it was not installed at the
moment I run pkg_add.
 
> It is totally *impossible* that you've got those files on this computer
> without having already tried to install this package (voluntarily, or
> by accident): just look at this report, you've got loads of files with the
> same md5, so they come from the same package.
True.

> The package should say it's already installed if it is, and should say there's
> a conflict with a partial-* of the same name. I don't know how you did it,
> but something very wrong happened here. Did you erase /var/db/pkg ?
> did you get an error message from a pkg_add you didn't read and went forward
> anyways ?
I don't know how I did this either. Can I always erase /var/db/pkg safly?

However, I think I'm doing a new install soon, and then try to keep my
package managemet system clean:-)

Pieter

Reply via email to