LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2022, 03:26 PM   #1
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Removing obsolete packages after upgrade


Note: If this has been discussed elsewhere before, sorry for the repetition and please just point me to the source...

Hi all,

As you know, 15.0 is to be released in a few days. Some of us are already on -current but others, like me, are using the stable version and we will be doing a massive upgrade to 15.0.

Updating the official packages is easy, we just follow Pat's UPGRADE.txt file and everything just works. But it has been a very long time since the release of 14.2 and it is possible that many of us have tons of 3rd party packages, especially from slackbuilds.org. Some of these made it into the official repo in the meantime, and some just got obsolete. In the older upgrades the list of changes was relatively small but this time it may require a lot more work to sort it out manually.

So I want to ask you: What is your preferred way of cleaning the obsolete packages, how do you go about it?

One way is to do
Code:
slackpkg clean-system
and then to install whatever you want. But I'm not sure if I want to use such a radical approach. Maybe there is a simpler, less intrusive way of achieving this.

Those 14.2 SBo packages which later became part of the official repo will probably show up as duplicate packages in slackpkg, and that might be an easy way to detect and remove them. But there are a few name changes, and they might escape from slackpkg.

I also have a little script to detect broken binaries. It does not tell me what packages those binaries come from, but it is not difficult to guess.

I think these are the only two categories that I would like to have removed, because if a 3rd party package compiled on 14.2 still works on 15.0, I'd prefer to keep it.

By the way, if it is of use to anyone, here are some packages which were in the 14.2 SBo tree but are now in the official repo. This is not a complete list, just the ones I found on my system:

Code:
OpenAL (--> openal-soft)                                                 
SDL2
SDL2_image                                                               
SDL2_mixer
SDL2_net
SDL2_ttf                                                                 
dvdauthor
f2fs_tools (--> f2fs-tools)                                              
ffmpeg4
gst-plugins-bad                                                          
id3lib
kdenlive                                                                 
kile
krb5                                                                     
lame
libbluray                                                                
libburn
libgtop                                                                  
libopusenc                                                               
libunwind                                                                
libwebp                                                                  
libxkbcommon                                                             
meson                                                                    
mlt                                                                      
ninja                                                                    
opus-tools                                                               
opusfile                                                                 
python-certifi                                                           
pyxdg                                                                    
setuptools_scm (--> python-setuptools_scm)
six  (--> python-six) eksik
speex                                                                    
ssr
texlive                                                                  
vala                                                                     
xfce4-whiskermenu-plugin
Edit: More such packages reported by others:
Code:
wireguard-tools
wireguard-linux-compat (now built into slackware kernel)
libseccomp

Last edited by Ilgar; 01-17-2022 at 02:26 AM.
 
Old 01-16-2022, 05:31 PM   #2
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Thanks for the list. Many of those SBo's are also on my machine. So this is a list I'll keep in mind when upgrading. Cheers.
 
Old 01-17-2022, 12:41 AM   #3
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
EDIT: oops didnt read the original post fully, didnt see the OP was referring to SBo packages. Sorry

All you need to do is look in UPGRADE.TXT, Pat mentioned the other week that the list of packages in the removepkg command has been brought up to date.

Code:
   removepkg --terse ConsoleKit2 PyQt Thunar aaa_elflibs amarok amor ash \
      automoc4 bigreqsproto calligra-l10n-bs calligra-l10n-ca \
      calligra-l10n-ca@valencia calligra-l10n-cs calligra-l10n-da \
      calligra-l10n-de calligra-l10n-el calligra-l10n-en_GB calligra-l10n-es \
      calligra-l10n-et calligra-l10n-fi calligra-l10n-fr calligra-l10n-gl \
      calligra-l10n-hu calligra-l10n-it calligra-l10n-ja calligra-l10n-kk \
      calligra-l10n-nb calligra-l10n-nl calligra-l10n-pl calligra-l10n-pt \
      calligra-l10n-pt_BR calligra-l10n-ru calligra-l10n-sk calligra-l10n-sv \
      calligra-l10n-tr calligra-l10n-uk calligra-l10n-zh_CN \
      calligra-l10n-zh_TW cargo cgmanager compositeproto damageproto db42 \
      db44 dirmngr dmxproto dri2proto dri3proto eigen2 eject evieext \
      fixesproto fontcacheproto fontsproto gcc-java getty-ps glade3 \
      glibc-solibs glproto gnome-themes-standard gnu-cobol gst-plugins-base0 \
      gst-plugins-good0 gstreamer0 gtk-xfce-engine herqq idnkit ilmbase \
      imapd inputproto intel-gpu-tools js185 kaccessible kajongg \
      kaudiocreator kbproto kde-base-artwork kde-baseapps kde-l10n-ar \
      kde-l10n-bg kde-l10n-bs kde-l10n-ca kde-l10n-ca@valencia kde-l10n-cs \
      kde-l10n-da kde-l10n-de kde-l10n-el kde-l10n-en_GB kde-l10n-es \
      kde-l10n-et kde-l10n-eu kde-l10n-fa kde-l10n-fi kde-l10n-fr \
      kde-l10n-ga kde-l10n-gl kde-l10n-he kde-l10n-hi kde-l10n-hr \
      kde-l10n-hu kde-l10n-ia kde-l10n-id kde-l10n-is kde-l10n-it \
      kde-l10n-ja kde-l10n-kk kde-l10n-km kde-l10n-ko kde-l10n-lt \
      kde-l10n-lv kde-l10n-mr kde-l10n-nb kde-l10n-nds kde-l10n-nl \
      kde-l10n-nn kde-l10n-pa kde-l10n-pl kde-l10n-pt kde-l10n-pt_BR \
      kde-l10n-ro kde-l10n-ru kde-l10n-sk kde-l10n-sl kde-l10n-sr \
      kde-l10n-sv kde-l10n-tr kde-l10n-ug kde-l10n-uk kde-l10n-wa \
      kde-l10n-zh_CN kde-l10n-zh_TW kde-runtime kde-wallpapers kde-workspace \
      kdeartwork kdegraphics-strigi-analyzer kdelibs \
      kdenetwork-strigi-analyzers kdepim kdepim-apps-libs kdepimlibs \
      kdesdk-strigi-analyzers kdevelop-php kdevelop-php-docs kdevplatform \
      kdewebdev keybinder kgamma kio-mtp klettres korundum kplayer kppp \
      kremotecontrol ksaneplugin ksnapshot ksysguard ktuberling ktux \
      kuser kwebkitpart lha libXfont libart_lgpl libbluedevil libcroco \
      libkdeedu libkgeomap liblastfm libmcs libmm-qt libmowgli libmsn \
      libnm-qt libtermcap libva-intel-driver libwmf-docs mailx man \
      mkfontdir mozjs52 mozjs60 mozjs68 mplayerthumbs nepomuk-core \
      nepomuk-widgets notify-python openldap-client openssl10 \
      openssl10-solibs orage oxygen-icons pairs perlkde perlqt \
      phonon-gstreamer pm-utils presentproto printproto pth pykde4 pyrex \
      python python-enum34 qca-qt5 qimageblitz qjson qt qt-gstreamer qtruby \
      qtscriptgenerator randrproto raptor2 rasqal recordproto redland \
      renderproto resourceproto rfkill rxvt scim scim-anthy scim-hangul \
      scim-input-pad scim-m17n scim-pinyin scim-tables scrnsaverproto \
      seamonkey-solibs sendmail sendmail-cf slocate smokegen smokekde \
      smokeqt soprano strigi superkaramba tetex tetex-doc transfig trn \
      urwid videoproto virtuoso-ose wicd-kde wireless-tools workbone \
      xcmiscproto xextproto xf86-video-xgi xf86-video-xgixp xf86bigfontproto \
      xf86dgaproto xf86driproto xf86miscproto xf86vidmodeproto xfractint \
      xineramaproto xproto xv
The only other consideration are the packages that have been moved to /extra (this list from analyzing x86_64, probably the same in 32bit).

Code:
getty-ps
sendmail
sendmail-cf
xfractint
xv

Last edited by avian; 01-17-2022 at 01:04 AM.
 
Old 01-17-2022, 12:44 AM   #4
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Original Poster
Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by avian View Post
All you need to do is look in UPGRADE.TXT, Pat mentioned the other week its been brought up to date. It contains this complete removepkg command for an easy transition
[/code]
Umm -- did you read my post fully? I already mentioned UPGRADE.txt, that's how I do my upgrade all the time. My problem is with the SBo or other 3rd party packages.
 
Old 01-17-2022, 12:46 AM   #5
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Quote:
Originally Posted by Ilgar View Post
Umm -- did you read my post fully? I already mentioned UPGRADE.txt, that's how I do my upgrade all the time. My problem is with the SBo or other 3rd party packages.
Oops, sorry I didnt. Well if thats the case you can add -:

* wireguard-tools (now part of slackware).
* wireguard-linux-compat (now built into slackware kernel)
* libseccomp (now part of slackware)

I know a lot of people use docker, libseccomp would be one that those might want to keep an eye on when upgrading.

Last edited by avian; 01-17-2022 at 02:19 AM.
 
Old 01-17-2022, 02:26 AM   #6
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Original Poster
Rep: Reputation: 237Reputation: 237Reputation: 237
@avian: Thanks, I added them to the end of my message.
 
Old 01-17-2022, 09:35 AM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
My slackup script (which I use in preference to slackpkg) will remove any package that no longer has a *.t?z file available, so for me all I have to do is rm /local/slackware/packages/* and run slackup. Then I rebuild any packages that I still want to include and then run slackup again.

It's very different to maintaining a system with slackpkg and probably not for everyone, but it works for me.
 
1 members found this post helpful.
Old 01-17-2022, 12:50 PM   #8
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Original Poster
Rep: Reputation: 237Reputation: 237Reputation: 237
Thanks GazL. Unfortunately in my case I didn't keep the installed t?z packages somewhere. Well, I did, but only on the local computer, not the remote ones. And on the local computer the t?z directory contains some other non-installed ones, too. But maybe I should switch to a system where I can clearly track what has been installed or uninstalled.
 
1 members found this post helpful.
Old 01-18-2022, 04:13 AM   #9
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Yes, it's all about finding a scheme that works for you. A new release is the ideal time to sort something like this out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Removing Obsolete Repositories zaivala Linux - Newbie 3 08-19-2015 11:51 PM
Rpmbuild spec file for virtual rpm - removing obsolete packages - CentOS/RHEL 5.3 DrLove73 Linux - Software 3 10-10-2009 10:22 AM
Removing obsolete backup files and containing directory franjo124 Linux - Newbie 2 03-30-2009 07:05 AM
removing obsolete files in APT m_yates Debian 1 11-15-2003 06:57 PM
Removing Obsolete Software JHuizingh Linux - General 4 02-26-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration