Bug#310132: java-package: Running make-jpkg as user tells me to run as root, which doesn't work

Alan L. Liu Alan Liu <lliu@cory.eecs.berkeley.edu>, 310132@bugs.debian.org
Sat May 21 22:27:01 2005


Package: java-package
Version: 0.24
Severity: minor

make-jpkg shouldn't tell the user to run as root when doing so just gives
another error message. Can it give the correct fakeroot instructions
in the first place?

> make-jpkg j2sdk-1_4_2_08-linux-i586.bin 
dh_testroot: You must run this as root (or use 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.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages java-package depends on:
ii  coreutils                     5.2.1-2    The GNU core utilities
ii  debhelper                     4.2.32     helper programs for debian/rules
ii  fakeroot                      1.2.10     Gives a fake root environment

-- no debconf information