LinuxQuestions.org
Visit Jeremy's Blog.
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-13-2020, 09:55 AM   #1
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 6,055

Rep: Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257
Read the changelog to check for package removal


Slackware64-current is in the midst of very active development. Packages are being upgraded and or added on an almost daily basis.
Sometimes Mr. Volkerding also removes packages; this is noted in the -current changelog.
For example:

Code:
Sat Jan 11 21:58:08 UTC 2020
a/aaa_elflibs-15.0-x86_64-18.txz:  Rebuilt.
  Added:  libdb-4.8.so
  Upgraded:  libcap.so.2.30
  Removed:  libdb-4.2.so
a/mcelog-168-x86_64-1.txz:  Upgraded.
ap/vim-8.2.0111-x86_64-1.txz:  Upgraded.
d/subversion-1.13.0-x86_64-3.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/apr-util-1.6.1-x86_64-8.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/db42-4.2.52-x86_64-4.txz:  Removed.
l/db44-4.4.20-x86_64-4.txz:  Removed.
l/redland-1.0.17-x86_64-6.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/serf-1.3.9-x86_64-4.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/talloc-2.3.1-x86_64-3.txz:  Rebuilt.
  Fix documentation permissions. Thanks to Xsane.
n/httpd-2.4.41-x86_64-2.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
n/ipset-7.5-x86_64-1.txz:  Upgraded.
xap/vim-gvim-8.2.0111-x86_64-1.txz:  Upgraded.
+--------------------------+
To remove these packages using slackpkg run:

Code:
# slackpkg clean-system
 
Old 01-13-2020, 11:10 AM   #2
An Infamous Historian
LQ Newbie
 
Registered: Jan 2020
Location: Southern California
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
Slackware64-current is in the midst of very active development. Packages are being upgraded and or added on an almost daily basis.
Sometimes Mr. Volkerding also removes packages; this is noted in the -current changelog.
For example:

Code:
Sat Jan 11 21:58:08 UTC 2020
a/aaa_elflibs-15.0-x86_64-18.txz:  Rebuilt.
  Added:  libdb-4.8.so
  Upgraded:  libcap.so.2.30
  Removed:  libdb-4.2.so
a/mcelog-168-x86_64-1.txz:  Upgraded.
ap/vim-8.2.0111-x86_64-1.txz:  Upgraded.
d/subversion-1.13.0-x86_64-3.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/apr-util-1.6.1-x86_64-8.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/db42-4.2.52-x86_64-4.txz:  Removed.
l/db44-4.4.20-x86_64-4.txz:  Removed.
l/redland-1.0.17-x86_64-6.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/serf-1.3.9-x86_64-4.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
l/talloc-2.3.1-x86_64-3.txz:  Rebuilt.
  Fix documentation permissions. Thanks to Xsane.
n/httpd-2.4.41-x86_64-2.txz:  Rebuilt.
  Recompiled against db48-4.8.30.
n/ipset-7.5-x86_64-1.txz:  Upgraded.
xap/vim-gvim-8.2.0111-x86_64-1.txz:  Upgraded.
+--------------------------+
To remove these packages using slackpkg run:

Code:
# slackpkg clean-system
Unless you've been very diligent about keeping your blacklists up-to-date, clean-system will also remove third-party packages, which may not be what many people want.
 
1 members found this post helpful.
Old 01-13-2020, 11:19 AM   #3
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 585
Blog Entries: 3

Rep: Reputation: 153Reputation: 153
Read the changelog to check for package removal

You safely can unselect those packages you wouldn't have blacklisted ;-)

You know, during years I never used that because I feared it would remove everything without prompt!
 
Old 01-13-2020, 11:25 AM   #4
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 551

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
That's true, you'll want your blacklist up to date before running slackpkg clean-all (although it gives you the chance to de-select packages that you actually want). In general that's not too hard, e.g., the default commented line:
Code:
[0-9]+_SBo
will blacklist all SBo packages once uncommented. Other repos can be added in the same way.
 
Old 01-13-2020, 11:42 AM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 586

Rep: Reputation: 186Reputation: 186
...or if you're really paranoid about making a mistake:

no package selection:
Code:
slackpkg -onoff=off clean-system
 
4 members found this post helpful.
Old 01-13-2020, 11:59 AM   #6
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 208

Rep: Reputation: Disabled
Quote:
Originally Posted by Chuck56 View Post
...or if you're really paranoid about making a mistake:

no package selection:
Code:
slackpkg -onoff=off clean-system
Cool!
 
Old 01-13-2020, 12:15 PM   #7
An Infamous Historian
LQ Newbie
 
Registered: Jan 2020
Location: Southern California
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by Chuck56 View Post
...or if you're really paranoid about making a mistake:

no package selection:
Code:
slackpkg -onoff=off clean-system
Oh, cool!

Is there somewhere where this is documented? Because I double-checked the man page and didn't see it.

Not doubting you that it's there and it works, just wondering where else I might be able to look for future reference.
 
Old 01-13-2020, 12:33 PM   #8
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 586

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by An Infamous Historian View Post
Oh, cool!

Is there somewhere where this is documented? Because I double-checked the man page and didn't see it.

Not doubting you that it's there and it works, just wondering where else I might be able to look for future reference.
man slackpkg.conf
Code:
       ONOFF
            The ONOFF variable sets the initial behavior of the dialog interface.  If  you
            set this to "on" then all packages will be selected by default.  If you prefer
            the opposite option (all unchecked), then set this to "off".

            The default value of ONOFF is "on".
            From command line, you can use -onoff=value.
 
1 members found this post helpful.
Old 01-13-2020, 01:05 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 6,055

Original Poster
Rep: Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257
Quote:
Originally Posted by An Infamous Historian View Post
Unless you've been very diligent about keeping your blacklists up-to-date, clean-system will also remove third-party packages, which may not be what many people want.
Yes. But, only if you blindly hit enter after you run the command. You can de-select third party packages prior to removing the packages highlighted by #slackpkg clean-system.
 
1 members found this post helpful.
Old 01-13-2020, 06:03 PM   #10
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,295

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
for a good reason exist

/etc/slackpkg/blacklist

as example to no remove alien or compat32 ...can blacklist

# If want remove compat32 comment this two tags below
# Removing this , disable wine usage.
[0-9]+compat32
[0-9]+alien

If use slackbuilds , can add

[0-9]+SBo

and clean-system ,turns secure action for third party packages.

After all , clean-system , show you a menu first , with a list of remove packages list ...you can deselect if no want to remove someone.

Last edited by USUARIONUEVO; 01-13-2020 at 06:04 PM.
 
Old 01-13-2020, 08:38 PM   #11
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 467

Rep: Reputation: 222Reputation: 222Reputation: 222
And should your friend actually manage to hose things with "clean-system," a list of your removed packages is in /var/log/removed_packages. ls -I can exclude things that have been upgraded, kernel packages, and the like.
 
Old 01-13-2020, 10:44 PM   #12
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 208

Rep: Reputation: Disabled
Quote:
Originally Posted by garpu View Post
And should your friend actually manage to hose things with "clean-system," a list of your removed packages is in /var/log/removed_packages. ls -I can exclude things that have been upgraded, kernel packages, and the like.
This thread keeps getting better. I didn't know about this directory. ls -al --ignore=*upgraded* does the trick. Thanks for posting this.
 
Old 01-15-2020, 10:54 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,555

Rep: Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908
slackroll will tell you which packages that aren't available any more with the list-transient command.
 
Old 01-15-2020, 11:40 PM   #14
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 271

Rep: Reputation: Disabled
Btw: 'onoff' and co are the slackpkg.conf manpage, not slackpkg.

Edit:
D'oh, nevermind, Chuck56 already said that.

Well, uhh...
Uh... in case you are going through the removed files 'manually', maybe by searching the changelog, using removepkg instead, well, there's a '--copy' switch that generates an 'exploded' (aka, not tied up on a txz file) backup of the package which you could then re-generate if needed.


Ahem...hopefully that's less of a wasted post now... (and the worst thing is, I wasn't even aware of that until y'all told me so... hahaa)

Last edited by Geist; 01-15-2020 at 11:50 PM.
 
Old 01-16-2020, 05:42 AM   #15
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 117

Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
slackroll will tell you which packages that aren't available any more with the list-transient command.
But, as slackpkg, it won't say when a local package depends of a removed package, will it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 12 04-25-2019 08:33 AM
[SOLVED] Check for updates by Changelog.txt digest? drgibbon Slackware 13 06-09-2018 07:22 AM
LXer: How to check the changelog of a package on Linux LXer Syndicated Linux News 0 02-28-2016 12:09 AM
[SOLVED] ? about "marking for removal" or "marking for complete removal" in synaptic pkg mgr Gregg Bell Linux - Newbie 5 03-06-2014 08:27 AM
Synaptic: "removal" vs. "complete removal" newbiesforever Linux - Software 2 08-24-2008 09:31 PM

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

All times are GMT -5. The time now is 08:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration