disk.yandex.ru download fails repeatedly

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

disk.yandex.ru download fails repeatedly

Post#1 by Rava » 27 Oct 2022, 19:47

My system: XFCE 4.16:

Code: Select all

root@porteus:~# cat /etc/porteus/*
001-core.xzm:20220723
002-xorg.xzm:20220723
002-xtra.xzm:20220630
003-xfce.xzm:20220925
initrd.xz:20220928
https://disk.yandex.ru/d/wJFyFih_4v48w - download of PORTEUS_x64 fails repeatedly. (The URL is in the footer of a certain porteus forum user)

Doing it with a browser, it just said "failed" at some time.

Copying the download URL from the browser and using wget, wget says size is unknown, seems to finish the download, (which takes ages since the speed provided by disk.yandex.ru is abysmal low) but unzip -t reports this

Code: Select all

guest@porteus:/mybin/linux/porteus/diverses/PORTEUS_x64$ unzip -t PORTEUS_x64.zip 
Archive:  PORTEUS_x64.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
note:  PORTEUS_x64.zip may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of PORTEUS_x64.zip or
        PORTEUS_x64.zip.zip, and cannot find PORTEUS_x64.zip.ZIP, period.
file PORTEUS_x64.zip says

Code: Select all

PORTEUS_x64.zip: Zip archive data, at least v2.0 to extract, compression method=deflate
I looked into a zip fix but seems there is none:

Code: Select all

root@porteus:/mnt/live/memory/images# find 00[123]*|grep zip|grep fix
root@porteus:/mnt/live/memory/images# find 00[123]*|grep 7z|grep fix
root@porteus:/mnt/live/memory/images# 
This is one of my download logs captured via a loop and using tee in a different terminal and only monitoring the files PORTEUS_x64.zip.part and PORTEUS_x64.zip when doing a download via browser:

Code: Select all

       0 2022-10-27 09:16 PORTEUS_x64.zip
67542953 2022-10-27 09:19 PORTEUS_x64.zip.part
       0 2022-10-27 09:16 PORTEUS_x64.zip
88645545 2022-10-27 09:20 PORTEUS_x64.zip.part

[ skipping the boring middle parts ]

922910633 2022-10-27 13:16 PORTEUS_x64.zip.part
        0 2022-10-27 11:46 PORTEUS_x64.zip
927072169 2022-10-27 13:17 PORTEUS_x64.zip.part
        0 2022-10-27 11:46 PORTEUS_x64.zip
931626921 2022-10-27 13:18 PORTEUS_x64.zip.part
932548521 2022-10-27 13:18 PORTEUS_x64.zip.part
932548521 2022-10-27 13:18 PORTEUS_x64.zip.part
932548521 2022-10-27 13:18 PORTEUS_x64.zip.part
sadly, the log file for the finale attempt via wget is lost, as is the terminal with the output of wget since in that very same tab mc trying to open 7za on the ZIP file in question was getting unresponsive so I closed that tab in my xfce4-terminal.
And since I had mc running I could no longer scroll up in that terminal… :crazy:

The tee log of the wget download was similar, only showing only one file PORTEUS_x64.zip since wget doesn't use a .part file during download.
I used the parameter "-O PORTEUS_x64.zip" to specify the output / target file name.

This is the size and date/time stamp of the failed archive:

Code: Select all

guest@porteus:/mybin/linux/porteus/diverses/PORTEUS_x64$ ls -o *zip |cut -c 20-
1904938044 2022-10-27 15:42 PORTEUS_x64.zip
For now it seems I downloaded 932548521+1904938044 bytes = 2.64 GB for nothing. :cry: :wall:


Trying to use wget to resume a partially download (via wget parameter "-c") also not works as it seems disk.yandex.ru doesn't support resuming a partially download.
Last edited by Rava on 27 Oct 2022, 19:49, edited 1 time in total.
Reason: used even more colours
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

disk.yandex.ru download fails repeatedly

Post#2 by Ed_P » 27 Oct 2022, 21:39

Rava wrote:
27 Oct 2022, 19:47
https://disk.yandex.ru/d/wJFyFih_4v48w - download of PORTEUS_x64 fails repeatedly.
In my browser Porteus_x64 is a folder, not a file.

https://disk.yandex.ru/d/wJFyFih_4v48w/PORTEUS_x64

And in the folder are 4 subfolders which contain even more subfolders and files.
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

disk.yandex.ru download fails repeatedly

Post#3 by Rava » 27 Oct 2022, 21:56

Ed_P wrote:
27 Oct 2022, 21:39
In my browser Porteus_x64 is a folder, not a file.

https://disk.yandex.ru/d/wJFyFih_4v48w/PORTEUS_x64

And in the folder are 4 subfolders which contain even more subfolders and files.
Thanks for the heads up.

Added in 8 minutes 19 seconds:
When you single click on any entry (with a folder icon) you get the download link on top. As I did.

But when you double-click on such folder icon it moves into the folder, just like when you browse a folder hierarchy in your file browser locally. For some reasons I only used a single click, not thinking disk.yandex.ru would be JS coded to act like a file browser. usually double-clicking on any link gets the same results as single-clicking such link (as is the case e.g. with https://forum.porteus.org )
Cheers!
Yours Rava

Post Reply