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

adt-run sh: 1: cd: can't cd to .



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)



Reply to: