LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-07-2004, 11:37 AM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
Uninstall errors after portupgrade


I first did cvsup to ports, then pkgdb -F and after that I did portupgrade -a. After long compiling I got following error:

What should I do now? Is this bad error?


Code:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

You may run the tests from the PHP test framework, typing 'make test' now.
(It is safe to ignore errors about timestamp-related tests,
since they are due to the different FreeBSD mktime() implementation).

/usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadErr
or)
        from /usr/local/sbin/pkgdb:35
--->  Backing up the old version
--->  Uninstalling the old version
/usr/local/sbin/pkg_deinstall:35:in `require': No such file to load -- pkgtools
(LoadError)
        from /usr/local/sbin/pkg_deinstall:35
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! devel/libtool13 (libtool-1.3.4_4)     (install error)
        * devel/libtool13 (libtool-1.3.5_2)
        ! databases/mysql40-client (mysql-client-4.0.18_1)      (uninstall error
)
        ! devel/libltdl (libltdl-1.5.2) (uninstall error)
        ! security/sudo (sudo-1.6.7.4)  (uninstall error)
        ! www/lynx (lynx-2.8.4.1c)      (uninstall error)
        ! lang/python (python-2.2.2_2)  (uninstall error)
        ! converters/libiconv (libiconv-1.8_2)  (uninstall error)
        ! graphics/png (png-1.2.5_2)    (uninstall error)
        ! databases/mysql40-server (mysql-server-4.0.18_1)      (uninstall error
)
        ! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.0.p2.2003.04.19)       (
uninstall error)
        ! databases/ruby-bdb1 (ruby-bdb1-0.1.9) (uninstall error)
        ! sysutils/portupgrade (portupgrade-20030427)   (uninstall error)
        ! emulators/linux_base (linux_base-7.1_4)       (uninstall error)
        ! archivers/unzip (unzip-5.50)  (uninstall error)
        ! devel/pkgconfig (pkgconfig-0.15.0)    (uninstall error)
        ! lang/ezm3 (ezm3-1.1)  (uninstall error)
        ! print/freetype2 (freetype2-2.1.4_1)   (uninstall error)
        ! x11-fonts/fontconfig (fontconfig-2.2.0)       (uninstall error)
        ! irc/eggdrop (eggdrop-1.6.15_3)        (uninstall error)
        ! devel/glib12 (glib-1.2.10_10) (uninstall error)
        ! graphics/jpeg (jpeg-6b_1)     (uninstall error)
        ! graphics/tiff (tiff-3.5.7)    (uninstall error)
        ! lang/perl5 (perl-5.6.1_13)    (uninstall error)
        ! devel/imake-4 (imake-4.3.0)   (uninstall error)
        ! sysutils/webmin (webmin-1.140_3)      (uninstall error)
        ! devel/glib20 (glib-2.4.1_1)   (uninstall error)
        ! x11/XFree86-4-libraries (XFree86-libraries-4.3.0_5)   (uninstall error                                                                           )
        ! www/links (links-2.1.p9,1)    (uninstall error)
        ! www/apache2 (apache-2.0.49)   (uninstall error)
        ! lang/php4 (php4-4.3.6_1)      (uninstall error)
 
Old 06-07-2004, 11:48 AM   #2
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
pkg_delete portupgrade
pkg_delete 'ruby*'
cd /usr/ports/sysutils/portupgrade
make install

*Should* do the trick... The problem is that your version of ruby has changed and the new ports require version 18.

Next time you do a portupgrade try this first 'portsdb -Uu' then 'portupgrade -aRr'. Also if you are running FreeBSD 5.1 you might want to consider updating your world (http://www.freebsd.org/doc/en_US.ISO...makeworld.html). There have been some significant improvements since 5.1 in the userland.
 
Old 06-08-2004, 07:50 AM   #3
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
One needs to be careful using portupgrade -a, very careful. Depending on where in the ports tree you are when you issue this command, you will upgrade everything!

Why might this be unwise? Because not every package in ports is compatible with every other package.
You will break things. Only install and upgrade what you need. You'll save disk space and headaches.

Cheers--
Charles
 
Old 06-08-2004, 12:40 PM   #4
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Quote:
Why might this be unwise? Because not every package in ports is compatible with every other package.
that is why you add the Rr... I do a cvsup + portupgrade once a week and well freebsd 5.x has been running here and strong for nearly a year...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
portupgrade will not upgrade anything Rhatlinux *BSD 3 04-30-2005 09:06 PM
Can't install portupgrade proton666 *BSD 2 11-14-2004 06:22 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
cvsup vs portupgrade satimis *BSD 7 06-09-2004 10:54 AM
portupgrade proton666 *BSD 6 03-25-2004 11:05 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration