mviereck / dockerfile-x11docker-deepin

3D desktop deepin from China

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debootstrap failed with dpkg error

iamlixiao opened this issue · comments

When building the docker image, command

debootstrap --variant=minbase --arch=amd64 $DEEPIN_RELEASE /rootfs $DEEPIN_MIRROR

always fails with error:

......
I: Configuring tzdata...
I: Configuring libpam0g:amd64...
I: Configuring dash...
I: Configuring libpam-modules-bin...
I: Configuring libpam-modules:amd64...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring util-linux...
I: Configuring mount...
I: Configuring sysvinit-utils...
I: Configuring libc-bin...
I: Unpacking the base system...
W: Failure trying to run: chroot "/rootfs" dpkg --force-overwrite --force-confold --skip-same-version --install
W: See /rootfs/debootstrap/debootstrap.log for details

Checking debootstrap.log reveals the following error log:

......
Processing triggers for libc-bin (2.28.19-1+dde) ...
dpkg: error: --install needs at least one package archive file argument

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !

Could anyone see what wrong's going on here, or seed me with how to further investigate the problem?

Thank you for the report!
I can confirm the issue.
Yet I don't have an idea. Searching for the error message leads to quite old bug reports.

A few weeks ago the build succeeded.
Currently I don't have a clue what causes the issue.
I am not even sure if the issue is to search in debian/debootstrap or in deepin.

Finally I could fix the issue.
I have replaced debootstrap with similar tool multistrap.
Now the build of x11docker/deepin succeeds again.

I found hints to do so here: https://groups.google.com/g/linux.debian.maint.boot/c/v1GtS9odzys