Errors were encountered while processing: usrmerge #29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi Jochen,
I'm currently encountering the following error when running mmdebstrap at main. Would appreciate any help you can provide. Thanks!
Some more relevant output that occurs earlier:
The "/usr//usr" looks suspicious
Can you give me more context, please? At least provide:
So far this looks like a bug in the usrmerge package and not in mmdebstrap. I feel reminded of this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025926
Fails with the above output. Here's the interesting part I just realized:
the above command uses fakechroot:
But if run with sudo, i.e.
it succeeds.
So it might be related to some interplay with fakechroot?
Aha, nice find! Then this looks like a bug in the usrmerge package because with usrmerge from Debian unstable, fakechroot mode works fine. You might want to contact the usrmerge maintainers about this problem.
To get better isolation than with fakechroot and to avoid having to use root, I recommend you use --mode=unshare. Your log points out that you are missing the newuidmap utility. Try installing the
uidmap
package.Woot! once I installed uidmap, mmdebstrap selected unshare and all is well. Thanks for your help. And thanks for creating such an excellent piece of software!
I thought this went away, but seems like it's still happening in some capacity.
With --mode==unshare, I get this (but not with --mode=sudo):
with --mode==fakeroot I get a completely (unrelated) different error:
P.s.
This seems to be related to https://askubuntu.com/questions/1427529/upgrade-to-22-04-failed-error-got-error-from-postinstallscript
Does mmdebstrap install a particular system and then perform a dist-upgrade?
That does not look like an error. What is the exit status of mmdebstrap in the end?
That is an error. What is your exact invocation of mmdebstrap?
No, it doesn't upgrade. It installs the requested packages straight away.
Re: --mode=unshare:
So this is benign? Exit status is 0.
Re: --mode=fakeroot:
The following invocation causes the error. This is running on a jammy vm, and sources.list is a copy of a jammy sources.list.