LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2006, 05:47 PM   #1
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
Unable to create debian package of java JRE


I am unable to create a Debian package from the java.bin files. I have tried with 1.4.2 from Blackdown and I have tried with 1.5 (5.0) from sun but neither of them are wrking. I have installed java-package and fakeroot as all the guides have told me.

when I cd into the directory where the file is and issue the command to create the package all I recieve is the following error:

house@debian:~/Desktop/java$ fakeroot
root@debian:~/Desktop/java# make-jpkg jre-1_5_0_06-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXXM55WNs
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied
dpkg-architecture: failure: dpkg --print-architecture failed: Permission denied

No matching plugin was found.
Removing temporary directory: done
root@debian:~/Desktop/java#

Am I doing something wrong? Or is the java-package broken at the present time or soemthing. HHelp would be appreciated.

Thanks in advance

Michael
 
Old 05-02-2006, 11:07 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I just installed it on a laptop yesterday, and it was fine.

Kinda peculiar that your system seems to thing you are actually running as root after you issued the fakeroot command. Try that all on one command ...

$ fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin

That's how I've always done it.
 
Old 05-02-2006, 11:51 AM   #3
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
iv tried that still doesnt work
 
Old 05-02-2006, 12:05 PM   #4
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
its a problem caused after having ran bastille, it must have changed some permissions, using the revert feature of bastille sorted it out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 09:20 AM
Why can't make debian package(Java)? Mathsniper Debian 1 06-24-2005 06:43 AM
Java (jre/sdk) debian install Zaskar Debian 6 04-01-2004 06:32 PM
Java can't find package, but PATH set correctly (j2se1.4.0, java.util.regex package) Ethan Programming 5 02-06-2004 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration