Questions tagged [md5sum]

md5sum is a command line program used to calculate MD5 hashes of files, and provides a simple way to check the integrity of a download.

Filter by
Sorted by
Tagged with
0
votes
0answers
51 views

Installation of Ubuntu 20.04.2 server fails with CasperMD5CheckMismatches

Trying to install Ubuntu 20.04.2 server fails during the installation process. In the log I found: CasperMD5CheckMismatches: ./pool/main/l/linux-hwe-5.8/linux-modules-extra-5.8.0-41-generic_5.8.0-41....
0
votes
2answers
71 views

Can md5sum check based on just the filename, not the file path

Is it possible to have an md5 checksum file (as generated from somethng like md5sum -r * > checklist.chk where each line contains just the hash and the filename of the file (and not the path from ...
0
votes
1answer
456 views

How is it possible to get two different md5 hash results for the same string?

I am surprised by the results of the following ❯ md5sum <<<'hello world' 6f5902ac237024bdd0c176cb93063dc4 - and ❯ echo -n hello world | md5sum 5eb63bbbe01eeed093cb22bb8f5acdc3 - Ideally, ...
0
votes
0answers
33 views

Wrong md5sum for 'kernel-header

I'm trying to compile all packages of PFC firmware but I get the above error. I followed all the steps of the https://github.com/WAGO/pfc-firmware-sdk/blob/master/README.md, but get stuck on step 5. I ...
0
votes
2answers
286 views

Output MD5Sum of a string to a file

How can I add the output of a string in MD5 to a file, for example add the MD5 of Hello, world! to a file /home/documents/helloworld.txt
12
votes
7answers
12k views

“Hash sum mismatch” error due to identical SHA1 and MD5 but different SHA256

When running apt full-upgrade or apt update I'm getting several logs that are more or less the same as this one, where there is an identical filesize, SHA1 and MD5 but different SHA256: E: Failed to ...
0
votes
1answer
334 views

How to find a file from the hash?

How do I find the file from given Hash value in Linux? Please note that I don't want to find the hash value of a file, I need the opposite of that.
-1
votes
2answers
2k views

How to check md5 for folder with files?

I want to compare local folder and folder on server, folder can contain subfolders and subfolders can contain files. How to compute md5sum for whole folder? Update: One possible solution will not ...
1
vote
2answers
137 views

Uniquely identify a debian package

I see three checksums in a .deb package: md5sum sha1 sha256 Why do we need 3 checksums? Can we use any one of these to uniquely identify a Debian package?
8
votes
1answer
524 views

Nautlius: add mouse right-click action to compute MD5 sum [duplicate]

Context: 16.04 How does one mouse right-click action to compute the MD5 sum of a file?
0
votes
1answer
517 views

How to md5 special characters - Thumbnail related

I have written a script to generate custom Thumbnail for my nikon raw files (.NEF). So far so good. Now the thumbnail file name must be the md5 of the absolute path of the NEF image, as stated here ...
0
votes
0answers
35 views

Can I see the md5sum to check my file [duplicate]

I have a question that where can I see the md5sum to check my file? Yes, I know there is one in the iso file, but it cannot do any thing! If the file has been change by a attacker, he will change the ...
5
votes
3answers
13k views

Returning the MD5-hash of all files in a directory to a .txt file with file name [duplicate]

I have a directory of pictures. I need the MD5-hash of each file in that directory and the name of the file placed into a .txt document. This file is to be read at a later time to reference the MD5 ...
1
vote
1answer
92 views

md5sum /dev/sdx

I'm trying to make a clone of my SSD, which has Windows 7 installed. I've used ddresuce, and using md5sum as shown below. I'm trying to make an exact copy; how do I verify that it is an exact copy? ...
1
vote
0answers
255 views

Identify Ubuntu/Debian package that a binary belongs to based on its md5sum

Is it possible to identify the Debian package that a binary belongs to based on its md5sum. All Debian packages contain a md5sums file that list all the files and their corresponding md5sum. So, I ...
0
votes
1answer
173 views

Generate a separate .md5 file for each file in a directory, while SKIPPING existing ones

I got say 4TB of millions of files. I think if I can produce a single .md5 for each file, it would be nice. I read Generate a separate .md5 file for each .fastq file in a directory? and modified to ...
1
vote
2answers
2k views

Update md5 checksum when files are modified

I have a server that when the contents of a specific folder are modified it will calculate a checksum. The problem is that the calculation of the checksum takes about 30 minutes since it is ...
1
vote
2answers
1k views

Concatenating md5 string

I have a little script file called testing.sh where I am asking user to enter his login and password. Then, the password is getting encrypted with md5sum command and the result is stored in a file ...
-1
votes
1answer
132 views

What's wrong with my bash script?

Suppose to do: list duplicate file name per-line accroding same md5sum in current directory First install the environment: echo "hello" > file1; cp file1 file2; cp file2 file3; Shell script: #!...
1
vote
0answers
490 views

MD5 Check Sum Not Matching Ubuntu Gnome

I am fairly new to Ubuntu, so I have been doing a lot of research into proper installation methods and such. I have bought the "Official Ubuntu Book" and everything. I have been following the ...
0
votes
1answer
122 views

Problem with Flashtool checksum

I've downloaded the package flashtool-0.9.23.1-linux.tar.7z from http://www.flashtool.net/downloads_linux.php. As you can see, the MD5 hash is 3C70AF72F9B9E45C195F9192409E0C0F. This is the second ...
0
votes
0answers
24 views

Finding the md5sum of a directory is returning permission denied [duplicate]

I'm trying to get the md5sum of a directory, however everytime I try I'm getting permissions denied. I have root access and sudo. I'm able to create files and such in the directory but it will not ...
1
vote
1answer
217 views

Ubuntu Desktop 16.04.2 md5sum grub files problem

I did a fresh install of Ubuntu Desktop 16.04.2 and it hangs on boot with the message "Gave up waiting for root device on Ubuntu...". There are posts about workarounds reintalling grub from a LiveCD|...
0
votes
0answers
201 views

Unable to get the same checksum value for a copied file

UPDATE 1: Attempted rsync as suggested by Jos: $ cd /media/oshirowanen/ $ rsync -avv HDD1/file.iso HDD2/file.iso sending incremental file list delta-transmission disabled for local transfer or --...
21
votes
2answers
51k views

How can I recursively list Md5sum of all the files in a directory and its subdirectories? [duplicate]

I want to list (and save) Md5 check sum of all the files in a directory and save that list in a text file called md5sum.txt it would be also nice if I could Integrate it within tree command (which ...
1
vote
1answer
85 views

Remove Lines from File which appear in another MD5 File

I have a large file A (consisting of emails), one line for each mail. I also have another file B that contains another set of mails but in MD5. Which command would I use to remove all the addresses ...
2
votes
1answer
4k views

Why does a .sh file's md5sum change when copying to another folder?

I have downloaded a sh file from a webpage. I want to copy it to another machine so I can install it there. The other machine is an imx6 tiny rex. I tried to copy/move/scp to my Ubuntu machine to the ...
6
votes
3answers
24k views

How to change MD5 of a file

We can get MD5 of a file by using md5sum so my questions are: Could the MD5 be changed? How to change the MD5?
0
votes
1answer
440 views

I need to md5 the filename of a directory of files

I need to get the md5sum of the filename of a directory. Maybe something along the lines of: mv *.html md5sum(*).html Can anyone point me in the right direction as to what kind of command I need to ...
10
votes
6answers
19k views

Can two different firmware files have same md5 sum?

Can two different binary files have the same md5 sum? One binary firmware file have different version number and marked as revised, small bug fixed. But both files have same md5 sum, I would assume ...
2
votes
1answer
106 views

Checksum a group of folders to another group of folders using md5sum

I copied three folders from three different directories. I want to check the copies over the originals with checksum. Is this possible in the command line?
2
votes
0answers
231 views

Should I be worried about “md5sums differ” message during apparmor upgrade?

When I upgraded apparmor yesterday this was the output: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following ...
6
votes
2answers
5k views

dpkg -V , What does the output mean?

I ran DPKG Verify on all packges and got this output and I don't know what it means : ??5?????? c /etc/lightdm/lightdm-gtk-greeter.conf ??5?????? c /etc/default/chromium-browser ??5?????? /usr/...
4
votes
1answer
9k views

How to check the md5sum and sha256sum of a directory (an entire folder)? [duplicate]

In the terminal it's easy to find the md5sum of a single file, but how about for an entire directory? And would the same apply to sha256sum?
0
votes
1answer
68 views

Ubuntu 15.10 64bit Desktop invalid Checksums

Is the MD5 checksum for Ubuntu 15.10 incorrect or is there an issue for me? I'm getting a value of 3f29c5423393fc282216ed80e25af7c5 whereas the website is reporting an expected value of ...
6
votes
2answers
7k views

How do I compare two files containing several md5 checksums to determine changed files?

I have two files MD1 and MD2. MD1 contains md5sums: 5f31caf675f2542a971582442a6625f6 /root/md5filescreator/hash1.txt 4efe4ba4ba9fd45a29a57893906dcd30 /root/md5filescreator/hash2.txt ...
1
vote
1answer
333 views

Check several files with MD5

Every month, a company sends me a hard drive - ext4 encrypted with cryptsetup - with backup files from a server. In that drive there are 1000+ files, and they almost fill up a 2Tb HDD. Each file has ...
2
votes
2answers
2k views

Generate a separate .md5 file for each .fastq file in a directory?

I am trying to generate separate .md5 files for each .fastq file in a directory. I found solutions to generate a single .md5 file for many files, but this is not what I am looking for. I have file1....
2
votes
1answer
92 views

Are my md5 keys actually different? Do I have to redownload Ubuntu?

I have downloaded the ubuntu-14.04.3-desktop-amd64 Ubuntu version, I just did the md5sum check from the Windiws command prompt and had 414f5d28b2ac85d0e7aaf969f9bd0cb5 as a return. As far as the md5 ...
1
vote
1answer
88 views

How to get md5sum for online video without download

I am using Ubuntu. Is it possible to check md5sum of a video using its URL? In man md5sum : md5sum [OPTION]... [FILE]... So no URL. Is there any way to check md5sum
4
votes
2answers
624 views

Verifying Ubuntu ISO with `md5sum` - does the missing “*” matter?

I'm trying to understand security and verification a bit more so I've been playing with getting random ISOs and verifying them with md5sum. For instance if I download the Ubuntu GNOME 15.10 release ...
1
vote
0answers
276 views

Ubuntu Live USB installation found corrupted file, yet disk md5 checks out

An attempt was made to install ubuntu-14.04.3-desktop-amd64 on macbook pro-11,2 using a bootable USB flash drive, following the directions given here. Before the installation, I checked the disk for ...
5
votes
5answers
13k views

Bash get MD5 of online file

I need to get the MD5 hash of an online file, and then compare it to a file on the local machine. How can I do this in bash?
1
vote
1answer
2k views

Verify the current Google Chrome installation's integrity

I have installed Google Chrome from the .deb file provided here, but after I installed it I realised that I had not checked the MD5 of the .deb file to make sure that it was not corrupt or tampered ...
3
votes
1answer
14k views

Bashscript making a variable equal a command. error command not found

Hi i keep getting the error ./imagehash.sh: line 2: =: command not found When i know that i set the $CMD variable correctly (i tried the command outside the bash script and it worked just fine) ...
1
vote
2answers
397 views

Check for redundancy before downloading any file

Is there a way you can check whether you have already downloaded a file previously or not before actually downloading it. I know - wget can do that, only if the filename of the file trying to be ...
1
vote
1answer
43 views

md5sums are wrong on 2 downloads downloading a 3rd now

md5sums have been wrong on 2 of my downloads of ubuntu Desktop, checked all sums on the page with software link ubuntu provided, what's up?
0
votes
1answer
415 views

Dvd md5 same as iso, sha1 and sha256 not

So here's my dilemma: i ran these 3 commands in terminal, one at a time, to check the hashes of a burnt dvd: dd if=/dev/cdrom bs=1 count='size' | md5sum dd if=/dev/cdrom bs=1 count='size' | ...
1
vote
1answer
336 views

Checksum of system binaries changed

This morning I received several OSSEC notifications about changed integrity checksums. Affected files are /bin/mv, /bin/dir, /bin/pwd, /bin/chrgrp and about 50 similar binaries from /bin and /usr/bin. ...
0
votes
1answer
690 views

ubuntu MD5SUM hash doesnt match, now how to repair the iso image?

I have checked MD5SUM hash for the downloaded Ubuntu desktop 14.04 and it didn't match. I have downloaded the file from official website without using any client like utorrent etc. How can I repair ...