cleaning obsolete packages

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
toran
Posts: 1
Joined: 26. Sep 2017, 22:22

cleaning obsolete packages

Post by toran »

Greetings to all users of the best distro I ever used,

I should like to remove unused obsolete packages from my Salix 14.2.
sudo slapt-get --remove-obsolete is what I tried.
I get a list of all options.
So this is an option, but what bext?

Actually I search a commend like in Debian
sudo apt-get autoremove

Thanks for helping out.

Greetings

Toran
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: cleaning obsolete packages

Post by mimosa »

Just follow the instructions on the wiki - see the section on "obsolete packages":
https://docs.salixos.org/wiki/How_to_up ... .1_to_14.2
If in doubt, a fresh 14.2 install may be more straightforward.
User avatar
Luffy
Posts: 42
Joined: 3. Jul 2017, 22:03

Re: cleaning obsolete packages

Post by Luffy »

What probabilities are there to break the system if I delete udisk and udevil (manipulate storage devices),

Code: Select all

> LANG=C slapt-get --remove-obsolete --remove
Reading Package Lists...Done
The following packages have been EXCLUDED:
  zzz-settings-openbox 
The following packages will be REMOVED:
  deadbeef exfat-utils fbpanel fuse-exfat gmrun hack-font-ttf ncdu parcellite 
  pcmanfm plank qt5ct rxvt-unicode smtube sublime_text .............................. udevil 
Not listed, *** PACKAGE REMOVALS SINCE 14.1 ***, ftp://ftp.ntua.gr/pub/linux/slackware/s ... _HINTS.TXT

Code: Select all

> slapt-get --search udevil
udevil-0.4.3-i486-1dj [inst=sí]: udevil (removable devices manager)
> ls -l /usr/bin/udevil 
-rwsr-xr-- 1 root plugdev 101296 ene 19  2014 /usr/bin/udevil
"udisk", wiki: " [...] Development of udisks has ceased in favor of udisks2 [...]".

Code: Select all

> slapt-get --search udisks 
udisks-1.0.5-i586-3 [inst=sí]: udisks (storage device daemon)
udisks2-2.1.5-i586-2 [inst=sí]: udisks2 (storage device daemon v2)
 > ls -l /usr/bin/udisks 
-rwxr-xr-x 1 root root 42024 nov 20  2015 /usr/bin/udisks
Where package updates are stored,

Code: Select all

> ls /var/cache/
cups/       fontconfig/ ldconfig/   samba/   
No mas dudas, :lol: Saludos.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: cleaning obsolete packages

Post by gapan »

Luffy wrote:What probabilities are there to break the system if I delete udisk and udevil (manipulate storage devices)
Since nothing uses them in 14.2 anymore, none at all.

But be careful with running that command anyway. "Obsolete" packages refers to packages that are not currently in the repos. That includes packages that you have built from source yourself or with slapt-src (or spi with a slackbuild source).
Image
Image
Post Reply