Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2003 14:45:10 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Help With Portupgrade/Ports Mess Please
Message-ID:  <031301c310f4$1c456380$6e2a6ba5@tagalong>

next in thread | raw e-mail | index | archive | help
I'm not sure what I've done but I'll describe my symptoms.  I'm running
4.8-RELEASE with a Gnome2 desktop and the dependent ports.  The only
additional ports I've installed are cvsup-without-gui, portupgrade, mplayer,
evolution, galeon, and their dependencies.  Everything was installed by
portupgrade except portupgrade itself.  Everything was running along fine
until I decided to use portupgrade to upgrade my installed ports.

It doesn't seem to matter which port I pick to upgrade, I get the same
result.  In my latest attempt, I tried to upgrade XFree86-libraries-4.3.0_1.
Here is the error:

pkg_delete: package 'XFree86-libraries-4.3.0_1' doesn't have a prefix
** The following packages were not deinstalled (*:skipped / !:failed)
        ! XFree86-libraries-4.3.0_1     (pkg_delete failed)
** The following packages were not installed or upgraded (*:skipped /
!:failed)
        ! x11/XFree86-4-libraries (XFree86-libraries-4.3.0_1)   (uninstall
error)

Now at this point, anything else I try to do with portupgrade tells me that
I have stale dependencies and to run 'pkgdb -f' which I do and get many
messages such as this:

Stale dependency: xenostep-200011270836_1 -> XFree86-libraries-4.3.0_3
(x11/XFree86-4-libraries):
Fixed. (-> XFree86-libraries-4.3.0_1)

And then the process repeats itself no matter what port I try to upgrade.
Another anomoly is that a 'pkg_info' command shows the following in addition
to the normal output:

pkg_info: can't find package 'freetype2-2.1.4' installed or in a file!
pkg_info: can't find package 'glib-1.2.10_8' installed or in a file!
pkg_info: can't find package 'glib-2.2.1' installed or in a file!
pkg_info: can't find package 'libxml2-2.5.6' installed or in a file!
pkg_info: can't find package 'nspr-4.3' installed or in a file!

I've tried removing and reinstalling these ports both within portupgrade and
separately using 'make deinstall', 'make clean', and 'make install' but am
still having these symptoms.

Anyway, if anyone has ideas on what I may have screwed up I'd really like to
know so I can fix my mess and learn something along the way.  But if not I
can remove everything and start over as this is just a box I am playing
with.

Thanks for your suggestions!!!

Drew



I would like to understand what is going on and fix it rather than just
removing everything and starting over.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?031301c310f4$1c456380$6e2a6ba5>