Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install linux #41

Closed
littlegamer87 opened this issue Nov 22, 2023 · 5 comments
Closed

Fails to install linux #41

littlegamer87 opened this issue Nov 22, 2023 · 5 comments

Comments

@littlegamer87
Copy link

Hello theypsilon,

I'd like to report an issue where the downloader halts when updating linux for about a month. I don't see anyone else reporting this so I thought I should share. The downloader.log doesn't really reveal what went wrong, the error is the same as seen on display. Any tips on how to proceed?

downloader.log

START!

Reading file: /media/fat/downloader.ini
Reading 'n64_dev' db section
Reading 'distribution_mister' db section
env: {
    "DOWNLOADER_LAUNCHER_PATH": "/media/fat/Scripts/downloader.sh",
    "DOWNLOADER_INI_PATH": null,
    "LOGFILE": null,
    "CURL_SSL": "--cacert /etc/ssl/certs/cacert.pem",
    "COMMIT": "e7aeb82",
    "ALLOW_REBOOT": null,
    "UPDATE_LINUX": "undefined",
    "DEFAULT_DB_URL": "https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/main/db.json.zip",
    "DEFAULT_DB_ID": "distribution_mister",
    "DEFAULT_BASE_PATH": null,
    "FORCED_BASE_PATH": null,
    "PC_LAUNCHER": null,
    "DEBUG": "false",
    "FAIL_ON_FILE_ERROR": "false"
}
config: {
    "databases": {
        "n64_dev": {
            "db_url": "https://raw.githubusercontent.com/RobertPeip/Mister64/db/db.json.zip",
            "section": "n64_dev"
        },
        "distribution_mister": {
            "db_url": "https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/main/db.json.zip",
            "section": "distribution_mister",
            "options": {
                "_props": {
                    "filter": "gameboy gba genesis nes snes psx scripts !megaduck !gameboycolor"
                }
            }
        }
    },
    "config_path": "/media/fat/downloader.ini",
    "base_path": "/media/fat",
    "base_system_path": "/media/fat",
    "storage_priority": "prefer_sd",
    "allow_delete": 1,
    "allow_reboot": 1,
    "update_linux": true,
    "downloader_threads_limit": 20,
    "downloader_timeout": 300,
    "downloader_retries": 3,
    "zip_file_count_threshold": 60,
    "zip_accumulated_mb_threshold": 100,
    "filter": null,
    "verbose": false,
    "debug": false,
    "default_db_id": "distribution_mister",
    "start_time": 1700382351.109913,
    "logfile": null,
    "is_pc_launcher": false,
    "user_defined_options": [],
    "commit": "e7aeb82",
    "fail_on_file_error": false,
    "minimum_system_free_space_mb": 512,
    "minimum_external_free_space_mb": 128,
    "curl_ssl": "--cacert /etc/ssl/certs/cacert.pem"
}
Reading file contents "/MiSTer.version"
Linux Version: 230501
cacert file at "/etc/ssl/certs/cacert.pem" seems to be fine.
Loading dict from file "/media/fat/Scripts/.config/downloader/downloader.json"
Reading file contents "/proc/mounts"
Loading db from url: https://raw.githubusercontent.com/RobertPeip/Mister64/db/db.json.zip
Loading db from url: https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/main/db.json.zip
/tmp/b7c8xpcm
/tmp/s26hc1vq
..++
Loading dict from file "/tmp/b7c8xpcm"
Removing "/tmp/b7c8xpcm"
Loading dict from file "/tmp/s26hc1vq"
Removing "/tmp/s26hc1vq"
distribution_mister still uses base_path: /media/fat
n64_dev still uses base_path: /media/fat
Preparing databases ...
Preparing db 'distribution_mister'...
/tmp/zde2mirw_atari2600_palettes_summary.json.zip
/tmp/zde2mirw_atari7800_palettes_summary.json.zip
/tmp/zde2mirw_cheats_folder_gameboy_summary.json.zip
/tmp/zde2mirw_cheats_folder_gba_summary.json.zip
/tmp/zde2mirw_cheats_folder_megadrive_summary.json.zip
/tmp/zde2mirw_cheats_folder_nes_summary.json.zip
/tmp/zde2mirw_cheats_folder_psx_summary.json.zip
/tmp/zde2mirw_cheats_folder_sms_summary.json.zip
/tmp/zde2mirw_cheats_folder_snes_summary.json.zip
/tmp/zde2mirw_cheats_folder_tgfx16_summary.json.zip
/tmp/zde2mirw_cheats_folder_tgfx16-cd_summary.json.zip
/tmp/zde2mirw_gameboy2p_palettes_summary.json.zip
/tmp/zde2mirw_gameboy_palettes_summary.json.zip
/tmp/zde2mirw_gbc_palettes_summary.json.zip
/tmp/zde2mirw_global_filters_summary.json.zip
/tmp/zde2mirw_global_fonts_summary.json.zip
/tmp/zde2mirw_global_shadow_masks_summary.json.zip
/tmp/zde2mirw_megaduck_palettes_summary.json.zip
/tmp/zde2mirw_mra_alternatives_summary.json.zip
/tmp/zde2mirw_nes_palettes_summary.json.zip
....................++++++++++++++++++++
Loading dict from file "/tmp/zde2mirw_atari2600_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_atari2600_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_atari7800_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_atari7800_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_gameboy_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_gameboy_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_gba_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_gba_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_tgfx16_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_tgfx16_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_megadrive_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_megadrive_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_psx_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_psx_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_snes_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_snes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_nes_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_nes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_global_filters_summary.json.zip"
Removing "/tmp/zde2mirw_global_filters_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_megaduck_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_megaduck_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_gameboy2p_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_gameboy2p_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_gbc_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_gbc_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_tgfx16-cd_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_tgfx16-cd_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_cheats_folder_sms_summary.json.zip"
Removing "/tmp/zde2mirw_cheats_folder_sms_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_gameboy_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_gameboy_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_global_fonts_summary.json.zip"
Removing "/tmp/zde2mirw_global_fonts_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_mra_alternatives_summary.json.zip"
Removing "/tmp/zde2mirw_mra_alternatives_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_nes_palettes_summary.json.zip"
Removing "/tmp/zde2mirw_nes_palettes_summary.json.zip"
Loading dict from file "/tmp/zde2mirw_global_shadow_masks_summary.json.zip"
Removing "/tmp/zde2mirw_global_shadow_masks_summary.json.zip"
Filter for db distribution_mister: gameboy gba genesis nes snes psx scripts !megaduck !gameboycolor
Partition /media/fat has 487437991936 bytes available [32768 bytes per block]
Preparing db 'n64_dev'...
No filter for db n64_dev.
Free space: {'/media/fat': 487434027008}
Building config map...
Processing config 'base_path:/media/fat;downloader_threads_limit:20;downloader_timeout:300;downloader_retries:3;'...

Downloading 9 files:
Cheats/MegaDrive/Snake Rattle n Roll (Europe) [543BED30].zip: b366815e8e08308392261278c180f55d != 75d9014a7fda2a68426eb2902e76e631
Cheats/SNES/Super Ninja Boy (USA) [6BCBBA10].zip: d5cbf8de0de164c07db24f2b4fb9dc33 != e5e82bb2972415660d7148ed1ac68b1a
Cheats/SNES/Top Gear 2 (USA) [2B88BEE8].zip: 8c3234899dea99c164cce776ce7000d3 != 56ab78bd4ca7292125acc2a00192815e
Cheats/NES/Snake Rattle n Roll (USA) [FDF4569B].zip: 192fb28ede1bca235dbb57bf9529ca56 != 495ea6495e948737687898de710e3c66
*
################################################################################
SECTION: distribution_mister


Cheats/MegaDrive/Snake Rattle n Roll (Europe) [543BED30].zip
Cheats/SNES/Super Ninja Boy (USA) [6BCBBA10].zip
Cheats/SNES/Top Gear 2 (Europe) [531463E1].zip
Cheats/SNES/Top Gear 2 (USA) [2B88BEE8].zip
Cheats/NES/Snake Rattle n Roll (USA) [FDF4569B].zip
Cheats/NES/Sonic The Hedgehog (Sonic 5 - Improvement Vol. 2) [78872BD7].zip

################################################################################
SECTION: n64_dev

_Console/N64_20231117.rbf
Copying "/tmp/xyd9b_na" to "/media/fat/Cheats/NES/Snake Rattle n Roll (USA) [FDF4569B].zip"
Removing "/tmp/xyd9b_na"
Copying "/tmp/ts6d38fd" to "/media/fat/Cheats/MegaDrive/Snake Rattle n Roll (Europe) [543BED30].zip"
Copying "/tmp/d48wy2ie" to "/media/fat/Cheats/SNES/Super Ninja Boy (USA) [6BCBBA10].zip"
Copying "/tmp/cj2uzo7v" to "/media/fat/Cheats/SNES/Top Gear 2 (USA) [2B88BEE8].zip"
Removing "/tmp/cj2uzo7v"
Removing "/tmp/d48wy2ie"
Removing "/tmp/ts6d38fd"
.......+++++++
IS_FILE quick hits: 0 slow hits: 0
Removing /media/fat/_Console/N64_20231112.rbf (/media/fat/_Console/N64_20231112.rbf)

IS_FILE quick hits: 1 slow hits: 0
Saving json on zip "/media/fat/Scripts/.config/downloader/downloader.json"
Touching "/media/fat/Scripts/.config/downloader/downloader.last_successful_run"

===========================
Downloader 1.8 (e7a) by theypsilon. Run time: 0:00:13.62s at 2023-11-19 09:26:04
Commit: e7aeb82
Log: /media/fat/Scripts/.config/downloader/downloader.log

Installed:
N64_20231117.rbf + other files.

Errors:
none.

linux: {
    "hash": "a6651d603b5a6c825579b618d9550a1e",
    "size": 93745153,
    "url": "https://raw.githubusercontent.com/MiSTer-devel/SD-Installer-Win64_MiSTer/f498c08188793fb9e80c0c4cb0ad04fce9c1c307/release_20231108.7z",
    "version": "231108"
}
Reading file contents "/MiSTer.version"
Linux will be updated from distribution_mister:
Current linux version -> 230501
Latest linux version -> 231108

linux.7z
******************************.+

ERROR! Could not uncompress the linux installer.
Error code: 102

Screenshot 2023-11-19 09-28-19

@theypsilon
Copy link
Member

You seem to have a corrupted 7za because that Segmentation fault is not normal. In fact, it's the first time I see it and it should never happen during normal operation. If it keeps happening I think the safest way for you to proceed is backing up your files from the SD and formatting it again with mr-fusion.

@sorgelig
Copy link
Member

make sure it's enough free space on SD card/partition

@littlegamer87
Copy link
Author

Thank you both for your reply.
Would like to share a remark that this is a fresh install. I replaced the microsd card to 512GB since Mister now has PSX and Saturn cores with CD based images, so the 8GB included card wasn't going to cut it for the long term. I will try backing up and reinstalling and report back.

@sorgelig
Copy link
Member

It's possible that partition wasn't expanded to full SD card. In Menu core you can see amount of free space on SD card.

@littlegamer87
Copy link
Author

Confirmed reinstalling with mr-fusion resolved the issue
Root cause was likely using Mister SD card utility instead of mr-fusion for installation

Thanks for the advice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants