Contents
What is dpkg in Linux?
dpkg is the software that forms the low-level base of the Debian package management system. It is the default package manager on Ubuntu. You can use dpkg to install, configure, upgrade or remove Debian packages, and retrieve information of these Debian packages.
How do I get dpkg in Linux?
Simply type dpkg followed by –install or –i option and the . deb file name. Also, the dpkg will not install the package and will leave it in an unconfigurable and broken state. This command will fix the broken package and install the required dependencies assuming they are available in the system repository.
How do I run a .deb file?
Install/Uninstall . deb files
- To install a . deb file, simply Right click on the .
- Alternatively, you can also install a .deb file by opening a terminal and typing: sudo dpkg -i package_file.deb.
- To uninstall a .deb file, remove it using Adept, or type: sudo apt-get remove package_name.
Why is sub process usr / bin / dpkg returned an error?
Broken packages is a common problem in Ubuntu and other similar distros. Sometimes when you install a new application or update the system, you will encounter the error ‘Sub-process /usr/bin/dpkg returned an error code 1’ as happened with a user here : It may also occur when a package installation becomes corrupted.
How to fix dpkg returned an error code ( 1 )?
To reconfigure dpkg database, simply run: $ sudo dpkg –configure -a. This command will try to fix the corrupted dpkg database and then reconfigure all broken packages. This command usually fixes the dpkg returned an error code (1) problem. If it is not solved for any reason, follow the subsequent solutions.
What does the F option do in usr bin DPG?
If Method 1 does not work, you can attempt to fix the dependencies in the package installer. The -f option means fix-broken. It repairs any broken dependencies in your package manager. Broken dependencies occur when a download is interrupted, or there is a problem with the cached download.
What does dpkg package installer for Linux mean?
This refers to the dpkg package installer for Linux. A package installer is an application that tracks software, updates, and dependencies. If it is damaged, any new software installation will cause this error message. We cover several possible solutions, from easily-solved and straightforward solutions to more complex processes.