I have created a script in perl to create a dpkg from a specs file for rpm. I create the package, it begins to install but only copies some data.
for example -- START EXAMPLE -- D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci' D000010: ensure_pathname_nonexisting running rm -rf D000001: process_archive oldversionstatus=broken due to failed removal or installation D000002: fork/exec /var/lib/dpkg/tmp.ci/preinst ( upgrade 5.7.0 ) D000010: tarobject ti->Name=`./etc/ld.so.conf.d/ultrascale.conf' Mode=2745 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/etc/ld.so.conf.d/ultrascale.conf' flags=2 instead=`<none>' D000100: setupvnamevbs main=`/etc/ld.so.conf.d/ultrascale.conf' tmp=`/etc/ld.so.conf.d/ultrascale.conf.dpkg-tmp' new=`/etc/ld.so.conf.d/ultrascale.conf.dpkg-new' D000100: tarobject already exists D000010: ensure_pathname_nonexisting `/etc/ld.so.conf.d/ultrascale.conf.dpkg-new' D000010: ensure_pathname_nonexisting `/etc/ld.so.conf.d/ultrascale.conf.dpkg-tmp' D000100: tarobject NormalFile[01] open size=30 D000100: tarobject nondirectory, `link' backup D000100: tarobject done and installation deferred D000010: tarobject ti->Name=`./etc/init.d/ultrascaled' Mode=755 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/etc/init.d/ultrascaled' flags=2 instead=`<none>' D000100: setupvnamevbs main=`/etc/init.d/ultrascaled' tmp=`/etc/init.d/ultrascaled.dpkg-tmp' new=`/etc/init.d/ultrascaled.dpkg-new' D000100: tarobject already exists D000010: ensure_pathname_nonexisting `/etc/init.d/ultrascaled.dpkg-new' D000010: ensure_pathname_nonexisting `/etc/init.d/ultrascaled.dpkg-tmp' D000100: tarobject NormalFile[01] open size=2178 D000100: tarobject nondirectory, `link' backup D000100: tarobject done and installation deferred D000010: tarobject ti->Name=`./opt/Ecrion/Resources/XSLSyntax.enc' Mode=2745 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/opt/Ecrion/Resources/XSLSyntax.enc' flags=2 instead=`<none>' D000100: setupvnamevbs main=`/opt/Ecrion/Resources/XSLSyntax.enc' tmp=`/opt/Ecrion/Resources/XSLSyntax.enc.dpkg-tmp' new=`/opt/Ecrion/Resources/XSLSyntax.enc.dpkg-new' D000100: tarobject nonexistent D000010: ensure_pathname_nonexisting `/opt/Ecrion/Resources/XSLSyntax.enc.dpkg-new' D000010: ensure_pathname_nonexisting `/opt/Ecrion/Resources/XSLSyntax.enc.dpkg-tmp' D000100: tarobject NormalFile[01] open size=27792 D000100: tarobject new - no backup D000100: tarobject done and installation deferred -- END EXAMPLE -- ultrascale.conf is present but /opt/Ecrion/Resources folder and files are not existant. In my script I build the tar.gz the control files the scripts, the ar with correct file order etc. Why are the files not present. For example I do have a directory that appears it is named /opt/Ecrion/Common, why is /opt/Ecrion/Resources missing. The only folder in /opt/Ecrion is Common and it only contains one file from all it's files. Thank you, D.Dragos

