Remove a package marked as rc by dpkg
There is a significant difference between dpkg –remove or –purge. dpkg –remove only the package binaries. The configuration files of the package are not deleted. Such packages normally have the state rc. Take for example, a package like usplash in our machine. The package’s configuration files are still part of the system. $ dpkg –list [...]
What does ii correspond to in dpkg (–list)?
You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages. While checking the status of packages using dpkg, you may come across the state ii. $ dpkg –list Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: [...]
What does rc correspond to in dpkg (–list)?
You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages. While checking the status of packages using dpkg, you may come across the state rc. $ dpkg –list Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: [...]
How to see the Current State of package (Ubuntu)?
Two commands can be used to see the current state of a package. dpkg dpkg-query Let’s assume that the package vim is currently installed. Current state of a package Using dpkg dpkg –list can be used to know the status of a package. $ dpkg –list vim Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ [...]
How to interpret the status of dpkg (–list)?
dpkg (debian package manager) is the package manager for Ubuntu (debian based distributions). dpkg can be used to install packages in Ubuntu. With dpkg, you can see the status of various packages like: the packages are currently installed the packages are removed the configuration files are present marked for removal Let’s explore the output of [...]
How to see the list of available packages in Ubuntu?
dpkg can be used to install the packages in Ubuntu. To see the currently available packages, there is –list (-l) option. $ dpkg –list Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-===============================================-===============================================-============================================ ii acpi-support 0.136 scripts for handling many ACPI events ii acpid 1.0.10-5ubuntu2 Advanced Configuration and Power Interface e [...]