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 05-01-2015, 09:06 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
gnupg missing from my system?


I do not removepkg anything intentionally.

Weekly I do (at least if there have been updates the past week)
slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system

cat /etc/slackware-version
Slackware 14.1

uname -a
Linux 3.10.17 #1 SMP Fri Feb 14 16:39:21 CST 2014 x86_64 Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz GenuineIntel GNU/Linux

Recent changelog says:
slackware64 14.1 changes for Wed, 29 Apr 2015 05:10:52 GMT
patches/packages/gnupg-1.4.19-x86_64-2_slack14.1.txz: Rebuilt.

When I ran slackpkg sequence I did not see latest gnupg when upgrade-all.

find /var/log/ -name gnupg-*
/var/log/removed_packages/gnupg-1.4.15-x86_64-1_slack14.0-upgraded-2013-11-10,10:47:13
/var/log/removed_packages/gnupg-1.4.15-x86_64-1-upgraded-2013-12-22,15:38:31
/var/log/removed_packages/gnupg-1.4.16-x86_64-1_slack14.1-upgraded-2014-06-25,18:43:28
/var/log/removed_packages/gnupg-1.4.14-x86_64-1_slack14.0-upgraded-2013-10-14,22:36:46
/var/log/removed_packages/gnupg-1.4.12-x86_64-1-upgraded-2013-08-04,13:12:12
/var/log/removed_scripts/gnupg-1.4.15-x86_64-1_slack14.0-upgraded-2013-11-10,10:47:13
/var/log/removed_scripts/gnupg-1.4.15-x86_64-1-upgraded-2013-12-22,15:38:31
/var/log/removed_scripts/gnupg-1.4.16-x86_64-1_slack14.1-upgraded-2014-06-25,18:43:28
/var/log/removed_scripts/gnupg-1.4.14-x86_64-1_slack14.0-upgraded-2013-10-14,22:36:46
/var/log/removed_scripts/gnupg-1.4.12-x86_64-1-upgraded-2013-08-04,13:12:12

I have couple vbox slackware vms and I see latest gnupg there and even on a file server I have I see
/var/log/packages/gnupg-1.4.19-i486-2_slack14.1
/var/log/scripts/gnupg-1.4.19-i486-2_slack14.1

How can I find out what happened to gnupg and unfortunatley whatever else that might be missing?

Thanks
 
Old 05-01-2015, 09:15 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Have you checked that the mirror site selected in your /etc/slackpkg/mirrors has actually been updated with the latest package?
Perhaps try a different mirror.
 
Old 05-01-2015, 09:29 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
mirror is
ftp://carroll.aset.psu.edu/pub/linux...ckware64-14.1/

changelog there says
Wed Apr 29 05:10:52 UTC 2015
patches/packages/gnupg-1.4.19-x86_64-2_slack14.1.txz: Rebuilt.

under packages/patches
gnupg-1.4.19-x86_64-2_slack14.1.txt 371 B 4/28/15, 2:17:00 PM
 
Old 05-01-2015, 09:36 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
As the mirror is up to date, then perhaps you have a rule in /etc/slackpkg/blacklist that is causing the package to be ignored.
 
Old 05-01-2015, 10:03 PM   #5
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
[0-9]+_SBo
[0-9]+alien
[0-9]+ro
skype_static
sbopkg
pkgutils
hplip

is all
 
Old 05-01-2015, 10:37 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Does
Code:
grep gnupg /var/lib/slackpkg/pkglist
show the package?

Is the patches directory included in the PRIORITY= line in /etc/slackpkg/slackpkg.conf?
 
Old 05-01-2015, 10:59 PM   #7
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
allend, thank you for trying to help

grep gnupg /var/lib/slackpkg/pkglist
patches gnupg 1.4.19 x86_64 2_slack14.1 gnupg-1.4.19-x86_64-2_slack14.1 ./patches/packages txz
patches gnupg2 2.0.24 x86_64 1_slack14.1 gnupg2-2.0.24-x86_64-1_slack14.1 ./patches/packages txz
slackware64 qca-gnupg 2.0.0_beta3 x86_64 1 qca-gnupg-2.0.0_beta3-x86_64-1 ./slackware64/l txz
slackware64 gnupg 1.4.15 x86_64 1 gnupg-1.4.15-x86_64-1 ./slackware64/n txz
slackware64 gnupg2 2.0.22 x86_64 1 gnupg2-2.0.22-x86_64-1 ./slackware64/n txz

-rw-r--r-- 1 root root 5892 May 22 2013 /etc/slackpkg/slackpkg.conf
PRIORITY=( patches PKGMAIN extra pasture testing )
 
Old 05-01-2015, 11:18 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
That is exactly what I see on my Slackware 14.1 install, where I just upgraded to gnupg-1.4.19-x86_64-2_slack14.1.txz, without a problem.
Have you tried running 'slackpkg upgrade-all' again?
If the package still does not show, I suggest reinstalling the slackpkg package.
 
Old 05-02-2015, 12:02 AM   #9
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
allend, did what you said slackpkg from the top, gnupg did not show up.

Removed slackpkg and traces
reinstalled slackpkg
ls -la /var/log/packages/slackpkg-2.82.0-noarch-12
-rw-r--r-- 1 root root 1656 May 2 00:31 /var/log/packages/slackpkg-2.82.0-noarch-12

slackpkg again from the top, different mirror, gnupg did not show up

slackpkg install gnupg, gnupg showed up there

ls -la /var/log/packages/gnupg*
-rw-r--r-- 1 root root 4465 May 2 00:50 /var/log/packages/gnupg-1.4.19-x86_64-2_slack14.1

But like I said in my original post, I noticed this because it was just the one update, what else might be missing when there was more than one upgrade?

What does slackpkg reinstall slackware do? I'm wondering if that would let me know if anything is missing. Maybe I could try that in a vbox vm.


Going to bed, thanks again allend for trying.
 
Old 05-02-2015, 02:19 PM   #10
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
interesting

I setup slackware 64 14.0 in virtualbox, upgraded to 14.1, got it all working.

I then did removepkg gnupg, did slackpkg update gpg, got a message saying:
gpg package not found! Please disable GPG in /etc/slackpkg/slackpkg.conf or install
the gnupg.

All the while I tried to find out why gnupg was missing I never got any message about gpg package not found even though I could not find the package on my system.

gnupg was installed but the package got deleted?

Last edited by glorsplitz; 05-02-2015 at 02:30 PM.
 
Old 05-02-2015, 02:42 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by glorsplitz View Post
Weekly I do (at least if there have been updates the past week)
slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
To just keep your system up to date (not upgrading the system to a new version or running -current), slackpkg install-new is generally useless as no packages are added to a stable release (as far as I remember).
For the same purpose, slackpkg clean-system is also useless as no packages are removed from a stable release. Unless you upgrade to a new version or run -current, this command is only useful to get rid of "non genuine" or "third party" packages that you would want to remove.

slackpkg update-gpg is completely useless, as stated in the manual page
Quote:
The GPG key doesn't change. This should be a "one time" command - run it once and forget it...
By the way I highly recommend that you read again "man slackpkg" and "man slackpkg.conf".

And also that you never apply a command blindly: before confirming an action, always check that what is about to be installed, upgraded or removed is exactly what you expect from the ChangeLog of from the Security Advisories.

Quote:
find /var/log/ -name gnupg-*
/var/log/removed_packages/gnupg-1.4.15-x86_64-1_slack14.0-upgraded-2013-11-10,10:47:13
/var/log/removed_packages/gnupg-1.4.15-x86_64-1-upgraded-2013-12-22,15:38:31
/var/log/removed_packages/gnupg-1.4.16-x86_64-1_slack14.1-upgraded-2014-06-25,18:43:28
/var/log/removed_packages/gnupg-1.4.14-x86_64-1_slack14.0-upgraded-2013-10-14,22:36:46
/var/log/removed_packages/gnupg-1.4.12-x86_64-1-upgraded-2013-08-04,13:12:12
Reading this list it seems that you upgraded from Slackware 14.0 to Slackware 14.1 on 2013-12-22. Is that right? But maybe all went well then, I don't know.

Anyhow, please check /var/log/packages/gnupg-*, you should see gnupg-1.4.17-x86_64_1slack14.1 as this was the last version shipped before 1.4.19.

PS I didn't see you last message before posting this one.

Last edited by Didier Spaier; 05-02-2015 at 02:43 PM. Reason: PS added.
 
Old 05-02-2015, 03:20 PM   #12
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Didier, thanks for your comments, I will keep in mind what you said about slackpkg usage.
 
Old 05-02-2015, 03:39 PM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by glorsplitz View Post
All the while I tried to find out why gnupg was missing I never got any message about gpg package not found even though I could not find the package on my system.

gnupg was installed but the package got deleted?
From what you posted so far (virtualbox put aside), gnupg was not deleted, just not updated to version 1.4.19 at first.

So when you ran slackpkg update-gpg, slackpkg didn't complain as a gnupg package was found, and slackpkg doesn't check the version of gnupg before using it to get the GPG key.

Last edited by Didier Spaier; 05-02-2015 at 05:31 PM. Reason: s/don't/doesn't/
 
  


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
Missing System.map on running system erj Linux - Kernel 2 12-19-2012 06:29 AM
[SOLVED] slackpkg creates /.gnupg (in the root of the file system) Woodsman Slackware 3 04-07-2011 06:18 PM
missing operating system chadlaman Linux - Newbie 4 11-17-2010 10:46 AM
Missing Operating System battalion Linux - Software 26 02-23-2006 09:21 PM
Missing operating system! SteveGodfrey Linux - Software 7 09-05-2004 02:14 PM

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

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