pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.43k stars 84 forks source link

Install error: archive extraction failed with status: exit code: 1 #1720

Open dxianping opened 3 years ago

dxianping commented 3 years ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="20.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Issue/Bug Description: I was trying to install popOS 20 LTS ,but faced this error. Part of installer log show as following: [INFO distinst:src/installer/state.rs:33] starting extracting step [INFO distinst:src/installer/mod.rs:412] Extracting /cdrom/casper_pop-os_20.04_amd64_nvidia_debug_46/filesystem.squashfs [DEBUG distinst:crates/squashfs/src/lib.rs:166] "unsquashfs" "-f" "-d" "/tmp/distinst.7dY5lCc5Nbtz" "/cdrom/casper_pop-os_20.04_amd64_nvidia_debug_46/filesystem.squashfs" [ERROR distinst:src/installer/state.rs:37] extracting error: archive extraction failed with status: exit code: 1 [ERROR distinst:src/installer/mod.rs:299] errored while installing system: archive extraction failed with status: exit code: 1 [INFO distinst:ffi/src/installer.rs:188] Install error: archive extraction failed with status: exit code: 1

Steps to reproduce (if you know):

Expected behavior:

Other Notes:

jacobgkau commented 3 years ago

This typically indicates an issue with the installation media or target. Did you verify the SHA256 sum of your download? What application did you use to flash the .iso file onto the flash drive? Have you tried with more than one type of flash drive?


System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.

dxianping commented 3 years ago

This typically indicates an issue with the installation media or target. Did you verify the SHA256 sum of your download? What application did you use to flash the .iso file onto the flash drive? Have you tried with more than one type of flash drive?

System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.

Thanks for your reply. I finally solve this failure issue by copied and unpressed installation media into another SSD partition instead of using a removable flash device. But something really confused me is that I can install ubuntu20,21 systems at the same method which is burning iso files into removable devices (TFcard, U-disk, etc.), but PopOS can't. Is that a bug?

davioliveira-dev commented 2 years ago

This typically indicates an issue with the installation media or target. Did you verify the SHA256 sum of your download? What application did you use to flash the .iso file onto the flash drive? Have you tried with more than one type of flash drive?

System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.

I have the same issue. I used a sdCard and flashed with balena. The checksum's matched but still this error.

StevenWConley commented 2 years ago

So I am trying Pop!_OS - thinking of moving to it from Xubuntu and getting a System76 laptop.

So I ran demo mode on Dell Inspiron13 7000 and that worked. (It is currently dual-booting with Win10 - which I am trying to get away from).

When I go to install from demo mode and advanced partitioning - it is all nice and clear and works fine UNTIL it bombs out as with dxiaping above. Booting from a 32GB USB Thumb drive. all verified, etc. Tried with and without Ethernet (which is only via Wifi on this machine) I am now going to try copy to something else. This is definitely a bug of some sort - because I have installed Xubuntu, and several other OS's to this machine before with no issue. I have installed Xubuntu on MANY machines - really never have a problem.

Note - if it makes any difference - my boot partition is EFI with windows dual boot as stated above - but it was written by Xubuntu.

StevenWConley commented 2 years ago

Oh, I used balena to do my Image also.

StevenWConley commented 2 years ago

I was able to successfully do this with a different brand of USB. Note that I HAD run the tests to detect if the former USB drivers were fake (less storage than stated) and they came out fine. So I am at a bit of a loss as to why they failed.

jazzi commented 2 years ago

I meet this identical issue now and my Pop_OS version is 21.10. Below is the error message.

DEBUG: "unsquashfs" "-f" "-d" "/tmp/distinst.40NW9J3gPcGu" "/cdrom/casper_pop-os_21.10_amd64_nvidia_debug_59/filesystem.squashfs" ERROR: extracting error: archive extraction failed with status: exit status: 1

This USB worked fine with Slackware 15.0 yesterday, so should be no problem with the USB.

khashayarghajar commented 2 years ago

.

khashayarghajar commented 2 years ago

I meet this identical issue now and my Pop_OS version is 21.10. Below is the error message.

DEBUG: "unsquashfs" "-f" "-d" "/tmp/distinst.40NW9J3gPcGu" "/cdrom/casper_pop-os_21.10_amd64_nvidia_debug_59/filesystem.squashfs" ERROR: extracting error: archive extraction failed with status: exit status: 1

This USB worked fine with Slackware 15.0 yesterday, so should be no problem with the USB.

same on version 21.04 LTS

mmstick commented 2 years ago

How much RAM do you have? Failure to extract can be caused by an out of memory scenario.

khashayarghajar commented 2 years ago

How much RAM do you have? Failure to extract can be caused by an out of memory scenario.

8 GB ram intel corei5 6th 1TB HDD NVIDIA GTX 1060

SteveM2020 commented 2 years ago

I'm getting the same problem installing Elementary 6.1

INFO: starting extracting step INFO: Extracting /cdrom/casper/filesystem.squashfs DEBUG: "unsquashfs" "-f" "-d" "tmp/distinst.Q5bl9tzlZmEh" "/cdrom/casper - filesystem.squashfs" ERROR: extracting error: archive extraction failed with status: exit status: 1

I have 32GB of RAM, so I don't think its the problem. But I am trying to load the OS onto a 64GB USB-3

khashayarghajar commented 2 years ago

I'm getting the same problem installing Elementary 6.1

INFO: starting extracting step INFO: Extracting /cdrom/casper/filesystem.squashfs DEBUG: "unsquashfs" "-f" "-d" "tmp/distinst.Q5bl9tzlZmEh" "/cdrom/casper - filesystem.squashfs" ERROR: extracting error: archive extraction failed with status: exit status: 1

I have 32GB of RAM, so I don't think its the problem. But I am trying to load the OS onto a 64GB USB-3

for me, (I don't know why) it was bootable USB so I tried to install OS from DVD & it works fine

SteveM2020 commented 2 years ago

My daily driver doesn't have CD/DVD player, but my laptop and old desktop do. I'll have to look around an and see if I can find a writable CD. I haven't used CDs for a long time. Thanks for the tip!

mmstick commented 2 years ago

Logs from journald around the time the error happens might be useful.

SteveM2020 commented 2 years ago

There isn't anything in /var/log/journal

If that isn't the right place to look, then I don't know. Looking for it in the terminal didn't help either: steve@mx:~ $ sudo journalctl --reverse No journal files were found. -- No entries --

Oooska commented 1 year ago

I just ran into this issue and none of the proposed solutions above resolved the issue. I eventually found a solution that worked for me: On my system, when choosing the USB boot device in the boot menu, there were two entries for my thumb drive: one labeled "USB: device name" and one labeled "UEFI: device name". Choosing the UEFI option resolved the issue.

StevenWConley commented 1 year ago

Thanks Oooska, I will remember that if I hit a similar issue again and try it.

I have been using POP!_OS on 4 different machines now (one the System76 laptop Gazelle which I love.

Found it has approximately the same stability as Xubuntu. I leave some of them running for weeks. The Pop Shop seems to get hunng up at times, but shutting it and and restarting fixes that, Twice I have had the Gazelle hang up - but the mouse and some stuff works - the UI is frozen though. Mind you I normally have 3-5 windows open on AVERAGE.
(BTW, the Dell Inspiron 7000 laptop mentioned above screen died - so that forced my hand to go to System76.) I am not looking back!