Kris Kennaway <[EMAIL PROTECTED]> wrote: On Mon, Sep 04, 2006 at 04:52:08AM -0700, Dr. Jennifer Nussbaum wrote:
> > For example if i try to run "portversion" i get: > > > > undefined method `each' for nil:NilClass > > /usr/local/sbin/portversion:239: [BUG] Bus Error > > > > from Ruby (ruby 1.8.5 is up to date on the system). > > :> pkgdb -f > > ~ $ sudo pkgdb -f > ~ $ portversion > undefined method `each' for nil:NilClass > /usr/local/sbin/portversion:239: [BUG] Bus Error > ruby 1.8.5 (2006-08-25) [i386-freebsd4] > > Abort trap (core dumped) > ~ $ ::>Check the manpage, probably I meant pkgdb -fu Sorry, i dont understand what im checking hte manpage to have it do. Running pkgdb -fu does rebuild the package database, but i get the same Bus Error thing from Ruby as above. > > If i try to run "pkg_info" I quickly get: > > > > pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*' > > :> Deinstall the package that was built for a later version of > :> FreeBSD. > > KrisHow do i tell which this is? Most of this box seems to be compiled > from ports, not installed packages. apache+ipv6 is not installed. > > ~ $ pkg_info > ImageMagick-nox11-6.0.2.7 Image processing tools > analog-6.0_1,1 An extremely fast program for analysing WWW logfiles > pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*' > ~ ::>grep -r @conflicts /var/db/pkg and remove all listed packages. Kris Which listed packages? The output of this grep looks like: /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-3.* /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-4.[02-9].* /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-5.* But i dont want to remove mysql-server-4.1.20, because this seems to be the version that is actively running on this machine, and i dont want to disable it. Same for apache+mod_ssl, which accounts for alot of the other conflicts. Also, when i try to delete one of the ports that seemed less critical, even that didnt work: ~ $ sudo pkg_delete -f jade-1.2.1_9 pkg_delete: package 'jade-1.2.1_9' is required by these other packages and may not be deinstalled (but I'll delete it anyway): sgmlformat-1.7_2 pkg_delete: read_plist: bad command '@conflicts sp-1.*' ~ ...and jade-1.2.1_9 is still there. Thank you again for your continued attention, Kris. Jen __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"