LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2019, 12:10 PM   #1
hddfsck
Member
 
Registered: Aug 2019
Distribution: Debian; Ubuntu
Posts: 122

Rep: Reputation: Disabled
Checking sha256 from a download - check text file against what?


I downloaded an .img file and I want to check the checksum data.

I am using armbian, debian10, buster.
...............
I was told to try the following:
# download public key from the database
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

I got the following answer:
gpg: keyserver receive failed: No data
root@ubuntu:~# gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

I also tried just inputting the first "gpg":
root@ubuntu:~# gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg: WARNING: unsafe ownership on homedir '/home/ubuntu/.gnupg'
gpg: keyserver receive failed: No data

DO I NEED TO PUT THE FOLLOWING INTO THE CL TOGETHER, OR DO 1, AND ENTER? IF TOGETHER, DO I JUST SKIP A SPACE AT THE END OF THE "D5" on the first line?
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

UPDATE:
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5 gpg --verify Armbian_5.93_Orangepiplus2e_Debian_buster_next_4.19.64_desktop.7z
gpg: WARNING: unsafe ownership on homedir '/home/ubuntu/.gnupg'
gpg: Note: '--verify' is not considered an option
gpg: "gpg" not a key ID: skipping
gpg: "--verify" not a key ID: skipping
gpg: "Armbian_5.93_Orangepiplus2e_Debian_buster_next_4.19.64_desktop.7z" not a key ID: skipping
gpg: keyserver receive failed: No name

Last edited by hddfsck; 08-20-2019 at 12:44 PM.
 
Old 08-20-2019, 12:40 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,498

Rep: Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313
if the first command failed the second cannot work.
Where is this information coming from?
 
Old 08-26-2019, 09:46 PM   #3
hddfsck
Member
 
Registered: Aug 2019
Distribution: Debian; Ubuntu
Posts: 122

Original Poster
Rep: Reputation: Disabled
The info to input came from armbian. Since then, they gave me new instructions which i have not tested yet. I will update shortly. Thanks!!
 
  


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
LXer: How to Verify a Download in Ubuntu with SHA256 Hash or GPG Key LXer Syndicated Linux News 0 06-01-2019 01:12 AM
Openswan does not connect when using sha256 (RHEL 6.2) jewelthief Linux - Networking 0 03-23-2013 09:45 PM
Checking ISO with SHA256 on XP oldgot Linux - Newbie 3 10-09-2009 12:47 AM
freebsd-update problem sha256 burnticarus *BSD 3 12-18-2008 11:33 PM
sha256 not working on Linux 64 bit system sjain Programming 1 05-28-2008 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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