Hi all, it seems that there exists no practicable solution for my problem. Thanks to Casper for your support. - If I edit the file by hand and remove the corrupted entries, this would lead to a lack of information and is not a practicable solution. - Leaving this file as it is will cause the situation that you are not able to add/remove Packages/Patches to the system. To repair the corrupted file we finally re-installed the System and always had a look at the contents-file. Christian ======================== old mail ===================== I have a problem with the Solaris software registry running on a Sun V280R, Solaris 5.8 installed. Additional Software is Solstice DiskSuite and Oracle. The file "/var/sadm/install/contents" seems to be corrupt. Whenever I try to run "pkginfo -l <any-package>", I get the following error messages: -------------------------------------------------------------------- pkginfo: ERROR: bad entry read in contents file pathname: /opt/S755 problem: unknown ftype -------------------------------------------------------------------- It does not matter which package I use, the key point is the "-l" option with the command. If I only type "pkginfo <any-package>" I get a short info about the package, this way goes right. So after that I had a deeper look into "/var/sadm/install/contents" and it seems that some of the entries are corrupted. For example if I search for the corrupt entrie "/opt/S755" I can see that this entry is not made in the way the other entries are, it seems that there is some information broken. If I remove this entrie and restart the "pkginfo" command, this failure does not appear any more (good), but the next failure/bad entrie appears (bad). In this way it goes through the whole file! I can not work through it and delete every corrupt entrie because in this way I will delete a kind of information for the system, too. But I believe that I will get in serious trouble when trying to patch this machine or add new packages... So do anybody know a way how I can re-create/re-initialize/update my software registry file? _________________________________________________________________ Diese Information ist ausschliesslich fuer die adressierte Person oder Organisation bestimmt und koennte vertrauliches und/oder privilegiertes Material enthalten. Personen oder Organisationen, fuer die diese Information nicht bestimmt ist, ist es nicht gestattet, diese zu lesen, erneut zu uebertragen, zu verbreiten, anderweitig zu verwenden oder sich durch sie veranlasst zu sehen, Massnahmen irgendeiner Art zu ergreifen. Sollten Sie diese Nachricht irrtuemlich erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu setzen und das Material von Ihrem Computer zu loeschen. Sie haben uns gebeten, mit Ihnen ueber das Internet per E-Mail zu korrespondieren. Unbeschadet dessen ist allein die von uns unterzeichnete schriftliche Fassung verbindlich. Wir weisen darauf hin, dass derartige Nachrichten mit und ohne Zutun von Dritten verloren gehen, veraendert oder verfaelscht werden koennen.Herkoemmliche E-Mails sind nicht gegen den Zugriff von Dritten geschuetzt und deshalb ist auch die Vertraulichkeit unter Umstaenden nicht gewahrt Wir haften deshalb nicht fuer die Unversehrtheit von E-Mails nachdem sie unseren Herrschaftsbereich verlassen haben und koennen Ihnen hieraus entstehende Schaeden nicht ersetzen. Sollte trotz der von uns verwendeten Virus-Schutz-Programmen durch die Zusendung von E-Mails ein Virus in Ihre Systeme gelangen, haften wir nicht fuer eventuell hieraus entstehende Schaeden. Dieser Haftungsausschluss gilt nur soweit gesetzlich zulaessig. English: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.If you received this in error, please contact the sender and delete the material from any computer. You have asked us to correspond with you via the Internet per e-mail. However, the written version signed by us is the only authoritative version. We draw your attention to the fact that such messages can be lost, changed or falsified, with or without any interference by third persons. Normal e-mails are not protected against access by third persons and, therefore, their confidentiality may not be assured in certain circumstances. We cannot be responsible for the integrity of emails after they have left our sphere of control. We shall not, therefore, indemnify you for any damages resulting out of these circumstances. If, despite our use of anti-virus software, a virus enters your systems in connection with the sending of the e-mail, you may not hold us liable for any damages that may possibly arise in that connection. We will accept liability which by law we cannot exclude. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Aug 13 12:35:21 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:52 EST