How to obtain list of installed packages
Bret Busby
bret.busby at gmail.com
Wed May 11 16:58:38 UTC 2016
On 11/05/2016, Tom H <tomh0665 at gmail.com> wrote:
> On Wed, May 11, 2016 at 2:05 PM, Bret Busby <bret.busby at gmail.com> wrote:
>> On 11/05/2016, Tom H <tomh0665 at gmail.com> wrote:
>>> On Wed, May 11, 2016 at 12:47 PM, Ralf Mardorf <silver.bullet at zoho.com>
>>> wrote:
>>>> On Wed, 11 May 2016 12:06:29 +0200, Tom H wrote:
>>>>>
>>>>> The best answer's the one that proposed an aptitude search because it
>>>>> returned the list of packages that were installed specifically rather
>>>>> than automatically.
>>>>
>>>> this isn't a good advice.
>>>>
>>>> A pitfall could be that some packages are installed with the
>>>> recommended packages, but others were not installed with recommended
>>>> packages. This is important even when installing the same Ubuntu
>>>> release and fails when following your advice Tom.
>>>
>>> Not at all.
>>>
>>> You can run "aptitude -F %p search '?narrow(?installed,!?automatic)'"
>>> (or "aptitude -F %p search '~S ~i !~M'") to get the list of packages
>>> that were installed manually.
>>
>> Ah, no.
>>
>> Because, after I installed aptitude (it was not installed, when I
>> first tried to run the command), and, again ran that command, as
>> shown, it listed all kinds of packages that I had no knowledge of
>> installing.
>
> Don't be ridiculous!
>
> Did you install "apt"? Isn't it installed?
>
> How about "acl", "adduser", "anacron", "apparmor", "apport", ...? (And
> these are the As that I can remember off-hand.)
>
That has absolutely nothing to do with the topic.
The last paragraph of the post to which I had replied, above, is
completely misleading.
"
>>> You can run "aptitude -F %p search '?narrow(?installed,!?automatic)'"
>>> (or "aptitude -F %p search '~S ~i !~M'") to get the list of packages
>>> that were installed manually.
"
That is absolute rubbish.
The packages that you named specifically;
"
> Don't be ridiculous!
>
> Did you install "apt"? Isn't it installed?
>
> How about "acl", "adduser", "anacron", "apparmor", "apport", ...? (And
> these are the As that I can remember off-hand.)
"
WERE NOT MANUALLY INSTALLED!!!!!!!!!!!!!!!!!!!!!!
"
"
>>> You can run "aptitude -F %p search '?narrow(?installed,!?automatic)'"
>>> (or "aptitude -F %p search '~S ~i !~M'") to get the list of packages
>>> that were installed manually.
"
"
Why do you not try to be helpful, instead of setting out to be nasty
and deliberately wasting people's time with your nastiness?
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
More information about the ubuntu-users
mailing list