Help With Portupgrade/Ports Mess Please

Drew Tomlinson drew at mykitchentable.net
Fri May 2 14:45:15 PDT 2003


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.




More information about the freebsd-questions mailing list