Re: Error : pkg_version



На Fri, 01 Jun 2007 09:43:12 +0400
Abdrashitov Dmitry <adk@xxxxxxxx> записано:

Alexander Leidinger wrote:

Quoting áÂÄÒÁÛÉÔÏ× äÍÉÔÒÉÊ <adk@xxxxxxxx> (from
Thu, 31 May 2007 09:21:18 +0400):

hi!
i use freebsd 6.2
there is some strange error -
when i try this command : "pkg_version -v"
i get endless list:
pkg_version: BABagntux is not a valid package!
pkg_version: BABagntux is not a valid package!
pkg_version: BABagntux is not a valid package!
pkg_version: BABagntux is not a valid package!
pkg_version: BABagntux is not a valid package!

when i try this command : "pkgdb -F"
---> Checking the package registry database
BABagntux: Not in due form: <name>-<version>

what does it means?


You have something in /var/db/pkg/BABagntux which is not a valid
package registration.

thanks
so, how can i solve this problem?
there are several files in that directory
mail5/ #/var/db/pkg/BABagntux>ls -l
total 14
-rw-r--r-- 1 root wheel 68 Aug 30 2006 +COMMENT
-rw-r--r-- 1 root wheel 5777 May 8 15:47 +CONTENTS
-r-xr-xr-x 1 root wheel 705 Aug 30 2006 +DEINSTALL
-rw-r--r-- 1 root wheel 68 Aug 30 2006 +DESC
-r-xr-xr-x 1 root wheel 1790 Aug 30 2006 +POST-INSTALL


You may try to delete this directory, if this software is not needed,
or look version of files (look +CONTENTS, find installed executable
files, run those with key -v, --version or -V and get version in view
X.X.X), after rename directory to BABagnutux-X.X.X.
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"