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
2 answers
89 views

need help MD5sum hash

Guys I have a question I have a txt file full of names and I want to hash to md5sum for all the names in the txt at once with one by command Can you help with that and thanks in advance. Thank you ...
user avatar
0 votes
1 answer
81 views

'/var/lib/dpkg/tmp.ci/md5sums': Is a directory

Trying to update Ubuntu 20.04. I tried the solution in Cannot upgrade rsync following distribution upgrade to 20.04LTS I tried to # sudo apt autoclean and receive warnings for packages: dpkg: warning: ...
user avatar
  • 16
0 votes
1 answer
231 views

Unable to verify 20.04.03 download

I am trying to follow this guide here: https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview I have downloaded the ISO file and I have the following files in my Downloads directory: SHA256SUMS ...
user avatar
  • 478
1 vote
0 answers
199 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....
user avatar
1 vote
2 answers
889 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 ...
user avatar
0 votes
1 answer
1k 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, ...
user avatar
0 votes
2 answers
978 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
user avatar
  • 111
18 votes
7 answers
18k 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 ...
user avatar
  • 293
0 votes
1 answer
1k 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.
user avatar
1 vote
2 answers
4k 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 ...
user avatar
  • 850
1 vote
2 answers
214 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?
user avatar
8 votes
1 answer
637 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?
user avatar
  • 4,025
0 votes
1 answer
883 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 ...
user avatar
  • 15
5 votes
3 answers
19k 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 ...
user avatar
1 vote
1 answer
145 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? ...
user avatar
  • 325
1 vote
0 answers
340 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 ...
user avatar
  • 111
0 votes
1 answer
218 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 ...
user avatar
1 vote
2 answers
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 ...
user avatar
  • 113
1 vote
2 answers
2k 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 ...
user avatar
  • 13
-1 votes
1 answer
154 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: #!...
user avatar
  • 21
1 vote
0 answers
547 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 ...
user avatar
  • 11
0 votes
1 answer
140 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 ...
user avatar
  • 149
0 votes
0 answers
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 ...
user avatar
  • 324
1 vote
1 answer
255 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|...
user avatar
0 votes
0 answers
440 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 --...
user avatar
  • 3,847
26 votes
2 answers
66k 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 ...
user avatar
1 vote
1 answer
96 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 ...
user avatar
2 votes
1 answer
5k 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 ...
user avatar
  • 121
7 votes
3 answers
28k 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?
user avatar
0 votes
1 answer
471 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 ...
user avatar
10 votes
6 answers
25k 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 ...
user avatar
  • 721
2 votes
1 answer
139 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?
user avatar
2 votes
0 answers
243 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 ...
user avatar
7 votes
2 answers
6k 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/...
user avatar
  • 1,880
4 votes
1 answer
12k 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?
user avatar
  • 83
0 votes
1 answer
70 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 ...
user avatar
6 votes
2 answers
9k 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 ...
user avatar
  • 171
1 vote
3 answers
502 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 ...
user avatar
3 votes
2 answers
3k 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....
user avatar
2 votes
1 answer
94 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 ...
user avatar
1 vote
1 answer
183 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
user avatar
  • 8,989
4 votes
2 answers
671 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 ...
user avatar
  • 1,583
1 vote
0 answers
335 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 ...
user avatar
6 votes
5 answers
16k 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?
user avatar
1 vote
1 answer
3k 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 ...
user avatar
3 votes
1 answer
16k 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) ...
user avatar
1 vote
2 answers
421 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 ...
user avatar
1 vote
1 answer
44 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?
user avatar
0 votes
1 answer
439 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' | ...
user avatar
  • 68
1 vote
1 answer
355 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. ...
user avatar
  • 131