I am trying to convert a Java rpm file to tar.gz so I can use it with 9.10. With apologies for its length, here is the output I get:
sudo alien -tiv jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{NAME} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{VERSION} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{RELEASE} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{ARCH} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{CHANGELOGTEXT} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{SUMMARY} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{DESCRIPTION} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{COPYRIGHT} jre-6u18-linux-i586.rpm
error: incorrect format: unknown tag
LANG=C rpm -qp --queryformat %{PREFIXES} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{POSTIN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{POSTUN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{PREUN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{PREIN} jre-6u18-linux-i586.rpm
LANG=C rpm -qcp jre-6u18-linux-i586.rpm
rpm -qpi jre-6u18-linux-i586.rpm
LANG=C rpm -qpl jre-6u18-linux-i586.rpm
Warning: Skipping conversion of scripts in package jre: postinst postrm prerm
Warning: Use the --scripts parameter to include the scripts.
mkdir jre-1.6.0_18
chmod 755 jre-1.6.0_18
rpm2cpio jre-6u18-linux-i586.rpm | (cd jre-1.6.0_18; cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>&1
chmod 755 jre-1.6.0_18/./
chmod 755 jre-1.6.0_18/./etc/init.d
chown 0:0 jre-1.6.0_18//etc
chmod 755 jre-1.6.0_18//etc
chown 0:0 jre-1.6.0_18//etc/.java
chmod 755 jre-1.6.0_18//etc/.java
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs
chmod 755 jre-1.6.0_18//etc/.java/.systemPrefs
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs/.system.lock
chmod 644 jre-1.6.0_18//etc/.java/.systemPrefs/.system.lock
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs/.systemRootModFile
chmod 644 jre-1.6.0_18//etc/.java/.systemPrefs/.systemRootModFile
chown 0:0 jre-1.6.0_18//etc/init.d/jexec
chmod 755 jre-1.6.0_18//etc/init.d/jexec
chown 0:0 jre-1.6.0_18//usr
chmod 755 jre-1.6.0_18//usr
chown 0:0 jre-1.6.0_18//usr/java
chmod 755 jre-1.6.0_18//usr/java
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/COPYRIGHT
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/COPYRIGHT
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/LICENSE
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/LICENSE
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/README
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/README
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/THIRDPARTYLICENSEREADME.txt
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/THIRDPARTYLICENSEREADME.txt
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/Welcome.html
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/Welcome.html
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java_vm
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java_vm
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/javaws
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/javaws
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/jcontrol
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/jcontrol
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/keytool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/keytool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/orbd
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/orbd
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/pack200
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/pack200
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/policytool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/policytool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmid
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmid
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmiregistry
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmiregistry
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/servertool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/servertool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/tnameserv
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/tnameserv
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/unpack200
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/unpack200
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/javaws
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/javaws
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/alt-rt.jar
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/alt-rt.jar
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/applet
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/applet
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio/soundbank.gm
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio/soundbank.gm
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/calendars.properties
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/calendars.properties
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/charsets.jar
chown: cannot access `jre-1.6.0_18//usr/java/jre1.6.0_18/lib/charsets.jar': No such file or directory
failed chowning /usr/java/jre1.6.0_18/lib/charsets.jar to 0:0: Illegal seek at /usr/share/perl5/Alien/Package/Rpm.pm line 265, <GETPERMS> line 38.
find jre-1.6.0_18 -type d -exec chmod 755 {} ;
rm -rf jre-1.6.0_18
I am a real newb at this point, so I am unclear on what my next step should be. (I have installed the generic Java package available through apt, but it will not work for the particular program I am trying to run. That program insists on this other package.)
Thanks in advance.
sudo alien -tiv jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{NAME} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{VERSION} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{RELEASE} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{ARCH} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{CHANGELOGTEXT} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{SUMMARY} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{DESCRIPTION} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{COPYRIGHT} jre-6u18-linux-i586.rpm
error: incorrect format: unknown tag
LANG=C rpm -qp --queryformat %{PREFIXES} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{POSTIN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{POSTUN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{PREUN} jre-6u18-linux-i586.rpm
LANG=C rpm -qp --queryformat %{PREIN} jre-6u18-linux-i586.rpm
LANG=C rpm -qcp jre-6u18-linux-i586.rpm
rpm -qpi jre-6u18-linux-i586.rpm
LANG=C rpm -qpl jre-6u18-linux-i586.rpm
Warning: Skipping conversion of scripts in package jre: postinst postrm prerm
Warning: Use the --scripts parameter to include the scripts.
mkdir jre-1.6.0_18
chmod 755 jre-1.6.0_18
rpm2cpio jre-6u18-linux-i586.rpm | (cd jre-1.6.0_18; cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>&1
chmod 755 jre-1.6.0_18/./
chmod 755 jre-1.6.0_18/./etc/init.d
chown 0:0 jre-1.6.0_18//etc
chmod 755 jre-1.6.0_18//etc
chown 0:0 jre-1.6.0_18//etc/.java
chmod 755 jre-1.6.0_18//etc/.java
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs
chmod 755 jre-1.6.0_18//etc/.java/.systemPrefs
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs/.system.lock
chmod 644 jre-1.6.0_18//etc/.java/.systemPrefs/.system.lock
chown 0:0 jre-1.6.0_18//etc/.java/.systemPrefs/.systemRootModFile
chmod 644 jre-1.6.0_18//etc/.java/.systemPrefs/.systemRootModFile
chown 0:0 jre-1.6.0_18//etc/init.d/jexec
chmod 755 jre-1.6.0_18//etc/init.d/jexec
chown 0:0 jre-1.6.0_18//usr
chmod 755 jre-1.6.0_18//usr
chown 0:0 jre-1.6.0_18//usr/java
chmod 755 jre-1.6.0_18//usr/java
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/COPYRIGHT
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/COPYRIGHT
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/LICENSE
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/LICENSE
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/README
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/README
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/THIRDPARTYLICENSEREADME.txt
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/THIRDPARTYLICENSEREADME.txt
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/Welcome.html
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/Welcome.html
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java_vm
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/java_vm
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/javaws
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/javaws
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/jcontrol
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/jcontrol
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/keytool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/keytool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/orbd
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/orbd
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/pack200
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/pack200
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/policytool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/policytool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmid
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmid
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmiregistry
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/rmiregistry
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/servertool
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/servertool
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/tnameserv
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/tnameserv
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/unpack200
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/bin/unpack200
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/javaws
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/javaws
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/alt-rt.jar
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/alt-rt.jar
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/applet
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/applet
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio
chmod 755 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio/soundbank.gm
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/audio/soundbank.gm
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/calendars.properties
chmod 644 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/calendars.properties
chown 0:0 jre-1.6.0_18//usr/java/jre1.6.0_18/lib/charsets.jar
chown: cannot access `jre-1.6.0_18//usr/java/jre1.6.0_18/lib/charsets.jar': No such file or directory
failed chowning /usr/java/jre1.6.0_18/lib/charsets.jar to 0:0: Illegal seek at /usr/share/perl5/Alien/Package/Rpm.pm line 265, <GETPERMS> line 38.
find jre-1.6.0_18 -type d -exec chmod 755 {} ;
rm -rf jre-1.6.0_18
I am a real newb at this point, so I am unclear on what my next step should be. (I have installed the generic Java package available through apt, but it will not work for the particular program I am trying to run. That program insists on this other package.)
Thanks in advance.
Comment