From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 13:10:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1823916A4CE for ; Sat, 28 Feb 2004 13:10:15 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C18C543D2D for ; Sat, 28 Feb 2004 13:10:14 -0800 (PST) (envelope-from kstewart@owt.com) Received: from localhost.invalid (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i1SLAAfH015710; Sat, 28 Feb 2004 13:10:10 -0800 From: Kent Stewart To: Bob Perry Date: Sat, 28 Feb 2004 13:10:12 -0800 User-Agent: KMail/1.6 References: <4040F1C8.3000704@earthlink.net> <200402281159.52983.kstewart@owt.com> <4040FFF1.70003@earthlink.net> In-Reply-To: <4040FFF1.70003@earthlink.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402281310.12233.kstewart@owt.com> cc: freebsd-questions@freebsd.org Subject: Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 21:10:15 -0000 On Saturday 28 February 2004 12:54 pm, Bob Perry wrote: > Kent Stewart wrote: > >On Saturday 28 February 2004 11:53 am, Bob Perry wrote: > >>Hello, > >> > >>I run FreeBSD 4.9 and just ran my weekly CVSup followed by portsdb > >>-uU and portupgrade -arR. I came across the following message > >> which looks similar to one previously posted today. I'm > >> relatively new at this and just question > >>whether or not the previous response is the same for my situation > >>(e.g., delete > >>portupgrade and ruby* and then rebuild portupgrade). BTW, what > >>happens to the > >>ruby files that are removed? > > > >Ruby has been updated to version 1.8. Delete portupgrade and ruby*, > >which will delete all of the ruby-1.6 stuff. This will also delete > > 1.8. You can manually delete all of the ruby-1.6 or relax and let > > the portsytem rebuild it. At an rate, after you have deleted > > portupgrade and the ruby-1.6 ports, you can rebuild portupgrade, > > which will link to ruby-1.8. > > > >Kent > > > >>Thanks, > >>Bob Perry > >> > >>/usr/local/sbin/pkgdb:35:in `require': No such file to load -- > >>pkgtools (LoadError) > >> 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) > >> ! accessibility/gnomemag (gnomemag-0.10.6) (uninstall > >>error) ! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error) ! > >>math/gcalctool (gcalctool-4.3.46) (uninstall error) ! > >>editors/AbiWord2 (AbiWord2-gnome-2.0.3_1) (uninstall error) > > Sorry for being so thick, but I get more than just nervous when using > the delete > command. Do I understand you correctly in that I delete, as in rm, > the portupgrade > files in /usr/ports/sysutils/ directory and also all of the ruby > files in the /usr/ports/ > lang/ directory? No, you can pkg_delete portupgrade pkg_delete 'ruby*' cd /usr/ports/sysutils/portupgrade make install You can see options in the commit message at http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/ruby18/Makefile The pkg_delete of ruby* and portupgrade was the only thing that worked for me. There is a now ruby16 and a ruby18. Portupgrade now uses ruby18. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html