Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To install Open-Xchange, java-1.5.0.15 SDK is needed so I'm following a guide to create rpm's. I ran into the following error :
Code:
[root@ox ~]# rpmbuild --rebuild java-1.5.0-sun-1.5.0.15-1jpp.nosrc.rpm
Installing java-1.5.0-sun-1.5.0.15-1jpp.nosrc.rpm
warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID c431416d
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.90171
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /usr/src/redhat/BUILD/jdk1.5.0_15
+ export MORE=10000
+ MORE=10000
+ sh /usr/src/redhat/SOURCES/jdk-1_5_0_15-linux-i586.bin
sh: /usr/src/redhat/SOURCES/jdk-1_5_0_15-linux-i586.bin: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.90171 (%prep)
RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID c431416d
user jasonc does not exist - using root
group jasonc does not exist - using root
user jasonc does not exist - using root
group jasonc does not exist - using root
user jasonc does not exist - using root
group jasonc does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.90171 (%prep)
Code:
[root@ox ~]# ls -l /root/rpmbuild/SOURCES/
-rwxr-xr-x 1 root root 49647629 Dec 12 14:13 jdk-1_5_0_15-linux-i586.bin
[root@ox ~]# ls -l /root/
-rw-r--r-- 1 root root 17806 Jun 12 2008 java-1.5.0-sun-1.5.0.15-1jpp.nosrc.rpm
drwxr-xr-x 3 root root 4096 Dec 12 14:04 rpmbuild
Can you advise ??
Thanks.
Last edited by jonaskellens; 12-12-2009 at 07:31 AM.
- Not build packages as root account user,
- Header V3 DSA signature: NOKEY: informational: install the GnuPG key,
- user does not exist: informational, not a fatal error,
- mv /root/rpmbuild/SOURCES/jdk-1_5_0_15-linux-i586.bin /home/unprivileged_user/redhat/SOURCES/, set up shop for building packages the right way then try again from the unprivileged_user account?
I put "java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm" in ~/rpmbuild/.
I put "jdk-6u11-linux-x64.bin" in ~/rpmbuild/SOURCES/.
When I try to build the rpms, I get
$ rpmbuild --rebuild java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
Installing java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID c431416d
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
warning: user jasonc does not exist - using root
warning: group jasonc does not exist - using root
Executing(%prep): /bin/sh -e /home/dude/rpmbuild/tmp/rpm-tmp.10035
+ umask 022
+ cd /home/dude/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/dude/rpmbuild/BUILD/jdk1.6.0_11
+ export MORE=10000
+ MORE=10000
+ sh /home/dude/rpmbuild/SOURCES/jdk-6u11-linux-x64.bin
error: can't create transaction lock on /var/lib/rpm/__db.000
+ cd /home/dude/rpmbuild/BUILD + cd jdk1.6.0_11
/home/dude/rpmbuild/tmp/rpm-tmp.10035: line 35: cd: jdk1.6.0_11: No such file or directory
error: Bad exit status from /home/dude/rpmbuild/tmp/rpm-tmp.10035 (%prep)
I have no idea why it didn't create "jdk1.6.0_11" in BUILD... what am I doing wrong? (or what other configs should I post?)
.. Found no "11" http://ftp.scientificlinux.org/linux/scientific/
( "10" is available.)
Scientific Linux (SL 53) is one of the free copies of Redhat EL 5.3,
and apparently they build the packages .. and frees us for the work.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.