It is a bit unbelievable. After extracting of atop package the `/lib` folder contains only one folder `/lib/systemd`. But before the accident it was a symlink to `/usr/lib`.
So you have a serious bug in `dpkg` - it should distinguish between ordinary objects and symlinks. Problem is solvable by the following actions sudo chroot /media/user/problematic-disk/ busybox sh rm -rf /lib ln -s usr/lib lib then boot the system and reinstall the package apt install atop --reinstall -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843476 Title: running `apt download atop` ; `sudo dpkg -x atop_2.4.0-3_amd64.deb /` kills the system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1843476/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
