Self-healing portversion?

Steven Friedrich FreeBSD at insightbb.com
Wed Oct 27 15:39:57 PDT 2004


I ran portversion to check my ports after a make update, followed by portsdb 
-Uu.

First time I ran portversion, it spewed errors. Second time it ran without 
error.

Here's the session.

% portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..Warning: 
Duplicate INDEX entry: freeciv-gtk2-1.14.1
Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
 Done.
done
[Updating the portsdb <format:bdb1_hash> in /usr/ports ... - 11854 port 
entries 
found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000........ ..... 
done]
root at lightning(p1)/usr/ports 107% portversion -l '<'
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 273 packages 
found (-0 +6) ...... done]
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:352:in `deorigin_glob': Invalid 
argument (PkgDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:177:in 
`config_include?'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:172:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:172:in 
`config_include?'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:162:in 
`config_held?'
        from /usr/local/sbin/portversion:310:in `check_pkgs'
        from /usr/local/sbin/portversion:300:in `each'
        from /usr/local/sbin/portversion:300:in `check_pkgs'
        from /usr/local/sbin/portversion:260:in `main'
        from /usr/local/sbin/portversion:77:in `initialize'
        from /usr/local/sbin/portversion:77:in `new'
        from /usr/local/sbin/portversion:77:in `main'
        from /usr/local/sbin/portversion:347
root at lightning(p1)/usr/ports 108% portversion -l '<'
automake                    <
docbook-xsl                 <
firefox                     <
intltool                    <
kdegraphics                 <
koffice                     <
libflash                    <
libidn                      <
openldap-client             <
tcl                         <
teTeX                       <
teTeX-texmf                 <
tex-texmflocal              <
tiff                        <
tk                          <
xpdf                        <
root at lightning(p1)/usr/ports 109%


More information about the freebsd-questions mailing list