Pkgdb Problem -- /usr/local/sbin/pkgdb:35:in
Kent Stewart
kstewart at owt.com
Sat Feb 28 13:10:15 PST 2004
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
More information about the freebsd-questions
mailing list