Page 1 of 1
cleaning obsolete packages
Posted: 8. Oct 2017, 03:48
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
Re: cleaning obsolete packages
Posted: 8. Oct 2017, 07:13
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.
Re: cleaning obsolete packages
Posted: 17. Oct 2017, 02:31
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,

Saludos.
Re: cleaning obsolete packages
Posted: 17. Oct 2017, 19:17
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).