Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
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? 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) -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
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) -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
I had that a similiar problem - it broken portversion. I went and reinstalled it from the ports and everything is well again - you might need to do the same as well. -- - Rilindo Foster http://monzell.com AIM: rilindo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
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? Bob -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
On Sat, Feb 28, 2004 at 03:54:09PM -0500, Bob Perry wrote: 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? You can follow the instructions at http://www.freebsd.org/cgi/getmsg.cgi?fetch=1562140+0+current/cvs-ports from the original commit message. There's probably a more streamlined way of doing the upgrade, but this procedure works pretty smoothly. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
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 First, I deleted portupgrade. Ran into what seemed like a syntax error, but eventually deleted the port. Note the following: ==[EMAIL PROTECTED]:/usr/ports pkg_delete portupgrade pkg_delete: no such package 'portupgrade' installed ==[EMAIL PROTECTED]:/usr/ports pkg_delete portupgrade-\* Next, I deleted all ruby files, with some familiar messages following. ==[EMAIL PROTECTED]:/usr/ports pkg_delete 'ruby*' pkg_delete: unable to completely remove directory '/usr/local/lib/ruby/site_ruby/1.6/i386-freebsd4' pkg_delete: unable to completely remove directory '/usr/local/lib/ruby/site_ruby/1.6' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) pkg_delete: file '/usr/local/bin/erb' doesn't really exist pkg_delete: file '/usr/local/bin/h2rb' doesn't really exist pkg_delete: file '/usr/local/bin/rdoc' doesn't really exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Reinstalled portupgrade. ==[EMAIL PROTECTED]:/usr/ports cd sysutils/portupgrade/ ==[EMAIL PROTECTED]:/usr/ports/sysutils/portupgrade make install snip Warning: Object directory not changed from original /usr/ports/sysutils/portupgrade/work/pkgtools-20040208/bin /usr/local/bin/ruby18 -wc pkg_fetch /usr/local/bin/ruby18:No such file or directory *** Error code 1 Stop in /usr/ports/sysutils/portupgrade/work/pkgtools-20040208/bin. *** Error code 1 Had to run make clean before it would run successfully. Didn't run steps 2-4 of the options in the commit segment since I deleted all of the ruby files at the beginning. Hope no problems result. Just ran portupgrade again to complete what I had started this morning and it ran successfully. I was aware of similar problems others had encountered due to the change in the default version of ruby and read the commit in Fresh Ports. It just didn't register. I saw the phrase, If you are a ruby developer..., and ignored the rest. My bad. Thanks so much for your time and assistance. Bob Perry -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]