LinuxQuestions.org
Help answer threads with 0 replies.
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 01-29-2010, 10:01 AM   #1
GrubbySeismic
Member
 
Registered: Jan 2010
Location: Twickenham, UK
Distribution: OpenSolaris2009.06x86 || Linpus Lite 1.2 ||Debian (Lenny kernel 2.6 && Gnome 2)
Posts: 43

Rep: Reputation: 15
Unhappy Checksums: multiple DLs and multiple verfications: optimise/simplify


I have a bunch (five is I want to re-DL Xubuntu) ISO's I would like to run checksums against, for the obvious reason.

However, the appropriate site the torrent comes from occasionally uses a prog' that won't be on my native distro (Ubuntu Koala), e.g. on FedoraProject.org it's "curl".

On Debian I would start a terminal as Root then use apt-get to add a key to my ring, but the hardware the distro is on hasn't the diskspace to hold 8 Gigs of ISO data

I appreciate I can quite easily Google "how to add [Distro-X] to Ubuntu GPG keyring" but surely someone has built something that could do multiple additions at once? I realise there are security implications to having bulk-installs to such a high-risk piece of software. If I was on Debian at least I'd have a second password to use!

A shell script may be the way to go to do this quickly, but I would prefer to write that myself and the how-to book I'm [goin to order] won't arrive for some time.

Advice appreciated.

Last edited by GrubbySeismic; 01-29-2010 at 10:04 AM. Reason: Adding tags. Which I can't do...
 
Old 01-30-2010, 11:14 AM   #2
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
I'm not sure I really understand what you're asking... But, if you're downloading with bittorrent, you don't have to check md5sums, error checking is included in the bittorrent protocol and you always have a perfect download.

And curl is certainly included in every distribution.

I fail to see the connection between apt-get, GPG keys and downloading iso images though.
 
Old 02-03-2010, 05:57 AM   #3
GrubbySeismic
Member
 
Registered: Jan 2010
Location: Twickenham, UK
Distribution: OpenSolaris2009.06x86 || Linpus Lite 1.2 ||Debian (Lenny kernel 2.6 && Gnome 2)
Posts: 43

Original Poster
Rep: Reputation: 15
Question

It seems not just my knowledge of B.T. has a hole or two, then!

The abbreviated "precis" of my process to DL the required files seems to be confusing? I intended to speedily list what I would do on my Debian install. Although thinking about it the listed method I usually use to version-check a specific component on my system...

I shall shorten and slightly rephrase my original question:

Is it possible to access and therefore verify multiple checksums simultaneously?
 
Old 02-03-2010, 06:29 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by GrubbySeismic View Post
<snip>

I shall shorten and slightly rephrase my original question:

Is it possible to access and therefore verify multiple checksums simultaneously?
I'm still not sure as to why you would want to perform a md5sum check simultaneously. Please define what your attempting to do?

You can chain commands therefore I see no reason to prevent tasks.

'How to Ask Questions the Smart Way' may help you to present queries that we can understand.

 
1 members found this post helpful.
Old 02-03-2010, 06:48 AM   #5
GrubbySeismic
Member
 
Registered: Jan 2010
Location: Twickenham, UK
Distribution: OpenSolaris2009.06x86 || Linpus Lite 1.2 ||Debian (Lenny kernel 2.6 && Gnome 2)
Posts: 43

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by onebuck View Post
I'm still not sure as to why you would want to perform a md5sum check simultaneously. Please define what your attempting to do?
As I'm not representing my intentions properly, I shall state them again.

I wish to verify checksums of a group of files simultaneously. For a given (i.e. loose) concept of simultaneous.

Quote:
Originally Posted by onebuck View Post
You can chain commands therefore I see no reason to prevent tasks.
I assume you mean via Shell-scripting? An answer involving some form of this set of techniques has come up more than once recently, I am intending to check it out (i.e. stop messing around and buy a book on the subject, recommendations welcome).

Quote:
Originally Posted by onebuck View Post
'How to Ask Questions the Smart Way' may help you to present queries that we can understand.
Indeed. 'Be explicit about your question' should help
 
Old 02-03-2010, 07:58 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Yes, you can create a script but you can chain or pass within that script.

As for simultaneous checks, I'm still certain your not stating things properly. If you wish to check a file after download for 'md5sum' validity then perform a check on another after download then that is a serial action. You may want to look into 'gpg' and 'md5sum' to insure a valid complete file transfer.

Just a few links to aid you in this endeavor;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
1 members found this post helpful.
Old 02-04-2010, 06:26 AM   #7
GrubbySeismic
Member
 
Registered: Jan 2010
Location: Twickenham, UK
Distribution: OpenSolaris2009.06x86 || Linpus Lite 1.2 ||Debian (Lenny kernel 2.6 && Gnome 2)
Posts: 43

Original Poster
Rep: Reputation: 15
Thumbs up

Very much appreciated, (and to make it official) I can say without doubt the links will help!

I have also found something that may help my poor descriptions: multi-threaded code, or multithreading.This is a way of making an app' use what used to be broadly referred to as "symmetric multiprocessing" (SMP), but recently makes use of more modern multi-core (i.e. dual-core, quad-core etc) processor chips.

With hindsight it would have been more logical to split the original question into two parts: 1) how do I script (or use terminal commands) to quickly verify multiple files with checksums; 2) can I use a multithreaded process...

Thanks again
 
  


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
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
kickstart; how-to info needed for multiple instances of RH OS's and multiple unique v Joe_Wulf Linux - Server 4 06-21-2007 11:18 PM
AWK/SED Multiple pattern matching over multiple lines issue GigerMalmensteen Programming 15 12-03-2006 05:08 PM
setting up grub in a multiple hard drive multiple OS environment svenwinkle Linux - Desktop 2 10-07-2006 07:50 PM

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

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