Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp: cannot stat '/home/pmenzel/src/grml-debootstrap//extrapackages/': No such file or directory #274

Open
paulmenzel opened this issue Apr 2, 2024 · 1 comment

Comments

@paulmenzel
Copy link
Contributor

I thought this worked in the past, but without extrapackages/ it fails:

$ git log --no-decorate --oneline -1
fa44c61 Release new version 0.108
$ sudo ~/src/grml-debootstrap/grml-debootstrap -d /home/pmenzel/src/grml-debootstrap/ --arch=amd64 -r sid --vmfile --vmsize 100G --target /scratch/local2/pmenzel/debian-20240402.img
[…]
I: Base system installed successfully.
 * Preparing chroot system
cp: cannot stat '/home/pmenzel/src/grml-debootstrap//extrapackages/': No such file or directory
Unexpected non-zero exit code 1 in /home/pmenzel/src/grml-debootstrap/grml-debootstrap /home/pmenzel/src/grml-debootstrap/grml-debootstrap /home/pmenzel/src/grml-debootstrap/grml-debootstrap at line 1862 2132 0 detected!
last bash command: cp $VERBOSE -a -L "${CONFFILES}"/extrapackages/ "${MNTPOINT}"/etc/debootstrap/
 -> Failed (rc=1)
 * Removing /var/cache/grml-debootstrap/variables_debian-20240402.img
 * Removing /var/cache/grml-debootstrap/stages_debian-20240402.img
rmdir: failed to remove '/mnt/debootstrap.75962': Device or resource busy
 * Unmounting /mnt/debootstrap.75962
[…]
@mika
Copy link
Member

mika commented Apr 2, 2024

I'd assume this is related to the fact that we have more strict error/failure checking recently, and while it was failing also in the past it wasn't considered fatal.

Probably worth checking for existence of extrapackages directory and only use it then, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants