corupted file on https://ftp.nluug.nl/~ (Solved)

Post here if you feel others can duplicate your so discovered "bug"

Moderator: Forum moderators

Post Reply
scsijon
Posts: 207
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 19 times

corupted file on https://ftp.nluug.nl/~ (Solved)

Post by scsijon »

Could someone please let whoever is administering this directory set for us know that the pet https://ftp.nluug.nl/os/Linux/distr/eas ... worm64.pet seems to have been corrupted and is about three times it's real size, the one found at https://distro.ibiblio.org/easyos/amd64 ... worm64.pet is still correct.
thanks

User avatar
MochiMoppel
Posts: 1294
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 480 times

Re: corupted file on https://ftp.nluug.nl/~

Post by MochiMoppel »

Tried it. Both downloaded files were identical (MD5: 18e1c762961ea843cec4fb674a6c09b4)
Only difference were the file extensions ( .tar in case of nnlup.nl ). And this in not even wrong because a .pet file is a .tar file. Easy to fix by renaming the file.

User avatar
BarryK
Posts: 2871
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 149 times
Been thanked: 788 times

Re: corupted file on https://ftp.nluug.nl/~

Post by BarryK »

Looking at the two sites, the pet files are listed the same size.

nluug.nl just mirrors whatever is on ibiblio.org, it is an automatic process that was setup by one of the members of NLUUG.

You are right about the size, downloaded from nluug, 152MB:

Code: Select all

# ls -l linux_kernel-5.15.40-20220517-bookworm64.pet 
-rw-rw-r-- 1 firefox firefox 159272960 Dec 31 17:55 linux_kernel-5.15.40-20220517-bookworm64.pet
# md5sum linux_kernel-5.15.40-20220517-bookworm64.pet 
4eb33dfa99892006df758e16a8f8b30d  linux_kernel-5.15.40-20220517-bookworm64.pet

Downloaded from ibiblio, correct size 44MB:

Code: Select all

# ls -l linux_kernel-5.15.40-20220517-bookworm64.pet 
-rw-rw-r-- 1 firefox firefox 45732182 Dec 31 18:03 linux_kernel-5.15.40-20220517-bookworm64.pet
# md5sum linux_kernel-5.15.40-20220517-bookworm64.pet 
18e1c762961ea843cec4fb674a6c09b4  linux_kernel-5.15.40-20220517-bookworm64.pet

I will send an email to my contact at NLUUG.

User avatar
BarryK
Posts: 2871
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 149 times
Been thanked: 788 times

Re: corupted file on https://ftp.nluug.nl/~

Post by BarryK »

That's interesting, I did the above downloads from Firefox.

Using wget, downloading from nluug.nl, the file is the correct size:

Code: Select all

# wget https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/packages/pet/pet_packages-bookworm/linux_kernel-5.15.40-20220517-bookworm64.pet
--2022-12-31 18:21:36--  https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/packages/pet/pet_packages-bookworm/linux_kernel-5.15.40-20220517-bookworm64.pet
Resolving ftp.nluug.nl... 145.220.21.40, 2001:67c:6ec:221:145:220:21:40
Connecting to ftp.nluug.nl|145.220.21.40|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45732182 (44M) [application/x-tar]
Saving to: ‘linux_kernel-5.15.40-20220517-bookworm64.pet’

linux_kernel-5.15.4 100%[===================>]  43.61M   150KB/s    in 4m 38s  

2022-12-31 18:26:17 (161 KB/s) - ‘linux_kernel-5.15.40-20220517-bookworm64.pet’ saved [45732182/45732182]

# ls -l linux_kernel-5.15.40-20220517-bookworm64.pet
-rw-r--r-- 1 root root 45732182 May 20  2022 linux_kernel-5.15.40-20220517-bookworm64.pet
User avatar
MochiMoppel
Posts: 1294
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 480 times

Re: corupted file on https://ftp.nluug.nl/~

Post by MochiMoppel »

All I can say is that the download size is correct when downloading with Opera12

Attachments
nluug.png
nluug.png (60.23 KiB) Viewed 1179 times
User avatar
BarryK
Posts: 2871
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 149 times
Been thanked: 788 times

Re: corupted file on https://ftp.nluug.nl/~

Post by BarryK »

Ah, here is the difference; downloading from ibiblio.org:

Code: Select all

# wget https://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-bookworm/linux_kernel-5.15.40-20220517-bookworm64.pet
--2022-12-31 18:31:29--  https://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-bookworm/linux_kernel-5.15.40-20220517-bookworm64.pet
Resolving distro.ibiblio.org... 152.19.134.43
Connecting to distro.ibiblio.org|152.19.134.43|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45732182 (44M) [application/octet-stream]
Saving to: ‘linux_kernel-5.15.40-20220517-bookworm64.pet’

The ibiblio http server shows the mime-type as "application/octet-stream", whereas at nluug it is "application/x-tar"
However, I don't see why Firefox would download the latter differently, effectively corrupting the file.

User avatar
BarryK
Posts: 2871
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 149 times
Been thanked: 788 times

Re: corupted file on https://ftp.nluug.nl/~

Post by BarryK »

Just tried with Chromium, it has also downloaded the file from nluug as 152MB.

I let Mike at NLUUG know about this discussion.

Mike, it looks like the mime-type for PET packages needs to be changed to "application/octet-stream".

User avatar
ally
Posts: 189
Joined: Tue Jul 07, 2020 5:14 am
Has thanked: 121 times
Been thanked: 82 times
Contact:

Re: corupted file on https://ftp.nluug.nl/~

Post by ally »

this does happen sometimes on nluug

in the early days of downloading and mirroring content for the archive I pulled a lot from nluug as it was significantly faster than ibiblio, there were many occasions when downloading via the browser caused issues

this never happened when using wget to grap the file(s)

doesn't answer the why but hopefully it helps

:)

User avatar
BarryK
Posts: 2871
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 149 times
Been thanked: 788 times

Re: corupted file on https://ftp.nluug.nl/~

Post by BarryK »

FIXED!!!

Mike at NLUUG replied to my email, he has changed the httpd server to serve .pet files as application/octet-stream

That's the same as ibiblio, download should be good now.

Post Reply

Return to “Bug Reports”