LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-13-2018, 12:25 PM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled

Quote:
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
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

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

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

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
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 massconvert.sh script and `upgradepkg samba-compat32-4.4.16-x86_64-3_slack14.2compat32` :
Code:
# find-stale-pids      # I added a bash-wrapper in my $PATH around your stale_pids function :)

2608

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

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

UID        PID  PPID  C STIME TTY          TIME CMD
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
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
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.
 
  


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] 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

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

All times are GMT -5. The time now is 11:02 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