[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: daily pestering about s390 and sparc buildd failure



Thomas Bushnell BSG <tb@becket.net> writes:

> Andrew Pollock <apollock@debian.org> writes:
>
>> Thomas, meet dchroot, dchroot, meet Thomas.
>> 
>> (base)apollock@vore:~$ dchroot -l
>> Available chroots: unstable testing stable oldstable sid sarge woody potato
>
> Curious.
> tb@vore:~/foo$ man dchroot
> No manual entry for dchroot
> tb@vore:~/foo$ dchroot --help
> Usage: dchroot <chroot>
> Available chroots: unstable testing stable oldstable sid sarge woody potato
> tb@vore:~/foo$ dchroot sid
> Executing shell in chroot: /org/vore.debian.org/chroots/user/sid
> (unstable)tb@vore:~$ apt-get install li  xlibs-dev
> 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?
>
>
> So that's splendid, but doesn't help me debug anything.

You do know that apt has extensive documentation detailing how to
change pretty much everything. You can run apt without locking or
change the directory where apt puts the lock and downloads debs to
....

You can run apt-get completly as user if you use -d or -s. If you need
a detailed example look at the get-packages in debian-installer.

Also apt-cache should work fine in the chroot.

> Perhaps this is obvious to y'all, but in the absence of someone who
> says "I volunteer to figure out why this is failing", I have to try
> myself, and the seemingly obvious tools are escaping me.
>
> Thomas

For s390 try the emulator.

MfG
        Goswin

PS: One can also read Packages files manually and ude dpkg -I, -e and
-x to inspect packages on another arch.



Reply to: