adt-run sh: 1: cd: can't cd to .
Martin Pitt
mpitt at debian.org
Sun Sep 20 14:51:22 UTC 2015
Hello Christopher,
Christopher Baines [2015-09-20 10:38 +0100]:
> I am having some issues running adt-run. I have attached the relevant
> part of the output, and below is the command that I ran.
>
> $ adt-run --apt-upgrade build-area/*.deb test-pkg// -ddd --shell-fail
> --- lxc adt-wheezy
Do you run this command as root? You don't use lxc --sudo, and
Debian's LXC packages don't support user containers (very well).
> + cd .
> sh: 1: cd: can't cd to .
> adt-run: DBG: testbed command exited with code 2
This seems unrelated to LXC. Just to make sure, do you get the same
with "null"?
At first sight I'd say you are running adt-run from a current
directory which does not yet exist any more. Perhaps a build tree that
got removed in a different shell?
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the autopkgtest-devel
mailing list