We're working on getting Connectiva's apt-rpm working on non-Linux systems and are running into a problem. Whenever we use apt to install a package using a fresh RPM database (rpm --initdb), we get errors like so: $ apt-get install TWWxpm Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: TWWxpm 0 upgraded, 1 newly installed, 0 removed and 0 not upgraded. Need to get 0B/205kB of archives. After unpacking 324kB of additional disk space will be used. error: cannot open Basenames index using db3 - No such file or directory (2) Committing changes... Preparing... ########################################### [100%] 1:TWWxpm ########################################### [100%] error: cannot open Dirnames index using db3 - No such file or directory (2) error: cannot open Filemd5s index using db3 - No such file or directory (2) TWWxpm: (info) Linking /opt/TWWfsw/bin/cxpm to /opt/TWWfsw/xpm/bin/cxpm TWWxpm: (info) Linking /opt/TWWfsw/bin/sxpm to /opt/TWWfsw/xpm/bin/sxpm Done. We usually provide a stub package that provides /bin/sh for our RPM postinstall scripts: $ rpm --initdb $ ls -l /var/opt/TWWfsw/rpm40/lib/rpm -rw-r--r-- 1 root root 24576 Jun 30 11:34 Packages $ rpm -Uv TWWos-1.0-1.sparc.rpm $ ls -l /var/opt/TWWfsw/rpm40/lib/rpm -rw-r--r-- 1 root root 24576 Jul 5 10:29 Conflictname -rw-r--r-- 1 root root 24576 Jul 5 10:29 Group -rw-r--r-- 1 root root 16384 Jul 5 10:29 Installtid -rw-r--r-- 1 root root 24576 Jul 5 10:29 Name -rw-r--r-- 1 root root 24576 Jul 5 10:29 Packages -rw-r--r-- 1 root root 24576 Jul 5 10:29 Providename -rw-r--r-- 1 root root 16384 Jul 5 10:29 Provideversion -rw-r--r-- 1 root root 24576 Jul 5 10:29 Requirename -rw-r--r-- 1 root root 16384 Jul 5 10:29 Requireversion -rw-r--r-- 1 root root 24576 Jul 5 10:29 Sha1header -rw-r--r-- 1 root root 24576 Jul 5 10:29 Sigmd5 -rw-r--r-- 1 root root 24576 Jul 5 10:29 Triggername Note the absence of the "Basenames", "Dirnames", and "Filemd5s" files, presumably because our stub package contains _no_ files (it's sole purpose is to Provides: /bin/sh). Is it possible to create all files used by RPM at --initdb time or when our stub TWWos package is installed? I found %ghost at http://rpm-devel.colug.net/max-rpm/s1-rpm-inside-files-list-directives.html but that doesn't really help because we don't want any files associated with our TWWos stub package. -- albert chin (china@xxxxxxxxxxxxxxxxxx) _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list