[ubuntu-in] List Of Installed Software

Hardik Dalwadi hardik.dalwadi at ubuntu.com
Fri Jun 18 12:50:57 BST 2010


On Friday 18 June 2010 03:19 PM, Abhishek Amberkar [अभिषेक] wrote:
> On Fri, Jun 18, 2010 at 2:24 PM, Hardik Dalwadi
> <hardik.dalwadi at ubuntu.com>  wrote:
>
> <snip>
>> Also, if you want to remove deinstall (rc) packages, you have to purge
>> it separately. Again, you can not use "apt-get remove --purge" command
>> to purge packages. `dpkg -P package_name` would be your friend. If you
>> have bunch of packages, then here is one liner for the same:
>>
> <snip/>
>
> dpkg -P<package_name>  doesn't take care of dependencies. (CMIIW)

@ Abhishek,

Yes, I knew that. Even `aptitude purge` == `apt-get remove --purge`. 
Also `aptitude purge` == `dpkg -P` in some cases, where dependecny 
doesn't make any sense.  We have seen deinstall(rc) packages while 
maintaining Ubuntu system, without any package dependency. For example 
if you install pidgin, it will also install pidgin-data, but while 
removing (aptitude purge pidgin), it will not purge pidgin-data, which 
was installed while installing pidgin. It will only un-install the 
pidgin-data. Now, check the stat of pidgin-data, It will show 
deinstall(rc). It happens while upgrading / maintaining your system for 
a long time, you will have bunch of such packages. And i am sure all / 
most of packages would not have any relation with dependencies.

> while
>
> aptitude purge<package_name>  does.

:wq
-- 
Hardik Dalwadi
www.hardik.in




More information about the ubuntu-in mailing list