DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Red Hat Enterprise Linux, Debian & Ubuntu
Posts: 92
Rep:
dpkg -- what does a status of 'rc' mean?
Hey everyone,
I removed the packages php4 & php4-common from my system.
But when I type 'dpkg -l |grep php', it lists the 'php4-common' package, with an 'rc' in the Status column.
What does the 'rc' stand for? The configuration files are still installed on the system-- does the 'rc' refer to the configuration files?
Code:
# dpkg -l | grep php
rc php4-common 4.3.10-15 Common files for packages built from the php
I've been looking and looking, and can't find this information in the manpage, the dpkg webpage or anywhere else ('dpkg rc' is not a good search string).
A status of 'rc' signifies that the package has been removed, but that the configuration files remain (afaik -- however I haven't been able to find any doc to double-check). You can use 'purge' as an option to either dpkg or apt to remove these files also, if you wish.
Distribution: Red Hat Enterprise Linux, Debian & Ubuntu
Posts: 92
Original Poster
Rep:
Thanks yanik.
I tried that, but I don't see 'rc' listed anywhere in the first 3 lines.
dpkg is not a very user-friendly interface-- I guess if I stare at it hard enough, I can see that 'rc' means 'Remove' 'Config-files' or something-- but the meaning is not clear at all.
So in the output below-- I'm guessing that the package 'analog' was only partially removed, and the Config files remain.
Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii adduser 3.63 Add and remove users and groups
rc analog 5.32-14 analyzes logfiles from web servers
There are 3 fields. The first one is the called Desired, the second Status and the last one is Error.
Your first letter is r, thus the package is Removed
Your second letter is c, thus your config files are still there.
You don't have a third letter, thus no error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.