On Sun, Nov 17, 2002 at 04:35:39PM -0500, Nori Heikkinen wrote: > on Sun, 17 Nov 2002 08:49:36PM +0000, Colin Watson insinuated: > > Firstly, don't be in / when grabbing source packages. :) You don't > > need to be root, either. > > well, i have needed to be of late, and just haven't worried about it > recently ... whenever i try to run apt as myself, i get the following: > > orange:~> apt-get install foo > E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission > denied) > E: Unable to lock the administration directory (/var/lib/dpkg/), are > you root?
That's only for 'apt-get install', not 'apt-get source'. > > As an ordinary user, 'apt-get source centericq'. This creates a > > 'centericq-<version>' directory below the current directory. Change > > into that, then (after installing the fakeroot package) > > 'dpkg-buildpackage -rfakeroot -uc -us'. > > okay, almost there ... but i get this error about 15 seconds into the > setup: > > running /bin/sh ./configure --host=i386-linux --build=i386-linux > --prefix=/usr '--mandir=${prefix}/share/man' > '--infodir=${prefix}/share/info' --with-included-gettext > --cache-file=.././config.cache --srcdir=. > ./configure: line 421: ./config.log: Permission denied > configure: error: ./configure failed for kkconsui-0.1 > make: *** [config.status] Error 1 > > permissions look fine for ./config.log (600 and i own it). any ideas? 600 is unusually tight. Does relaxing your umask help? -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]