Bug#280707: and you can't do it with sudo or su either!

Greg Wooledge Greg Wooledge <greg@wooledge.org>, 280707@bugs.debian.org
Sat May 14 21:09:02 2005


--rqzD5py0kzyFAOWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

griffon:/var/tmp$ sudo make-jpkg jdk-1_5_0_03-linux-i586.bin=20
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 jdk-1_5_0_03-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.

griffon:/var/tmp$ fakeroot make-jpkg jdk-1_5_0_03-linux-i586.bin=20
Creating temporary directory: /tmp/make-jpkg.XXXXuRNUIH
[...]
Do you agree to the above license terms? [yes or no]=20
yes
[...]
/var/tmp/jdk-1_5_0_03-linux-i586.bin: line 523: /usr/share/application-regi=
stry/java-web-start.applications: Permission denied
/var/tmp/jdk-1_5_0_03-linux-i586.bin: line 524: /usr/share/application-regi=
stry/java-web-start.applications: Permission denied
=20
Done.

Testing extracted archive...
Invalid size (128 MB) of extracted archive. Probably you have not
enough free disc space in the temporary directory. Note: You can
specify an alternate directory by setting the environment variable
TMPDIR.


Aborted.

Removing temporary directory: done

griffon:/var/tmp$ su
Password:=20
griffon:/var/tmp# make-jpkg jdk-1_5_0_03-linux-i586.bin=20
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 jdk-1_5_0_03-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.

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--rqzD5py0kzyFAOWN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFChmUoDx4RMkhr5kwRAr89AKDR3GR+YonGMuw3y+xXpZo8LGJQ9wCdGSN7
2M/TAheMW7vL/u1g6VpF7b4=
=LeCa
-----END PGP SIGNATURE-----

--rqzD5py0kzyFAOWN--