Hot answers tagged dpkg
Congratulations, you found your first bug. Now to workaround you need to create the user yourself: sudo adduser mahmoud Now uninstall kismet: sudo apt-get purge kismet Now clean your system: sudo apt-get autoremove
Well dpkg (Debian package management system ) package provides the low-level infrastructure for handling the installation and removal of Debian software packages.So removing it was not a good idea, and you can can it back by- Downloading the file by using wget - wget https://launchpad.net/ubuntu/+archive/primary/+files/dpkg_188.8.131.52ubuntu7.2.tar.bz2 ...
Why did you removed all directories under /var/lib/dpkg???? You removed all sorts of important files and directories and it will not be easy to recover. If you are too hasty you may consider reinstall and never ever log in as root and use rm with the recursive, remember: root + rm + -r = disaster So what did you condemned to the perdition? ls -l ...
The installation doesn't go without a hitch: Errors were encountered while processing: openoffice4.0-debian-menus_4.0-9714_all.deb This means there were error processing the packages, hence reading back: dpkg: error processing openoffice4.0-debian-menus_4.0-9714_all.deb (--install): trying to overwrite '/usr/bin/soffice', which is also in package ...
You need to be root to remove files from that directory: sudo rm -vf /var/lib/dpkg/lock Also, if you're running this command because an update got stuck, you don't need to delete the whole "dpkg" folder, try first deleting only the lock file. If this doesn't work, try again like this: sudo rm -rvf /var/lib/dpkg/
Only top voted, non community-wiki answers of a minimum length are eligible