[Bug 922639] Re: apt-clone: "Could not exec dpkg"

Colin Watson cjwatson at canonical.com
Fri Jan 27 15:09:03 UTC 2012


** Attachment added: "strace"
   https://bugs.launchpad.net/bugs/922639/+attachment/2696577/+files/apt-clone.trace.bz2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-clone in Ubuntu.
https://bugs.launchpad.net/bugs/922639

Title:
  apt-clone: "Could not exec dpkg"

Status in “apt-clone” package in Ubuntu:
  New

Bug description:
  I tried to restore the apt-clone state file from bug 922485 into a
  chroot so that I could investigate it, running it as 'sudo
  http_proxy=http://wwwcache:3142/ linux32 apt-clone restore
  --destination /media/passport/chroot/lucid-precise-922485 ./922485
  -apt-clone_system_state.tar.gz'.  The restore eventually failed with:

    Chrooting into /media/passport/chroot/lucid-precise-922485/
    Could not exec dpkg!

  strace shows that the execve call is:

    17145 execve("/media/passport/chroot/lucid-
  precise-922485/usr/bin/dpkg", ["/media/passport/chroot/lucid-
  precise-922485/usr/bin/dpkg", "--status-fd", "16", "--unpack",
  "--auto-deconfigure", "/var/cache/apt/archives/libpam-
  modules_1.1.1-2ubuntu5.4_i386.deb"], [/* 22 vars */] <unfinished ...>

  That shouldn't have the chroot directory prefixed.  I don't know
  whether this is a bug in apt-clone or in apt.

  I've attached a bzipped strace of the tail-end of the apt-clone run.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/922639/+subscriptions




More information about the foundations-bugs mailing list