On Jun 19, 2009, at 5:14 AM, Nico Sabbi wrote:
On Friday 19 June 2009 11:27:53 Shawn Walker wrote:
On Jun 19, 2009, at 2:54 AM, Nico Sabbi wrote:
Hi,
after I don't know what operation pkg in a Osol 2008-11 virtual
machine stopped working. I had this kind of errors:
...
so, how can I restore the usability of pkg?
What directories are left in /var/pkg? It looks like you removed
more than /var/pkg/catalog, or the data in /var/pkg has become
corrupt.
Your only option may to be reinstall.
Cheers,
r...@mysql51:/var/pkg# ls -al
total 38
drwxr-xr-x 10 root root 11 2009-06-16 09:31 .
drwxr-xr-x 36 root sys 36 2009-06-16 09:46 ..
drwxr-xr-x 3 root root 4 2009-06-16 09:30 catalog
-rw-r--r-- 1 root root 693 2009-06-15 18:03 cfg_cache
drwxr-xr-x 225 root root 225 2009-06-16 09:46 download
drwxr-xr-x 2 root root 2 2009-05-14 17:48 file
drwxr-xr-x 3 root root 3 2009-06-19 09:30 gui_cache
drwxr-xr-x 2 root root 27 2009-06-19 09:30 history
drwxr-xr-x 2 root root 2 2009-05-14 17:48 index
drwxr-xr-x 630 root root 630 2009-06-16 09:38 pkg
drwxr-xr-x 3 root root 3 2009-05-14 17:48 state
_
So, if you say:
pfexec pkg -R / refresh --full
What does it do?
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org