I patched pam and tested it:

```
mkdir /tmp/local-repo
cp ../*1.1.8-3.2ubuntu2.4*deb /tmp/local-repo
cd /tmp/local-repo
apt-ftparchive packages . > Packages

mmdebstrap \
  --setup-hook='mkdir -p "$1/tmp/local-repo" && mount --bind /tmp/local-repo 
"$1/tmp/local-repo"' \
  --setup-hook='echo "deb [trusted=yes] file:///tmp/local-repo ./" > 
"$1/etc/apt/sources.list.d/local.list"' \
  --customize-hook='umount "$1/tmp/local-repo" && rmdir "$1/tmp/local-repo" && 
rm -f "$1/etc/apt/sources.list.d/local.list"' \
  xenial xenial.tar http://archive.ubuntu.com/ubuntu -v 2>&1 | tee log
```

I still get:
```
chfn: PAM: Critical error - immediate abort
```

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

Title:
  mmdebstrap fails to build images for xenial and older

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mmdebstrap/+bug/2158250/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to