pkg database corrupted ? (LONG)

Antoine Jacoutot ajacoutot at lphp.org
Mon Feb 9 08:08:37 PST 2004


Hi :)

Somehow, my ports DB got corrupted or something, so I cannot portupgrade 
anymore :(
I updated by cvsup to see if it changed something, but id didn't...
This is the command I issued after cvsuping:
# cd /usr/ports
# make index && portsdb -u && pkgdb -Fvu

If you have any idea, I would really appreciate.
Thanks in advance.
Regards,

Antoine

ps:
Here are some outputs:

---------------------------------------------------
# pkg_info | awk '{print $1}'
apache+mod_ssl-1.3.29+2.8.16
arc-5.21j
aspell-0.50.4.1_1
autoconf-2.57_1
bison-1.75_2
cclient-2002d,1
clamav-0.65_6
cvsup-without-gui-16.1h
db41-4.1.25_1
drac-1.12
expat-1.95.6_1
gettext-0.13.1
gmake-3.80_2
help2man-1.29
horde-2.2.4_2
imap-uw-2002d,1
isc-dhcp3-server-3.0.1.r12
lha-1.14i_2
libgmp-4.1.2_3
libiconv-1.9.1_3
libltdl-1.5
libmcal-0.7_1
libmcrypt-2.5.7_1
libtool-1.3.5_1
libtool-1.4.3_2
libxml2-2.6.5_1
m4-1.4_1
mimedefang-2.39
mm-1.3.0
mysql-client-3.23.58_1
mysql-server-3.23.58_1
net-snmp-5.1_1
nss_ldap-1.204_5
openldap-client-2.1.26
openldap-server-2.1.26_1
p5-Authen-SASL-2.06
p5-DBI-1.40
p5-Data-ShowTable-3.3
p5-Digest-1.05
p5-Digest-HMAC-1.01
p5-Digest-MD5-2.33
p5-Digest-Nilsimsa-0.06
p5-Digest-SHA1-2.07
p5-HTML-Parser-3.34
p5-HTML-Tagset-3.03
p5-IO-stringy-2.108
p5-MIME-Base64-3.00
p5-MIME-Tools-5.411a_3,1
p5-Mail-SpamAssassin-2.63
p5-Mail-Tools-1.60
p5-Mysql-modules-1.2219
p5-Net-1.17,1
p5-Net-DNS-0.45
p5-Time-HiRes-1.52,1
p5-URI-1.30
pam_ldap-1.6.7_1
pear-Archive_Tar-1.1_1
pear-Auth-1.2.3
pear-Auth_SASL-1.0.1_1
pear-Console_Getopt-1.2
pear-DB-1.5.0.r2_1,1
pear-Date-1.4
pear-HTML_Common-1.2.1
pear-Log-1.8.3
pear-Mail-1.1.2_1
pear-Mail_Mime-1.2.1_4
pear-Net_SMTP-1.2.3_1
pear-Net_Socket-1.0.1_2
pear-PEAR-1.2.1_1
perl-5.6.1_15
php4-4.3.4_6
pkgconfig-0.15.0_1
portupgrade-20040208
python-2.3.3
razor-agents-2.36_3
ruby-1.6.8.2003.10.15
ruby-bdb1-0.2.1
ruby-shim-ruby18-1.8.1.p3
sma-1.4
unarj-2.43_1
unrar-3.30_1,3
unzip-5.50_2
zoo-2.10.1
---------------------------------------------------
# pkgdb -Fvu
--->  Updating the pkgdb
--->  Checking the package registry database
Checking the origin of cvsup-without-gui-16.1h
Checking the origin of perl-5.6.1_15
Checking the origin of portupgrade-20040208
Checking the origin of ruby-1.6.8.2003.10.15
Checking the origin of ruby-bdb1-0.2.1
Checking the origin of ruby-shim-ruby18-1.8.1.p3
Checking for origin duplicates
Checking cvsup-without-gui-16.1h
Checking perl-5.6.1_15
Checking portupgrade-20040208
Checking ruby-1.6.8.2003.10.15
Checking ruby-bdb1-0.2.1
Checking ruby-shim-ruby18-1.8.1.p3
Regenerating +REQUIRED_BY files
Checking for cyclic dependencies
---------------------------------------------------
# pkg_info | grep php
php4-4.3.4_6

# portupgrade -f php4
** No such package 'php4' is installed.
---------------------------------------------------
# ls -l /var/db/pkg/ | awk '{print $9}'

apache+mod_ssl-1.3.29+2.8.16
arc-5.21j
aspell-0.50.4.1_1
autoconf-2.57_1
bison-1.75_2
cclient-2002d,1
clamav-0.65_6
cvsup-without-gui-16.1h
db41-4.1.25_1
drac-1.12
expat-1.95.6_1
gettext-0.13.1
gmake-3.80_2
help2man-1.29
horde-2.2.4_2
imap-uw-2002d,1
isc-dhcp3-server-3.0.1.r12
lha-1.14i_2
libgmp-4.1.2_3
libiconv-1.9.1_3
libltdl-1.5
libmcal-0.7_1
libmcrypt-2.5.7_1
libtool-1.3.5_1
libtool-1.4.3_2
libxml2-2.6.5_1
m4-1.4_1
mimedefang-2.39
mm-1.3.0
mysql-client-3.23.58_1
mysql-server-3.23.58_1
net-snmp-5.1_1
nss_ldap-1.204_5
openldap-client-2.1.26
openldap-server-2.1.26_1
p5-Authen-SASL-2.06
p5-DBI-1.40
p5-Data-ShowTable-3.3
p5-Digest-1.05
p5-Digest-HMAC-1.01
p5-Digest-MD5-2.33
p5-Digest-Nilsimsa-0.06
p5-Digest-SHA1-2.07
p5-HTML-Parser-3.34
p5-HTML-Tagset-3.03
p5-IO-stringy-2.108
p5-MIME-Base64-3.00
p5-MIME-Tools-5.411a_3,1
p5-Mail-SpamAssassin-2.63
p5-Mail-Tools-1.60
p5-Mysql-modules-1.2219
p5-Net-1.17,1
p5-Net-DNS-0.45
p5-Time-HiRes-1.52,1
p5-URI-1.30
pam_ldap-1.6.7_1
pear-Archive_Tar-1.1_1
pear-Auth-1.2.3
pear-Auth_SASL-1.0.1_1
pear-Console_Getopt-1.2
pear-DB-1.5.0.r2_1,1
pear-Date-1.4
pear-HTML_Common-1.2.1
pear-Log-1.8.3
pear-Mail-1.1.2_1
pear-Mail_Mime-1.2.1_4
pear-Net_SMTP-1.2.3_1
pear-Net_Socket-1.0.1_2
pear-PEAR-1.2.1_1
perl-5.6.1_15
php4-4.3.4_6
pkgconfig-0.15.0_1
pkgdb.db
portupgrade-20040208
python-2.3.3
razor-agents-2.36_3
ruby-1.6.8.2003.10.15
ruby-bdb1-0.2.1
ruby-shim-ruby18-1.8.1.p3
sma-1.4
unarj-2.43_1
unrar-3.30_1,3
unzip-5.50_2
zoo-2.10.1


More information about the freebsd-questions mailing list