Author Topic: Linux firmware update to 1.157.17 fails  (Read 3032 times)

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Linux firmware update to 1.157.17 fails
« on: May 06, 2018, 03:32:47 pm »
Updating firmware 1.157.15 to 1.157.17 fails with error; unexpected end of file or stream.
Other software-packages can update-install with no issues using package  manager,
terminal.
The firmware update fails, tries recover but just hangs on recovery until manually
closed.
Also having network issues on a 100mbps connection, google chrome failed to connect
on any  page with  o snap.
Don't know if the internet connection issue is causing the update issue, but not an issue on
win10 connecting through the same device.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Linux firmware update to 1.157.17 fails
« Reply #1 on: May 06, 2018, 05:08:26 pm »
Hi kjl, how's it going  :)?  Welcome to the Peppermint Forum.  It's very nice to meet you  ;).  Could you please let us have a little more information about your computer?   Open up a terminal window with the following keystrokes:

Ctrl+Alt+t

Enter, (Copy & Paste) the following command into the terminal window and hit enter.  Post back the output to the forum:
Code: [Select]
inxi -Fz
Note:  Please remember to encapsulate terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  It preserves the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively - many thanks  :).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #2 on: May 06, 2018, 05:27:28 pm »
As per the requsted output;
Code: [Select]
kenneth@kenneth-MS-6728 ~ $ inxi -Fz
System:    Host: kenneth-MS-6728 Kernel: 4.13.0-39-generic i686 (32 bit)
           Desktop: N/A Distro: Peppermint Eight
Machine:   Mobo: MICRO-STAR model: MS-6728 v: 100
           Bios: American Megatrends v: V2.5 date: 09/29/2004
CPU:       Single core Intel Pentium 4 (-HT-) cache: 1024 KB
           clock speeds: max: 2800 MHz 1: 2800 MHz 2: 2800 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV280 [Radeon 9200 PRO]
           Display Server: X.Org 1.19.5 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           GLX Renderer: Mesa DRI R200 (RV280 5960) x86/MMX/SSE2 DRI2
           GLX Version: 1.3 Mesa 17.0.2
Audio:     Card Intel 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller
           driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-39-generic
Network:   Card: Intel 82562EZ 10/100 Ethernet Controller driver: e100
           IF: enp2s8 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 40.0GB (17.2% used)
           ID-1: /dev/sda model: HDS728040PLA320 size: 40.0GB
Partition: ID-1: / size: 35G used: 4.5G (14%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 143 Uptime: 23 min Memory: 554.1/2012.2MB
           Client: Shell (bash) inxi: 2.2.35
« Last Edit: May 07, 2018, 09:31:46 pm by AndyInMokum »

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Linux firmware update to 1.157.17 fails
« Reply #3 on: May 06, 2018, 05:30:12 pm »
What happens when you run in your terminal...
Code: [Select]
sudo apt install linux-firmware
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #4 on: May 06, 2018, 07:07:56 pm »
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-networkmanager-1.0 gir1.2-nma-1.0 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.5 MB of archives.
After this operation, 87.0 kB of additional disk space will be used.
(Reading database ... 334588 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.157.17_all.deb ...
Unpacking linux-firmware (1.157.17) over (1.157.15) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.157.17_all.deb (--unpack):
 cannot copy extracted data for './lib/firmware/ql2322_fw.bin' to '/lib/firmware/ql2322_fw.bin.dpkg-new': unexpected end of file or stream
update-initramfs: Generating /boot/initrd.img-4.13.0-39-generic
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic

Progress: [ 33%] [######################........................
« Last Edit: May 07, 2018, 09:32:56 pm by AndyInMokum »

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #5 on: May 06, 2018, 07:12:33 pm »
Sorry on previous post did not let the command finish, completed results;

Code: [Select]
The following packages were automatically installed and are no longer required:
  gir1.2-networkmanager-1.0 gir1.2-nma-1.0 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.5 MB of archives.
After this operation, 87.0 kB of additional disk space will be used.
(Reading database ... 334588 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.157.17_all.deb ...
Unpacking linux-firmware (1.157.17) over (1.157.15) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.157.17_all.deb (--unpack):
 cannot copy extracted data for './lib/firmware/ql2322_fw.bin' to '/lib/firmware/ql2322_fw.bin.dpkg-new': unexpected end of file or stream
update-initramfs: Generating /boot/initrd.img-4.13.0-39-generic
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-firmware_1.157.17_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
« Last Edit: May 07, 2018, 09:33:35 pm by AndyInMokum »

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Linux firmware update to 1.157.17 fails
« Reply #6 on: May 06, 2018, 07:21:55 pm »
Try this...
Code: [Select]
sudo dpkg --configure -a
Then...
Code: [Select]
sudo apt update && sudo apt upgradeThen...
Code: [Select]
sudo dpkg --clear-availThen again...
Code: [Select]
sudo apt update && sudo apt upgrade
Try installing linux-firmware again
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #7 on: May 06, 2018, 08:09:55 pm »
Same results
Spoiler (click here to view / hide)
[close]
« Last Edit: May 07, 2018, 04:59:10 am by mac »

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Linux firmware update to 1.157.17 fails
« Reply #8 on: May 07, 2018, 05:36:40 am »
You might Try...
Code: [Select]
sudo apt-get -f install
BTW how long do you let it stand at 33% before closing?

« Last Edit: May 07, 2018, 05:43:05 am by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #9 on: May 07, 2018, 06:14:10 pm »
Tried to run clonezilla as thought might be a disk issue, now getting out of memory on startup.
Going to have to put this on the backburner for now until later in the week or weekend.
Will post on results but think I need a clean install.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Linux firmware update to 1.157.17 fails
« Reply #10 on: May 07, 2018, 06:14:25 pm »
Quote
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt

You seem to have a corrupt package in the package cache.

Try clearing the package cache and reinstalling linux-firmware
Code: [Select]
sudo apt-get cleanthen
Code: [Select]
sudo apt-get install --reinstall linux-firmware


The first of those commands will also free up disk space .. run it from a console if necessary.
« Last Edit: May 07, 2018, 06:19:39 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #11 on: May 07, 2018, 06:17:26 pm »
The 33% ran about 10 to 15 minutes, then the error could not complete.
Most times I just let it run waiting for the output.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Linux firmware update to 1.157.17 fails
« Reply #12 on: May 07, 2018, 06:21:05 pm »
Try those commands.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Linux firmware update to 1.157.17 fails
« Reply #13 on: May 07, 2018, 09:38:56 pm »
Hi kjl, how's it going :) ?  I see you're having trouble encapsulating terminal outputs.  Try this the next time  :).  After you've pasted the output to the forum editor.  Highlight the output by placing the mouse cursor at the beginning of the output.  Depress the left mouse button and hold.  Drag the cursor to the end of the output and release the left mouse button.  The output will now be highlighted.  In the forum editing options, not your keyboard option, select the # and left click on it.  This function is located above the  :-[ (Embarrassed) emoticon.   Your terminal output will now be encapsulated with the Code function.  I've done this for you this time.  I hope this helps  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline kjl

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.0
Re: Linux firmware update to 1.157.17 fails
« Reply #14 on: May 08, 2018, 03:55:54 pm »
After running recovery a few times, managed to get to the desktop with no errors.
Ran both commands in terminal, first one had no output, second one;
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-networkmanager-1.0 gir1.2-nma-1.0 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
« Last Edit: May 08, 2018, 06:01:50 pm by AndyInMokum »