[Bug 1913629] Re: adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-timesync' returned error code 1. Exiting.`
Marietto
1913629 at bugs.launchpad.net
Tue Feb 2 20:04:30 UTC 2021
Hello. I have installed these packages on the arm64 / jetson nano /
ubuntu 18.04 because the older ones were bugged :
dpkg -i /root/Scaricati/arm64/libpam0g_1.3.1-5ubuntu4.1_arm64.deb
dpkg -i /root/Scaricati/arm64/libpam-modules-bin_1.3.1-5ubuntu4_arm64.deb
dpkg -i /root/Scaricati/arm64/libpam-modules_1.3.1-5ubuntu4_arm64.deb
and then I have tried to make a new chroot with ubuntu groovy i386 and
this is what happened :
root at ziomario-desktop:~/Scrivania/Work/qemu-chroot-nano# sudo chroot ./chroot-groovy-i386/ /debootstrap/debootstrap --second-stage
I: Keyring file not available at /usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https mirror https://deb.debian.org/debian
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-10-base:i386...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init-system-helpers...
I: Unpacking libacl1:i386...
I: Unpacking libattr1:i386...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:i386...
I: Unpacking libblkid1:i386...
I: Unpacking libbz2-1.0:i386...
I: Unpacking libc-bin...
I: Unpacking libc6:i386...
I: Unpacking libcap-ng0:i386...
I: Unpacking libcom-err2:i386...
I: Unpacking libcrypt1:i386...
I: Unpacking libdb5.3:i386...
I: Unpacking libdebconfclient0:i386...
I: Unpacking libext2fs2:i386...
I: Unpacking libgcc-s1:i386...
I: Unpacking libgcrypt20:i386...
I: Unpacking libgmp10:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking libgssapi-krb5-2:i386...
I: Unpacking libk5crypto3:i386...
I: Unpacking libkeyutils1:i386...
I: Unpacking libkrb5-3:i386...
I: Unpacking libkrb5support0:i386...
I: Unpacking liblz4-1:i386...
I: Unpacking liblzma5:i386...
I: Unpacking libmount1:i386...
I: Unpacking libncurses6:i386...
I: Unpacking libncursesw6:i386...
I: Unpacking libnsl2:i386...
I: Unpacking libnss-nis:i386...
I: Unpacking libnss-nisplus:i386...
I: Unpacking libpam-modules:i386...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:i386...
I: Unpacking libpcre2-8-0:i386...
I: Unpacking libpcre3:i386...
I: Unpacking libprocps8:i386...
I: Unpacking libselinux1:i386...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:i386...
I: Unpacking libsepol1:i386...
I: Unpacking libsmartcols1:i386...
I: Unpacking libss2:i386...
I: Unpacking libssl1.1:i386...
I: Unpacking libsystemd0:i386...
I: Unpacking libtinfo6:i386...
I: Unpacking libtirpc-common...
I: Unpacking libtirpc3:i386...
I: Unpacking libudev1:i386...
I: Unpacking libuuid1:i386...
I: Unpacking libzstd1:i386...
I: Unpacking login...
I: Unpacking logsave...
I: Unpacking lsb-base...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking util-linux...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring libtirpc-common...
I: Configuring libaudit-common...
I: Configuring libsemanage-common...
I: Configuring gcc-10-base:i386...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libtirpc3:i386...
I: Configuring libcrypt1:i386...
I: Configuring libgcc-s1:i386...
I: Configuring libnss-nis:i386...
I: Configuring libnsl2:i386...
I: Configuring libnss-nisplus:i386...
I: Configuring libc6:i386...
I: Configuring libudev1:i386...
I: Configuring libsepol1:i386...
I: Configuring libattr1:i386...
I: Configuring debianutils...
I: Configuring mawk...
I: Configuring libdebconfclient0:i386...
I: Configuring base-files...
I: Configuring libbz2-1.0:i386...
I: Configuring base-passwd...
I: Configuring libdb5.3:i386...
I: Configuring libblkid1:i386...
I: Configuring libtinfo6:i386...
I: Configuring bash...
I: Configuring libzstd1:i386...
I: Configuring libkeyutils1:i386...
I: Configuring liblzma5:i386...
I: Configuring libgpg-error0:i386...
I: Configuring liblz4-1:i386...
I: Configuring libc-bin...
I: Configuring ncurses-bin...
I: Configuring libacl1:i386...
I: Configuring libsmartcols1:i386...
I: Configuring libgcrypt20:i386...
I: Configuring zlib1g:i386...
I: Configuring libcom-err2:i386...
I: Configuring diffutils...
I: Configuring libsystemd0:i386...
I: Configuring libkrb5support0:i386...
I: Configuring hostname...
I: Configuring libpcre3:i386...
I: Configuring libcap-ng0:i386...
I: Configuring libext2fs2:i386...
I: Configuring libgmp10:i386...
I: Configuring libncurses6:i386...
I: Configuring libaudit1:i386...
I: Configuring libuuid1:i386...
I: Configuring libss2:i386...
I: Configuring libpcre2-8-0:i386...
I: Configuring libncursesw6:i386...
I: Configuring libk5crypto3:i386...
I: Configuring logsave...
I: Configuring libprocps8:i386...
I: Configuring bsdutils...
I: Configuring e2fsprogs...
I: Configuring libselinux1:i386...
I: Configuring sed...
I: Configuring findutils...
I: Configuring libmount1:i386...
I: Configuring libsemanage1:i386...
I: Configuring tar...
I: Configuring coreutils...
I: Configuring dpkg...
I: Configuring grep...
I: Configuring perl-base...
I: Configuring init-system-helpers...
I: Configuring gzip...
I: Configuring procps...
I: Configuring debconf...
I: Configuring libpam0g:i386...
I: Configuring dash...
I: Configuring libssl1.1:i386...
I: Configuring libpam-modules-bin...
I: Configuring libkrb5-3:i386...
I: Configuring libpam-modules:i386...
I: Configuring libgssapi-krb5-2:i386...
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...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking bzip2...
I: Unpacking ca-certificates...
I: Unpacking console-setup...
I: Unpacking console-setup-linux...
I: Unpacking dbus...
I: Unpacking debconf-i18n...
I: Unpacking distro-info-data...
I: Unpacking dmsetup...
I: Unpacking eject...
I: Unpacking file...
I: Unpacking gir1.2-glib-2.0:i386...
I: Unpacking gpgv...
I: Unpacking init...
I: Unpacking iproute2...
I: Unpacking keyboard-configuration...
I: Unpacking kmod...
I: Unpacking less...
I: Unpacking libapt-pkg6.0:i386...
I: Unpacking libatm1:i386...
I: Unpacking libbsd0:i386...
I: Unpacking libcap2-bin...
I: Unpacking libdbus-1-3:i386...
I: Unpacking libelf1:i386...
I: Unpacking libfribidi0:i386...
I: Unpacking libgirepository-1.0-1:i386...
I: Unpacking libglib2.0-0:i386...
I: Unpacking libglib2.0-data...
I: Unpacking libicu67:i386...
I: Unpacking liblocale-gettext-perl...
I: Unpacking libmagic-mgc...
I: Unpacking libmagic1:i386...
I: Unpacking libmnl0:i386...
I: Unpacking libnewt0.52:i386...
I: Unpacking libnss-systemd:i386...
I: Unpacking libpam-cap:i386...
I: Unpacking libpam-systemd:i386...
I: Unpacking libpopt0:i386...
I: Unpacking libpython3-stdlib:i386...
I: Unpacking libpython3.8-stdlib:i386...
I: Unpacking libreadline8:i386...
I: Unpacking libslang2:i386...
I: Unpacking libsqlite3-0:i386...
I: Unpacking libstdc++6:i386...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking libxml2:i386...
I: Unpacking libxtables12:i386...
I: Unpacking libyaml-0-2:i386...
I: Unpacking locales...
I: Unpacking lsb-release...
I: Unpacking mime-support...
I: Unpacking netbase...
I: Unpacking netcat-openbsd...
I: Unpacking networkd-dispatcher...
I: Unpacking openssl...
I: Unpacking python3...
I: Unpacking python3-dbus...
I: Unpacking python3-gi...
I: Unpacking python3-pkg-resources...
I: Unpacking python3-yaml...
I: Unpacking python3.8...
I: Unpacking readline-common...
I: Unpacking shared-mime-info...
I: Unpacking sudo...
I: Unpacking tzdata...
I: Unpacking ubuntu-keyring...
I: Unpacking ucf...
I: Unpacking udev...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking whiptail...
I: Unpacking xkb-data...
I: Unpacking xxd...
I: Unpacking xz-utils...
I: Configuring the base system...
I: Configuring libtext-iconv-perl...
I: Configuring libtext-charwidth-perl...
I: Configuring mime-support...
I: Configuring init...
I: Configuring libmagic-mgc...
I: Configuring libyaml-0-2:i386...
I: Configuring libglib2.0-0:i386...
I: Configuring distro-info-data...
I: Configuring libsqlite3-0:i386...
I: Configuring libmagic1:i386...
I: Configuring less...
I: Configuring libnss-systemd:i386...
I: Configuring xkb-data...
I: Configuring file...
I: Configuring kmod...
I: Configuring libatm1:i386...
I: Configuring bzip2...
I: Configuring locales...
I: Configuring ubuntu-keyring...
I: Configuring libtext-wrapi18n-perl...
I: Configuring xxd...
I: Configuring tzdata...
I: Configuring libcap2-bin...
I: Configuring eject...
I: Configuring libglib2.0-data...
I: Configuring vim-common...
I: Configuring libslang2:i386...
I: Configuring libdbus-1-3:i386...
I: Configuring dbus...
I: Configuring xz-utils...
I: Configuring libfribidi0:i386...
I: Configuring libmnl0:i386...
I: Configuring udev...
I: Configuring sudo...
I: Configuring ucf...
I: Configuring libxtables12:i386...
I: Configuring dmsetup...
I: Configuring gpgv...
I: Configuring libpam-systemd:i386...
I: Configuring libgirepository-1.0-1:i386...
I: Configuring netbase...
I: Configuring openssl...
I: Configuring libbsd0:i386...
I: Configuring libelf1:i386...
I: Configuring libpam-cap:i386...
I: Configuring readline-common...
I: Configuring libstdc++6:i386...
I: Configuring liblocale-gettext-perl...
I: Configuring libpopt0:i386...
I: Configuring libnewt0.52:i386...
I: Configuring libicu67:i386...
I: Configuring iproute2...
I: Configuring libreadline8:i386...
I: Configuring netcat-openbsd...
I: Configuring debconf-i18n...
I: Configuring vim-tiny...
I: Configuring ca-certificates...
I: Configuring libapt-pkg6.0:i386...
I: Configuring gir1.2-glib-2.0:i386...
I: Configuring whiptail...
I: Configuring keyboard-configuration...
I: Configuring libpython3.8-stdlib:i386...
I: Configuring python3.8...
I: Configuring libxml2:i386...
I: Configuring libpython3-stdlib:i386...
I: Configuring apt...
I: Configuring apt-utils...
I: Configuring python3...
I: Configuring python3-gi...
I: Configuring shared-mime-info...
I: Configuring lsb-release...
I: Configuring python3-pkg-resources...
I: Configuring python3-dbus...
I: Configuring python3-yaml...
I: Configuring networkd-dispatcher...
I: Configuring libc-bin...
I: Configuring systemd...
I: Configuring ca-certificates...
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package console-setup-linux is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package console-setup-linux is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package console-setup-linux is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package console-setup-linux is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package console-setup-linux is at fault)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1913629
Title:
adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
timesync' returned error code 1. Exiting.`
Status in pam package in Ubuntu:
New
Bug description:
Hello to everyone.
Actually I'm trying to run X86 applications on my Jetson Nano using
qemu and debootstrapping debian 9 on ubuntu 18.04 for arm64,but it
seems that an old bug that it seems to be fixed here but it's not :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745082
This is what I did to achieve my goal :
sudo apt-get update
apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils
debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386/
and this is what happens :
http://ftp.us.debian.org/debian
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving InRelease
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1
I: Found additional base dependencies: dmsetup gnupg-agent libapparmor1 libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libksba8 liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libunistring0 libxtables12 pinentry-curses xxd
I: Checking component main on http://ftp.us.debian.org/debian...
I: Retrieving libacl1 2.2.52-3+b1
.....
I: Extracting zlib1g...
At this point I've mounted the partitions :
sudo mount -t sysfs /sys/ ./chroot-stretch-i386/sys/
sudo mount -t proc /proc/ ./chroot-stretch-i386/proc/
sudo mount --bind /dev ./chroot-stretch-i386/dev/
sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/
and I've copied the qemu static on the chrooted debian i386 folder :
cp /usr/bin/qemu-i386-static ./chroot-stretch-i386/usr/bin
and I've started the second stage of debootstrap :
root at ziomario-desktop:~/Scrivania/qemu-x86# sudo chroot ./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage
at some point this is what happens :
libc6 is not installed ; libdebconfclient0 is not installed ; awk is not installed ; libbz2-1.0 is not installed ; libc6 is not installed ; liblzma5 is not installed ;
libselinux1 is not installed ; zlib1g is not installed ; tar is not installed ; libgcc1 is not installed ; dash is not installed ; libtinfo5 is not installed ; libblkid1 is not installed ; libcomerr2 is not installed ; libss2 is not installed ; libuuid1 is not installed ; util-linux is not installed ; libpcre3 is not installed ; libpam0g is not installed ; libpam-modules-bin is not installed.
Adding group \systemd-journal' (GID 101) ...`
Done.
at this point I saw the error that should have been fixed :
chfn: PAM: System error
adduser: \/usr/bin/chfn -f systemd Time Synchronization systemd-
timesync' returned error code 1. Exiting.`
dpkg: error processing package systemd (--install):
subprocess installed post-installation script returned error exit
status 1
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Errors were encountered while processing:
systemd
W: Failure trying to run: dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/adduser_3.115_all.deb /var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_i386.deb /var/cache/apt/archives/libcryptsetup4_2%3a1.7.3-4_i386.deb /var/cache/apt/archives/libip4tc0_1.6.0+snapshot20161117-6_i386.deb /var/cache/apt/archives/libkmod2_23-2_i386.deb /var/cache/apt/archives/libcap2_1%3a2.25-1_i386.deb /var/cache/apt/archives/libidn11_1.33-1+deb9u1_i386.deb /var/cache/apt/archives/libseccomp2_2.3.1-2.1+deb9u1_i386.deb /var/cache/apt/archives/dmsetup_2%3a1.02.137-2_i386.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.137-2_i386.deb /var/cache/apt/archives/libncurses5_6.0+20161126-1+deb9u2_i386.deb /var/cache/apt/archives/libprocps6_2%3a3.3.12-3+deb9u1_i386.deb /var/cache/apt/archives/procps_2%3a3.3.12-3+deb9u1_i386.deb /var/cache/apt/archives/systemd_232-25+deb9u12_i386.deb
W: See //debootstrap/debootstrap.log for details (possibly the package
systemd is at fault)
u can find the full log here : https://pastebin.com/XwkQp91Y
what to do ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1913629/+subscriptions
More information about the foundations-bugs
mailing list