Updates: How To Get Rid of List of Unneeded Packages?

Message
Author
shrinker09
Posts: 81
Joined: Sat Jan 25, 2020 10:24 am

Updates: How To Get Rid of List of Unneeded Packages?

#1 Post by shrinker09 »

When MX-Linux updates, it starts with a list of packages that it says were removed and are no longer needed, so it's not going to update them. Then it says to use apt-get or whatever to remove them. I meant to copy the list and the command and paste here, but when I used the keyboard to copy, it closed the software updater. 9_9

I recognize some of the things in the list that I uninstalled a few days ago (like MariaDB). I thought I had completely uninstalled them in Synaptic, but apparently they're still there. Do I need to copy the list of programs and then do the command line with each item in the list? Is there a way to open Synaptic Package Manager and get rid of them that way?

DerRoteBlitz
Posts: 25
Joined: Fri Aug 30, 2019 1:49 pm

Re: Updates: How To Get Rid of List of Unneeded Packages?

#2 Post by DerRoteBlitz »

Press F4 and type

Code: Select all

sudo apt autoremove
Thats it...

User avatar
Stevo
Developer
Posts: 14719
Joined: Fri Dec 15, 2006 7:07 pm

Re: Updates: How To Get Rid of List of Unneeded Packages?

#3 Post by Stevo »

Those packages are still on your system, but are listed as orphaned and unwanted. :frown:

But people have borked their systems by getting too trigger-happy with the autoremove, so you should simulate a removal first and copypaste the list first here so we can take a look at it. Plus it's never a bad idea to make regular system backups or restore points, anyway.

Code: Select all

sudo apt -s autoremove

User avatar
chrispop99
Global Moderator
Posts: 3374
Joined: Tue Jan 27, 2009 2:07 pm

Re: Updates: How To Get Rid of List of Unneeded Packages?

#4 Post by chrispop99 »

Also not that those files will not harm your system, or take any significant space.

I've gotten out of the habit of removing them, and just let them remain.

Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines

User avatar
Eadwine Rose
Administrator
Posts: 14923
Joined: Wed Jul 12, 2006 2:10 am

Re: Updates: How To Get Rid of List of Unneeded Packages?

#5 Post by Eadwine Rose »

chrispop99 wrote: Tue Oct 06, 2020 3:13 pm Also not that those files will not harm your system, or take any significant space.

I've gotten out of the habit of removing them, and just let them remain.

Chris
Same here.. I was one of those who borked in the past.. they don't bug me, so.. they can stay.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

shrinker09
Posts: 81
Joined: Sat Jan 25, 2020 10:24 am

Re: Updates: How To Get Rid of List of Unneeded Packages?

#6 Post by shrinker09 »

Stevo wrote: Tue Oct 06, 2020 2:42 pm Those packages are still on your system, but are listed as orphaned and unwanted. :frown:

But people have borked their systems by getting too trigger-happy with the autoremove, so you should simulate a removal first and copypaste the list first here so we can take a look at it. Plus it's never a bad idea to make regular system backups or restore points, anyway.

Code: Select all

sudo apt -s autoremove
This is what came up:

Code: Select all

The following packages will be REMOVED:
  apache2-bin apache2-data cinnamon-desktop-data galera-3 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcinnamon-desktop4 libconfig-inifiles-perl
  libdbi-perl libexempi8 libgail-3-0 libgle3 libgnomekbd-common libgnomekbd8 libnemo-extension1
  libxapp1 mariadb-client-10.3 mariadb-client-core-10.3 mariadb-server-10.3
  mariadb-server-core-10.3 nemo-data python3-pypdf2 xapps-common xsel
0 upgraded, 0 newly installed, 26 to remove and 0 not upgraded.
Remv apache2-bin [2.4.38-3+deb10u4]
Remv apache2-data [2.4.38-3+deb10u4]
Remv libcinnamon-desktop4 [3.8.1-2]
Remv cinnamon-desktop-data [3.8.1-2]
Remv mariadb-server-10.3 [1:10.3.23-0+deb10u1]
Remv galera-3 [25.3.25-2]
Remv libaprutil1-ldap [1.6.1-4]
Remv libaprutil1-dbd-sqlite3 [1.6.1-4]
Remv libaprutil1 [1.6.1-4]
Remv libapr1 [1.6.5-1+b1]
Remv mariadb-client-10.3 [1:10.3.23-0+deb10u1]
Remv libconfig-inifiles-perl [3.000001-1]
Remv libdbi-perl [1.642-1+deb10u1]
Remv libexempi8 [2.5.0-2]
Remv libgail-3-0 [3.24.5-1.3MX19]
Remv libgle3 [3.1.0-7.2]
Remv libxapp1 [1.8.9-1~mx19+1]
Remv libgnomekbd8 [3.26.1-1]
Remv libgnomekbd-common [3.26.1-1]
Remv libnemo-extension1 [3.8.5-1+b1]
Remv mariadb-client-core-10.3 [1:10.3.23-0+deb10u1]
Remv mariadb-server-core-10.3 [1:10.3.23-0+deb10u1]
Remv nemo-data [3.8.5-1]
Remv python3-pypdf2 [1.26.0-2]
Remv xapps-common [1.8.9-1~mx19+1]
Remv xsel [1.2.0+git9bfc13d.20180109-1]

Post Reply

Return to “Software / Configuration”