[maemo-developers] [maemo-developers] becoming root in scratchbox
From: Karoliina Salminen karoliina at karoliinasalminen.comDate: Mon Nov 21 22:07:48 EET 2005
- Previous message: [maemo-developers] becoming root in scratchbox
- Next message: [maemo-developers] becoming root in scratchbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, In scratchbox you are not supposed to use root user. However, you are supposed to use fakeroot. Try fakeroot dpkg -i xyz - no password is asked Similarly building a package goes as follows: dpkg-buildpackage -rfakeroot - again, no password needed Use fakeroot in place of sudo. Do not try to use root user, it is unnecessary in Scratchbox, fakeroot does the same thing and conveniently without need for typing root password. Please see www.scratchbox.org documentation for more information. Best Regards, Karoliina Salminen http://www.karoliinasalminen.com/blog Chris Bare said: > I'm trying to install libexpat1_1.95.8-3_i386.deb and > libexpat1-dev_1.95.8-3_i386.deb inside scratchbox. (I downloaded these > files from http://repository.maemo.org/pool/maemo1.1rc5/free/e/expat/) > > I tried dpkg -i libexpat1_1.95.8-3_i386.deb > > but it says: > dpkg: requested operation requires superuser privilege > > when I try to su within scratchbox, my normal root password does not > work. I tried "rootme" and got: > > su: cannot set groups: Operation not permitted > > what am I doing wrong here? > Is this even the right way to make libexpat available so that I can > compile a program that uses it? > > -- > Chris Bare > chris at bareflix.com > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] becoming root in scratchbox
- Next message: [maemo-developers] becoming root in scratchbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]