LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2005, 06:16 AM   #1
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Rep: Reputation: 15
Why can't make debian package(Java)?


I have downloaded j2sdk. and i wanna make *.bin to *.deb whereas get problem.
Code:
mathsniper:~/downloads/java# fakeroot make-jpkg j2sdk-1_4_2_08-linux-i586.bin
You are real root -- unfortunately, some Java distributions have
install scripts that directly manipulate /etc, and may cause some
inconsistencies on your system. Instead, you should become a
non-root user and run:

fakeroot make-jpkg j2sdk-1_4_2_08-linux-i586.bin

which will allow no damage to be done to your system files and
still permit the Java distribution to successfully extract.

Aborting.
I wanna do this action with root identity. How to?
 
Old 06-24-2005, 06:43 AM   #2
Sabazios3
Member
 
Registered: Jan 2005
Location: Belgium
Distribution: Debian/Gentoo/Ubuntu
Posts: 32

Rep: Reputation: 15
Why do it as root? Just as a normal user and then using fakeroot will work well. Otherwise (if you have a reason why you want to do it as root) you don't have to use "fakeroot" in your command but just "make...".
But maybe I'm missing something because this looks very obvious to me if I read the output of the error.

Greets,
Sabazios
 
  


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
Ho I can make a simple debian package linx win Debian 1 10-29-2005 07:22 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Installing java without using the package zwyrbla Slackware 9 01-25-2005 06:40 PM
Java Package problem? redshadow Programming 1 03-26-2004 07:27 AM
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 - Distributions > Debian

All times are GMT -5. The time now is 04:57 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