portupgrade failure [solved]
bsd
bsd at todoo.biz
Thu Feb 1 09:26:08 UTC 2007
Ok,
I found a solution. I had the same problem as described below.
I am using portsnap so :
# portsnap fetch
# portsnap update
# cd /usr/ports/sysutils/portupgrade
# make deinstall; make install clean
This will install version portupgrade-2.2.2_2,2 which corrects the bug.
Sincerly yours.
Le 1 févr. 07 à 07:37, FreeBSD MailingLists a écrit :
> I am having the same problem.
> I have tried the "make fetchindex" approach but it doesn't solve it
> for me.
> you mentioned something about /usr/ports/UPDATING, but was unable
> to find
> a relevant entry.
> can you please tell me the entry date that helped you with this
> problem?
>
> Thank you,
> Tomoki Taniguchi
>
>
> [root at localhost ~]$portupgrade -rRviy f-prot clamav mail/mailscanner
> ---> Session started at: Thu, 01 Feb 2007 15:04:14 +0900
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 173
> packages
> found (-1 +1) (...). done]
> ** No such installed package: mail/mailscanner
> [missing key: categories] [Updating the portsdb <format:bdb_btree> in
> /usr/ports ... - 16413 port entries found
> .........
> 1000.........2000.........3000.........4000.........5000.........6000.
> ........
> 7000.........8000.........9000.........10000.........11000.........120
> 00.........13000.........14000.........15000.........16000....
> ..... done]
> missing key: categories: Cannot read the portsdb!
> ---> Session ended at: Thu, 01 Feb 2007 15:04:33 +0900 (consumed
> 00:00:18)
> /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db':
> database file
> error (PortsDB::DBError)
> from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
> from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in
> `all_depends_list'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in
> `tsort_build'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in
> `tsort_build'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in
> `sort_build'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in
> `sort_build!'
> from /usr/local/sbin/portupgrade:721:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
> from /usr/local/sbin/portupgrade:220:in `new'
> from /usr/local/sbin/portupgrade:220:in `main'
> from /usr/local/sbin/portupgrade:2084
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
P "Please consider your environmental responsibility before printing
this e-mail"
More information about the freebsd-questions
mailing list