Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Raspberry Pi OS • Issue deleting packages on the command line

$
0
0
Greetings,

Given a PI4 with a freshly installed bookworm I want to make a script to remove not needed software. When looking with Menu, Preferences, Add/Remove software, Accessoiries I see a lot of things not needed. But here is where I started. I do not want to remove packages interactive because I want to make a script that should, in the end, be used on 25 PI's.

So here is the issue. When looking at the Accessoiries, the first entry is 2vcard version 0.6-4. When typing apt show 2vcard the output is:

Code:

Package: 2vcardVersion: 0.6-4Priority: optionaletc...
So far, so good. The next command issued is: sudo apt remove 2vcard. The output is:

Code:

Reading package lists... DoneBuilding dependency tree... DoneReading state information... DonePackage '2vcard' is not installed, so not removed0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
What am I missing here?

TIA, Adriaan.

Statistics: Posted by Adriaan — Sun Jun 15, 2025 9:40 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles