Hi,

[this time with gezipped attachements ]


>>pkg -R /mnt fix

Been there; done that. Now the python scripts work again!

But I'm curious about the output of the pkg commands (see attachment)

I first did a pkg -R /mnt verify (log file pkg_verify.log), then a pkg -r /mnt fix (log file pkg_fix.log) and then a pkg -r /mnt verify again (log file pkg_verify1.log)

The errors in the logfile pkg_verfiy.log about invalid owner for files and directories (xtrnaw7 instead of root) in the directory /usr/share/local are "okay" - these directories are also in my package so it's clear that I changed them by accident.

But the errors like this error message


pkg:/SUNWPython                                      ERROR
       hardlink: usr/bin/isapython2.4
               Path and Target (usr/lib/isaexec) inodes not the same
       link: usr/bin/python
               target=//bin/amd64/python
       link: usr/bin/python2.4
               target=//bin/amd64/python2.4

I do not understand -- I did not change neither /usr/bin/isapython2.4 nor /usr/lib/isaexec. I did copy /usr/bin/ps (which should be a hardlink to /usr/lib/isaexec) but copying that file shouldn't change anyhting I think.


In addition, the pkg verfiy after the pkg fix still shows some errors about invalid groups for directories -- shouldn't these errors also be fixed by pkg fix?

Should I worry about those errors and do a pkg fix again?


Anyway, it works again and the next thing I do is to create a zone for my development tasks ;-)

thanks


Shawn Walker wrote:
Bernd Schemmer wrote:
Hi

 >>Have you tried an older boot environment?

It does work if boot my older boot environment. But all my customizations are done in the current boot environment so that does not really help

But I can repair my current boot environment while booted from the other boot environment - or?

Possibly.

If you boot to your older boot environment, then mount your newer boot environment somewhere like /mnt, you should then be able to:

pkg -R /mnt fix

...and then unmount the new boot environment, and reboot to it.

Cheers,


--
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html

M s temprano que tarde el mundo cambiar .
                       Fidel Castro

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to