0

Remove a package marked as rc by dpkg

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, 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 [...]

Tags: , , ,

 
0

What does ii correspond to in dpkg (–list)?

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

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: [...]

Tags: , , , ,

 
0

What does rc correspond to in dpkg (–list)?

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

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: [...]

Tags: , ,

 
0

How to see the Current State of package (Ubuntu)?

Posted by Joys of Programming on May 11, 2010 in Linux, Ubuntu, dpkg

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) ||/ [...]

Tags: , , , , , , ,

 
0

How to interpret the status of dpkg (–list)?

Posted by Joys of Programming on May 11, 2010 in Linux, Ubuntu, dpkg

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 [...]

Tags: , , , ,

 
0

How to see the list of available packages in Ubuntu?

Posted by Joys of Programming on May 11, 2010 in Linux, Ubuntu, dpkg

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 [...]

Tags: , , ,

Copyright © 2009-2010 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.7.2 theme from BuyNowShop.com.