Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-06-2014, 03:24 AM
|
#1
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Rep: 
|
slackpkg and SlackwareARM on RaspberryPI
I have a working slackwareARM-14.1 installation on a Raspberry PI. (fatdog guide).
Today I tried to update packages using slackpkg tool.
slackpkg update
This is what I get after downloading CHECKSUMS.md5.asc:
Code:
ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with.
A manual check with gpg on that file yields a valid signiture by an unknown key.
How can I get slackpkg to work in this case?
Is the mirror tampered with?
Is slackpkg interpreting something wrong?
|
|
|
11-06-2014, 04:58 AM
|
#2
|
Member
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212
Rep:
|
I had the same issue on my RasPi with Slackware 14.1.
After setting CHECKGPG=off in /etc/slackpkg/slackpkg.conf I could make the update.
|
|
1 members found this post helpful.
|
11-06-2014, 09:59 AM
|
#3
|
Member
Registered: May 2004
Distribution: BSD
Posts: 269
Rep: 
|
Just in case: did you run
Code:
slackpkg update gpg
before running « slackpkg update »?
|
|
|
11-06-2014, 10:41 AM
|
#4
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,657
|
Quote:
Originally Posted by andrixnet
I have a working slackwareARM-14.1 installation on a Raspberry PI. (fatdog guide).
Today I tried to update packages using slackpkg tool.
slackpkg update
This is what I get after downloading CHECKSUMS.md5.asc:
Code:
ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with.
A manual check with gpg on that file yields a valid signiture by an unknown key.
How can I get slackpkg to work in this case?
Is the mirror tampered with?
Is slackpkg interpreting something wrong?
|
Upgrade slackpkg manually then re-run slackpkg.
|
|
|
11-07-2014, 04:34 AM
|
#5
|
Member
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Rep:
|
After upgrading slackpkg you may need to reedit the mirrors to uncomment your preferred one again.
|
|
|
11-07-2014, 12:12 PM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,657
|
Quote:
Originally Posted by louigi600
After upgrading slackpkg you may need to reedit the mirrors to uncomment your preferred one again.
|
Looking at the slackpkg install script, this should not be necessary. It should leave behind a .new file if the packaged one doesn't match your edited one - which it won't since the packaged one has all of the mirror hosts commented out.
Is this not the case?
|
|
|
11-07-2014, 12:57 PM
|
#7
|
Member
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Rep:
|
Not sure if it's the case with the last update but I recall having to do that more then once.
It might be that slackpkg will ask you what to do with the .new files (even the ones you kept from previous installs/updates).
I get frustrated after the number of .new files grows and every now and then I decide to be prompted with actions for each and I may have accepted the new mirrors file accidentally or something like that ...
Next time I'll keep an eye out.
|
|
|
11-07-2014, 05:11 PM
|
#8
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,657
|
Quote:
Originally Posted by louigi600
Not sure if it's the case with the last update but I recall having to do that more then once.
It might be that slackpkg will ask you what to do with the .new files (even the ones you kept from previous installs/updates).
I get frustrated after the number of .new files grows and every now and then I decide to be prompted with actions for each and I may have accepted the new mirrors file accidentally or something like that ...
Next time I'll keep an eye out.
|
If you upgradepkg slackpkg manually as I suggested, slackpkg cannot ask about the .new file so the mirror list will remain intact. Also presumably it won't try to update itself again since it's already at the correct version.
I have not used slackpkg but it seems logical.
|
|
|
11-11-2014, 01:28 AM
|
#9
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
After I did the update, which included slackpkg itself, I did try again
with option CHECKGPG=on
This time it worked perfectly.
I haven't encountered the same problem on the x86 platform however.
There might have been a small bug in slackpkg or a data inconsistency in the slackarm repository somehow.
Thank you all for the suggestions.
|
|
|
11-11-2014, 01:41 AM
|
#10
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,657
|
Quote:
Originally Posted by andrixnet
After I did the update, which included slackpkg itself, I did try again
with option CHECKGPG=on
This time it worked perfectly.
I haven't encountered the same problem on the x86 platform however.
There might have been a small bug in slackpkg or a data inconsistency in the slackarm repository somehow.
Thank you all for the suggestions.
|
You are encouraged to read the change log :-)
ftp://ftp.arm.slackware.com/slackwar.../ChangeLog.txt
Last edited by drmozes; 11-11-2014 at 02:15 AM.
|
|
|
11-12-2014, 02:17 AM
|
#11
|
Member
Registered: Oct 2012
Location: Romania
Distribution: Slackware
Posts: 174
Original Poster
Rep: 
|
Totally missed that info. Thank you.
|
|
|
11-22-2014, 06:22 PM
|
#12
|
Member
Registered: Jul 2012
Posts: 229
Rep: 
|
I got bitten by this too, yes, I too failed to fully read the changelog!
If you do as root "gpg --list-keys" you'll see
Slackware ARM (Slackware ARM Linux Project<mozes@slackware.com>
slackpkg from 14.0 however expects this
ARMedslack Security (ARMedslack Linux Project Security) <security@armedslack.org>
edit /usr/libexec/slackpkg/core-functions.sh and change line 126 accordingly then rerun slackpkg
|
|
|
12-23-2014, 10:00 AM
|
#13
|
LQ Newbie
Registered: Jul 2006
Distribution: Slackware
Posts: 1
Rep:
|
I also ran into this problem recently when installing Slackware64 14.1 on a laptop. After running the initial 'slackpkg update', I thought that there might be an issue with one of the mirrors. But a quick Google search helped to identify the issue.
It was caused by the system clock being totally incorrect; it was set to sometime in 1980.. Check by running 'date', and checking its output.
Simple fix with 'ntpdate pool.ntp.org', and verified by running 'slackpkg update' again. All is well.
Although the primary issue addressed in this thread may not have been due to the date, I thought it would be useful to post here for any that may need it. This can also happen to Slackers running on a Pi. 
|
|
|
All times are GMT -5. The time now is 01:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|