Re: corrupt my ports



Le 30/11/2006 13:04:33+0000, Chris a écrit
Try "man pkgdb". Specifically "pkgdb -F".


Hummm...

The pkgdb command is a tool to create or update the system package data-
base which is used by the portupgrade(1) tool suite. It maintains a hash
that maps an installed file to a package name, a hash that maps a package
to an origin, and a list of installed packages.

It's not my database is corrupt, but really my

/var/db/pkg/*

for example

[root@freebsd2 /var/db/pkg]# ls -l firefox-2.0_2,1/
total 28
-rw-r--r-- 1 root wheel 52 12 nov 02:27 +COMMENT
-rw-r--r-- 1 root wheel 765 12 nov 02:27 +DEINSTALL
-rw-r--r-- 1 root wheel 345 12 nov 02:27 +DESC
-rw-r--r-- 1 root wheel 1119 12 nov 02:27 +DISPLAY
-rw-r--r-- 1 root wheel 1165 12 nov 02:27 +INSTALL
-r--r--r-- 1 root wheel 15305 12 nov 02:27 +MTREE_DIRS
-rw-r--r-- 1 root wheel 32 28 nov 23:37 +REQUIRED_BY
[root@freebsd2 /var/db/pkg]#

I don't have +CONTENT file....

Anyone can help me ?

Regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Thu Nov 30 22:27:16 CET 2006
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Faild to udate Distribution Point
    ... ~The Package Action is 2 and the Update Mask is 268435456. ... TreeRecurser failed at FindFirstFile ... ~Starting to new hash ... ~Used 0 out of 3 allowed processing threads. ...
    (microsoft.public.sms.swdist)
  • Re: Generic Collection
    ... Package RDB desclares "is a" relations in the sense you describe ... function comparereturn BOOLEAN; ... hash => hash, ... subtype TUPLE is Attributes.SET; ...
    (comp.lang.ada)
  • Re: looking for some size optimization
    ... the filenames from +4000 packages in order to recognize conflicts. ... To take up the amount of room you ... it builds a big hash through a loop that constructs ... Is $pkgname the name of the package declared in $file, ...
    (comp.lang.perl.misc)
  • Re: Generic Collection
    ... Package RDB desclares "is a" relations in the sense you describe ... function comparereturn BOOLEAN; ... hash => hash, ... subtype TUPLE is Attributes.SET; ...
    (comp.lang.ada)
  • Re: Packages and returning errors
    ... >>of instance data. ... >>sub rtnError { ... its a reference to a hash. ... functions in the package to see it. ...
    (comp.lang.perl.misc)