Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-13-2018, 12:25 PM   #16
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,076

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895

Originally Posted by 55020 View Post
But Didier, upgradepkg can't do that dance when the 'old' packages have already been removed
Indeed. That could be an issue if Pat removes something like aaa_base, bash, tar, util-linux...

But if that ever happens, I guess that we will have something to read about that in the ChangeLog for -current.

So, my best advice @all is: never ever run slackpkg in -current without first having read the ChangeLog.

Last edited by Didier Spaier; 03-13-2018 at 01:02 PM.
1 members found this post helpful.
Old 03-13-2018, 06:18 PM   #17
Registered: Apr 2013
Distribution: Underware-z
Posts: 173

Rep: Reputation: 9
Just do an upgrade. Hear me?

U . P . G . R . A . D . E .
Old 03-14-2018, 06:56 AM   #18
Senior Member
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,231

Original Poster
Rep: Reputation: 628Reputation: 628Reputation: 628Reputation: 628Reputation: 628Reputation: 628
Originally Posted by orbea View Post
<<snip>> ...
This function someone else (I don't recall who) posted here at LQ a while ago should report any stale pids from programs that have been upgraded and not restarted.
<<snip>> ...
Thanks AGAIN orbea.

I was able to put your bash function to work this morning after today's SAMBA update on Slackware64 14.2 + MultiLib.

-- kjh

After the updates and rerunning Alien Bob's script and `upgradepkg samba-compat32-4.4.16-x86_64-3_slack14.2compat32` :
# find-stale-pids      # I added a bash-wrapper in my $PATH around your stale_pids function :)


# find-stale-pids -v   # what open file is stale ?

2608 /usr/lib64/ (deleted)
2765 /usr/lib64/ (deleted)
2769 /usr/lib64/ (deleted)
3244 /usr/lib64/ (deleted)
4616 /usr/lib64/ (deleted)
I do not run SAMBA on my Laptop ... what process has libtdb open ?
# ps -ef |grep  -E '(^UID|[2]608)'

konrad    2608     1  0 Mar12 ?        00:00:05 kdeinit4: kded4 [kdeinit]
So I need to exit KDE ... NICE !!!
Old 03-14-2018, 08:23 AM   #19
Registered: Apr 2016
Distribution: Slackware
Posts: 857

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Originally Posted by linuxbawks View Post
Just do an upgrade. Hear me?

U . P . G . R . A . D . E .
Go read the question again, because you didn't understand it.


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] current: removepkg fails to remove all files from kbd-1.15.3 package aaazen Slackware 14 09-16-2016 01:15 PM
Removepkg pkgtools and removepkg tar problem.. pepe41695 Linux - Newbie 3 08-26-2013 04:11 AM
removepkg behavior rvo Slackware 8 01-15-2009 03:19 PM
RemovePkg Recursively? Kenji Miyamoto Slackware 3 05-23-2005 08:33 AM
removepkg alternative props666999 Slackware 2 11-10-2004 12:10 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 PM.

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