On Thu, Nov 22, 2007 at 02:09:04PM -0500, Nick Guenther wrote:
> On 11/22/07, Pieter Verberne <[EMAIL PROTECTED]> 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").
> > Collision: the following files already exist
> > /usr/local/bin/gnome-doc-prepare (same md5)
> > /usr/local/share/xml2po/xhtml.pyc (same md5)
> > etc, etc, etc...
> > /usr/sbin/pkg_add: fatal issues in installing gnome-doc-utils-0.10.3p2
> > $
> >
> > The Perl error just appeared today but it is no big deal for me right
> > now. My problem is that I can't find any way in pkg_add(1) for dealing
> > with this. There are just to many collision files to remove manually and
> > I don't know how te make a script wich automaticly removes all these files.
> >
> > How should I handle this?
>
> First, how did this happen? Is the package system out of sync, or did
> you have a failed install?
I'm not sure but my system might be out of sync. I read the faq and some other
guides but the package system kept vague for me. I install current +/- 8
months ago. I never got any problem with the package system till, lets
say, 4.2 release came out. Becaulse of these kind (and other) errors I
tried the "Following -current" manual. But is it possible to download a
new snapshot bootalble cd image and upgrade by booting the cd? That
would be much easier for me:-) I think pkg_add isn't able to upgrade the
core/userland system (exept for manually install apps), isn't it?
*sigh* sometimes I feel so, well, newby. (No, I don't have low self
esteem)
> Second, to deal with it: make a script to automatically remove the
> files. Just pipe the output to a file, go in with your favourite
> editor and delete everything before and after the filelists, and then
> replace " (same md5)" with "", and then for file in `cat files`; do rm
> file; done
> Or just rm every file it lists by hand?
Someone send me a private mail with a semi-working answer:
sudo pkg_add gnome-doc-utils | grep 'same md5' | \
cut -d'(' -f1 | sed 's/^/echo sudo rm /'
I was adviced to paste the input in my term. I changed this to:
sudo pkg_add gnome-doc-utils | grep 'same md5' | cut -d'(' -f1 | sed 's/^/sudo
rm /'
(removed 'echo')
This does the job fine, exept for the pasting part. But after a few
times getting a big mess on my term, I deleted all the files:-)
So, what is you advice to do with this:?
$ sudo pkg_add -v grip
Error from
ftp://ftp.calyx.nl/pub/OpenBSD/snapshots/packages/i386/grip-3.2.0p7.tgz:
550 grip-3.2.0p7.tgz: No such file or directory.
Error from
ftp://ftp.calyx.nl/pub/OpenBSD/snapshots/packages/i386/grip-3.2.0p7.tgz:
550 grip-3.2.0p7.tgz: No such file or directory.
Error from
ftp://ftp.calyx.nl/pub/OpenBSD/snapshots/packages/i386/grip-3.2.0p7.tgz:
550 grip-3.2.0p7.tgz: No such file or directory.
Error from
ftp://ftp.calyx.nl/pub/OpenBSD/snapshots/packages/i386/grip-3.2.0p7.tgz:
550 grip-3.2.0p7.tgz: No such file or directory.
parsing grip-3.2.0p7
Dependencies for grip-3.2.0p7 resolve to: gettext-0.16.1,
cdparanoia-3.a9.8p0, yelp-2.18.1p1, curl-7.17.0, libiconv-1.9.2p4,
libgnomeui-2.20.1.1, vorbis-tools-1.1.1p2, vte-0.16.9p0, id3lib-3.8.3p2
(todo: libgnomeui-2.20.1.1,yelp-2.18.1p1)
grip-3.2.0p7:parsing libgnomeui-2.20.1.1
Dependencies for libgnomeui-2.20.1.1 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libgnome-2.20.1.1, libgnomecanvas-2.20.1.1,
gnome-keyring-2.20.1, libbonoboui-2.20.0 (todo:
libbonoboui-2.20.0,libgnome-2.20.1.1)
grip-3.2.0p7:parsing libbonoboui-2.20.0
Dependencies for libbonoboui-2.20.0 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libgnome-2.20.1.1, libgnomecanvas-2.20.1.1,
popt-1.7p0, desktop-file-utils-0.14p0 (todo: libgnome-2.20.1.1)
grip-3.2.0p7:parsing libgnome-2.20.1.1
Dependencies for libgnome-2.20.1.1 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libaudiofile-0.2.6p0, esound-0.2.34p1v0,
libbonobo-2.18.0, gnome-vfs2-2.20.1, popt-1.7p0 (todo:
gnome-vfs2-2.20.1)
grip-3.2.0p7:parsing gnome-vfs2-2.20.1
Dependencies for gnome-vfs2-2.20.1 resolve to: bzip2-1.0.4,
gettext-0.16.1, cdparanoia-3.a9.8p0, gconf2-2.18.0.1,
gnome-mime-data-2.18.0, fam-2.7.0p2, libxml-2.6.30, libiconv-1.9.2p4,
ORBit2-2.14.7, dbus-glib-0.73p0
Can't install gnome-vfs2-2.20.1: lib not found ORBit-2.3.0
Dependencies for gnome-vfs2-2.20.1 resolve to: bzip2-1.0.4,
gettext-0.16.1, cdparanoia-3.a9.8p0, gconf2-2.18.0.1,
gnome-mime-data-2.18.0, fam-2.7.0p2, libxml-2.6.30, libiconv-1.9.2p4,
ORBit2-2.14.7, dbus-glib-0.73p0
Full dependency tree is
gettext-0.16.1,glitz-0.5.6p0,glib2-2.14.2p0,png-1.2.22,fam-2.7.0p2,libxml-2.6.30,libIDL-0.8.8p0,dbus-glib-0.73p0,bzip2-1.0.4,cdparanoia-3.a9.8p0,pcre-7.4,dbus-1.0.2p1,jpeg-6bp3,gconf2-2.18.0.1,tiff-3.8.2p0,atk-1.20.0p0,gnome-mime-data-2.18.0,hicolor-icon-theme-0.10p0,libiconv-1.9.2p4,ORBit2-2.14.7,pango-1.18.3p0,gtk+2-2.12.1p0,cairo-1.4.10
ORBit-2.3.0: partial match in /usr/local/lib: major=2, minor=0 (bad
major)
found libspec bz2.10.4 in package bzip2-1.0.4
found libspec c.42.0 in /usr/lib
found libspec cdda_interface.0.0 in package cdparanoia-3.a9.8p0
found libspec cdda_paranoia.0.0 in package cdparanoia-3.a9.8p0
found libspec crypto.13.0 in /usr/lib
found libspec dbus-1.6.0 in package dbus-1.0.2p1
found libspec dbus-glib-1.3.0 in package dbus-glib-0.73p0
found libspec fam.0.0 in package fam-2.7.0p2
Can't install gnome-vfs2-2.20.1: lib not found gconf-2.6.0
gconf-2.6.0: partial match in /usr/local/lib: major=5, minor=2 (bad
major)
found libspec glib-2.0.1400.0 in package glib2-2.14.2p0
found libspec gmodule-2.0.1400.0 in package glib2-2.14.2p0
found libspec gobject-2.0.1400.0 in package glib2-2.14.2p0
found libspec gthread-2.0.1400.0 in package glib2-2.14.2p0
found libspec iconv.4.0 in package libiconv-1.9.2p4
found libspec intl.4.0 in package gettext-0.16.1
found libspec m.2.3 in /usr/lib
found libspec pcre.2.0 in package pcre-7.4
found libspec pthread.8.0 in /usr/lib
found libspec rpcsvc.1.0 in /usr/lib
found libspec ssl.11.0 in /usr/lib
found libspec stdc++.44.0 in /usr/lib
found libspec util.11.0 in /usr/lib
found libspec xml2.9.7 in package libxml-2.6.30
found libspec z.4.1 in /usr/lib
Can't install libgnome-2.20.1.1: can't resolve gnome-vfs2-2.20.1
Can't install libbonoboui-2.20.0: can't resolve libgnome-2.20.1.1
Can't install libgnome-2.20.1.1: can't resolve gnome-vfs2-2.20.1
Can't install libgnomeui-2.20.1.1: can't resolve
libgnome-2.20.1.1,libbonoboui-2.20.0
grip-3.2.0p7:parsing yelp-2.18.1p1
Dependencies for yelp-2.18.1p1 resolve to: gettext-0.16.1,
startup-notification-0.9, libiconv-1.9.2p4, docbook-dsssl-1.72,
xulrunner-1.8.1.6p1, libxslt-1.1.22, libgnomeui-2.20.1.1,
gnome-doc-utils-0.10.3p2, gnome2-user-docs-2.18.1, scrollkeeper-0.3.14p4
(todo: libgnomeui-2.20.1.1)
grip-3.2.0p7:parsing libgnomeui-2.20.1.1
Dependencies for libgnomeui-2.20.1.1 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libgnome-2.20.1.1, libgnomecanvas-2.20.1.1,
gnome-keyring-2.20.1, libbonoboui-2.20.0 (todo:
libbonoboui-2.20.0,libgnome-2.20.1.1)
grip-3.2.0p7:parsing libbonoboui-2.20.0
Dependencies for libbonoboui-2.20.0 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libgnome-2.20.1.1, libgnomecanvas-2.20.1.1,
popt-1.7p0, desktop-file-utils-0.14p0 (todo: libgnome-2.20.1.1)
grip-3.2.0p7:parsing libgnome-2.20.1.1
Dependencies for libgnome-2.20.1.1 resolve to: gettext-0.16.1,
libiconv-1.9.2p4, libaudiofile-0.2.6p0, esound-0.2.34p1v0,
libbonobo-2.18.0, gnome-vfs2-2.20.1, popt-1.7p0 (todo:
gnome-vfs2-2.20.1)
grip-3.2.0p7:parsing gnome-vfs2-2.20.1
Dependencies for gnome-vfs2-2.20.1 resolve to: bzip2-1.0.4,
gettext-0.16.1, cdparanoia-3.a9.8p0, gconf2-2.18.0.1,
gnome-mime-data-2.18.0, fam-2.7.0p2, libxml-2.6.30, libiconv-1.9.2p4,
ORBit2-2.14.7, dbus-glib-0.73p0
Can't install gnome-vfs2-2.20.1: lib not found ORBit-2.3.0
Dependencies for gnome-vfs2-2.20.1 resolve to: bzip2-1.0.4,
gettext-0.16.1, cdparanoia-3.a9.8p0, gconf2-2.18.0.1,
gnome-mime-data-2.18.0, fam-2.7.0p2, libxml-2.6.30, libiconv-1.9.2p4,
ORBit2-2.14.7, dbus-glib-0.73p0
Full dependency tree is
gettext-0.16.1,glitz-0.5.6p0,glib2-2.14.2p0,png-1.2.22,fam-2.7.0p2,libxml-2.6.30,libIDL-0.8.8p0,dbus-glib-0.73p0,bzip2-1.0.4,cdparanoia-3.a9.8p0,pcre-7.4,dbus-1.0.2p1,jpeg-6bp3,gconf2-2.18.0.1,tiff-3.8.2p0,atk-1.20.0p0,gnome-mime-data-2.18.0,hicolor-icon-theme-0.10p0,libiconv-1.9.2p4,ORBit2-2.14.7,pango-1.18.3p0,gtk+2-2.12.1p0,cairo-1.4.10
ORBit-2.3.0: partial match in /usr/local/lib: major=2, minor=0 (bad
major)
found libspec bz2.10.4 in package bzip2-1.0.4
found libspec c.42.0 in /usr/lib
found libspec cdda_interface.0.0 in package cdparanoia-3.a9.8p0
found libspec cdda_paranoia.0.0 in package cdparanoia-3.a9.8p0
found libspec crypto.13.0 in /usr/lib
found libspec dbus-1.6.0 in package dbus-1.0.2p1
found libspec dbus-glib-1.3.0 in package dbus-glib-0.73p0
found libspec fam.0.0 in package fam-2.7.0p2
Can't install gnome-vfs2-2.20.1: lib not found gconf-2.6.0
gconf-2.6.0: partial match in /usr/local/lib: major=5, minor=2 (bad
major)
found libspec glib-2.0.1400.0 in package glib2-2.14.2p0
found libspec gmodule-2.0.1400.0 in package glib2-2.14.2p0
found libspec gobject-2.0.1400.0 in package glib2-2.14.2p0
found libspec gthread-2.0.1400.0 in package glib2-2.14.2p0
found libspec iconv.4.0 in package libiconv-1.9.2p4
found libspec intl.4.0 in package gettext-0.16.1
found libspec m.2.3 in /usr/lib
found libspec pcre.2.0 in package pcre-7.4
found libspec pthread.8.0 in /usr/lib
found libspec rpcsvc.1.0 in /usr/lib
found libspec ssl.11.0 in /usr/lib
found libspec stdc++.44.0 in /usr/lib
found libspec util.11.0 in /usr/lib
found libspec xml2.9.7 in package libxml-2.6.30
found libspec z.4.1 in /usr/lib
Can't install libgnome-2.20.1.1: can't resolve gnome-vfs2-2.20.1
Can't install libbonoboui-2.20.0: can't resolve libgnome-2.20.1.1
Can't install libgnome-2.20.1.1: can't resolve gnome-vfs2-2.20.1
Can't install libgnomeui-2.20.1.1: can't resolve
libgnome-2.20.1.1,libbonoboui-2.20.0
Can't install yelp-2.18.1p1: can't resolve libgnomeui-2.20.1.1
Can't install grip-3.2.0p7: can't resolve
yelp-2.18.1p1,libgnomeui-2.20.1.1
$