Project

General

Profile

Bug #824

pkginfo -l SUNWttf-bitstream-vera pkginfo: ERROR: pkginfo file is corrupt or missing

Added by Richard PALO over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

On a recent system I noticed pkginfo errors, apparently relating to SUNWttf-bitstream-vera

richard@smicro:/var/sadm/pkg# pkginfo -l SUNWttf-bitstream-vera   
pkginfo: ERROR: pkginfo file is corrupt or missing

However I notice that the following works:
richard@smicro:/var/sadm/pkg# pkg list bitstream-vera
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
system/font/truetype/bitstream-vera           1.10-0.148      installé  -----

I found the bug here: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6984028

How to fix?

BTW, on a different but older system this same problem doesn't exist... strange, probably because it was upgraded from a system that had the old package names.

Thanks in advance

History

#1

Updated by Richard PALO over 8 years ago

btw, I find Mr Coopersmith particularly poetic in his bugreport, for a friday afternoon... ;-)

#2

Updated by Richard PALO over 8 years ago

For reference, this link was rather useful to find this problem:
http://www.sysadminwiki.net/wiki/index.php?title=FIX:_pkginfo_file_is_corrupt_or_missing

#3

Updated by Richard PALO over 8 years ago

Impatient as I am, I tried adding

NAME=Bitstream Vera fonts

to the pkginfo and pkginfo.2 files and now it seems to work.
richard@smicro:/var/sadm/pkg/SUNWttf-bitstream-vera# pkginfo -l SUNWttf-bitstream-vera
   PKGINST:  SUNWttf-bitstream-vera
      NAME:  Bitstream Vera fonts
  CATEGORY:  system
      ARCH:  i386
   VERSION:  6.9.0.5.11.14300,REV=0.2010.06.21
   BASEDIR:  /
    VENDOR:  OpenIndiana
      DESC:  TrueType font files for the Vera family of redistributable fonts from Bitstream, Inc.
  INSTDATE:  déc. 28 2010 18:06
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed

#4

Updated by Alan Coopersmith over 8 years ago

Once you've installed a broken version, it stays broken, due to
https://defect.opensolaris.org/bz/show_bug.cgi?id=11929

But if you started from a non-broken version (say, upgraded from 134b),
it should stay non-broken due to the same bug.

The workaround, as mentioned in the previous note, is to simply
edit the /var/sadm/pkg/SUNWttf-bitstream-vera/pkginfo file(s)
and add the NAME line.

#5

Updated by Julian Wiesener over 8 years ago

  • Status changed from New to Rejected

pkginfo is for SVR4 package Metadata only, which is not delivered with OI nur is it relevant for IPS based Systems. Use "pkg info". If you like to install SVR4 Packages, transform them into an local IPS Repository first,

Also available in: Atom PDF