You are Here:
Linux Lite 5.0 Final is now available for download and installation



[ SOLVED ] Update error: File unexpected size

Author (Read 9496 times)

0 Members and 2 Guests are viewing this topic.

Update error: File unexpected size
« on: September 22, 2018, 04:57:40 AM »
 

thoughtinstinct

  • Occasional Poster
  • **
  • 82
    Posts
  • Country: se
  • Reputation: 6
  • Love Linux Lite

  • Linux Lite: 5.0 64bit

  • CPU: 4x Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz

  • MEMORY: 8Gb

  • Kernel: 5.x
Hi


I did an update 2 days ago and shut down laptop after although it was asking for a restart after update. On starting computer yesterday it booted directly to the screen where i was to chose boot options and stuff but all worked well afterwards. Tried an update today and seems not to be working, please see error log below


Code: [Select]
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.


============ Log ===========


Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:3 https://repo.skype.com/deb stable InRelease [4 487 B]
Hit:4 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Get:8 https://download.sublimetext.com apt/stable/ InRelease [2 562 B]
Get:9 https://repo.skype.com/deb stable/main amd64 Packages [2 475 B]
Err:9 https://repo.skype.com/deb stable/main amd64 Packages
  File has unexpected size (2248 != 2475). Mirror sync in progress? [IP: 2.20.73.42 443]
  Hashes of expected file:
   - Filesize:2475 [weak]
   - SHA512:dc177d46272531b00bb2a40be46bdf7d9cf8420707528ac7f8ee5dc6f4957201337152c30b3f9cda86d847fa628299de30db87fd00644c12a9402e06e7999d4e
   - SHA256:cc855650be0533bd6f97f9db783864f3553a973d9418d92b0bf112609874b1d8
   - SHA1:32467cb1d7c892531c875a9d00da35cc2a3e541a [weak]
   - MD5Sum:737e940e3617ff841675feade9f744e4 [weak]
  Release file created at: Sat, 22 Sep 2018 08:36:19 +0000
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:12 https://download.sublimetext.com apt/stable/ Packages [967 B]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [328 kB]
Hit:14 http://repo.linuxliteos.com/linuxlite diamond InRelease
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [292 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [199 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [199 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2 852 B]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [2 848 B]
Fetched 1 278 kB in 2s (558 kB/s)
Reading package lists...
E: Failed to fetch https://repo.skype.com/deb/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (2248 != 2475). Mirror sync in progress? [IP: 2.20.73.42 443]
   Hashes of expected file:
    - Filesize:2475 [weak]
    - SHA512:dc177d46272531b00bb2a40be46bdf7d9cf8420707528ac7f8ee5dc6f4957201337152c30b3f9cda86d847fa628299de30db87fd00644c12a9402e06e7999d4e
    - SHA256:cc855650be0533bd6f97f9db783864f3553a973d9418d92b0bf112609874b1d8
    - SHA1:32467cb1d7c892531c875a9d00da35cc2a3e541a [weak]
    - MD5Sum:737e940e3617ff841675feade9f744e4 [weak]
   Release file created at: Sat, 22 Sep 2018 08:36:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Last Edit: September 23, 2018, 04:50:26 PM by thoughtinstinct
 


Re: Update error: File unexpected size
« Reply #1 on: September 22, 2018, 10:41:28 AM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Hello thoughtinstinct,

have you tried - Menu>System>Lite Tweaks
tick the box named "package cache" and click begin.

If this does not solve it try -

Hold down Ctrl and Alt keys and press t key, to open your terminal.

Copy/paste or type in to your terminal

Code: [Select]
sudo apt-get clean
type in your password when requested and then press enter.
 

Re: Update error: File unexpected size
« Reply #2 on: September 22, 2018, 04:44:17 PM »
 

thoughtinstinct

  • Occasional Poster
  • **
  • 82
    Posts
  • Country: se
  • Reputation: 6
  • Love Linux Lite

  • Linux Lite: 5.0 64bit

  • CPU: 4x Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz

  • MEMORY: 8Gb

  • Kernel: 5.x
Thanks bitsnpcs, i did sudo apt-get clean and had to try several times but now it says my system is up to date. Have a nice weekend.
 

Re: Update error: File unexpected size
« Reply #3 on: September 22, 2018, 05:33:34 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
You are Welcome @thoughtinstinct  :)
Enjoy your weekend too.
 

Re: Update error: File unexpected size
« Reply #4 on: September 23, 2018, 02:10:11 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7694
    Posts
  • Country: nz
  • Reputation: 728
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.0 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
If Skype related, also try:

Code: [Select]
wget https://repo.skype.com/data/SKYPE-GPG-KEY
Code: [Select]
sudo apt-key add SKYPE-GPG-KEY
 

Re: Update error: File unexpected size
« Reply #5 on: September 23, 2018, 04:29:05 PM »
 

thoughtinstinct

  • Occasional Poster
  • **
  • 82
    Posts
  • Country: se
  • Reputation: 6
  • Love Linux Lite

  • Linux Lite: 5.0 64bit

  • CPU: 4x Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz

  • MEMORY: 8Gb

  • Kernel: 5.x
Thanks for the reply Jerry. It looks like its indeed skype related, as i had skype installed and i dont know what happened but skype was removed from my laptop after last update as far i know. Tried your solution without much luck and have removed the skype ppa and im waiting to see if evertyhing is alright now. But the question is how and why did skype get removed? Anyway to know that? Thanks in advance.
 

Re: Update error: File unexpected size
« Reply #6 on: September 23, 2018, 04:33:39 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Hello thoughtinstinct,
Skype was removed as the clean removes partially downloaded packages, as per the error info, which says it is Skype that was partially downloaded.
If you reinstall Skype then using @Jerry solution.

 

Re: Update error: File unexpected size
« Reply #7 on: September 23, 2018, 04:35:26 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7694
    Posts
  • Country: nz
  • Reputation: 728
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.0 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Make sure you use Lite Software if you decide to install Skype again, no PPA's.

Sent from my Mobile phone using Tapatalk

 

Re: Update error: File unexpected size
« Reply #8 on: September 23, 2018, 04:39:50 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
@Jerry will it be needed to purge the removed PPA in this instance before using Lite Software install to prevent issues in future ?If so I am unsure of the command to suggest for this.
 

Re: Update error: File unexpected size
« Reply #9 on: September 23, 2018, 04:41:33 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7694
    Posts
  • Country: nz
  • Reputation: 728
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.0 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Yes, remove PPA first.

Sent from my Mobile phone using Tapatalk

 

Re: Update error: File unexpected size
« Reply #10 on: September 23, 2018, 04:43:13 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Thank You @Jerry  :)
 

Re: Update error: File unexpected size
« Reply #11 on: September 23, 2018, 04:45:02 PM »
 

thoughtinstinct

  • Occasional Poster
  • **
  • 82
    Posts
  • Country: se
  • Reputation: 6
  • Love Linux Lite

  • Linux Lite: 5.0 64bit

  • CPU: 4x Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz

  • MEMORY: 8Gb

  • Kernel: 5.x
Code: [Select]
Thanks bitsnpcs


I had to think really hard if skype was installed before or not so i won't be reinstalling it since i don't use it that often it seems haha. Anyway i was just worried it might be something else causing the file size differences.


Btw i enjoy your music selections a lot, hope you have some playlist you can share. All the best in your quest to master linux, im inspired to try myself.


Thanks Jerry


Will remember that if i ever need skype again.
Last Edit: September 23, 2018, 04:49:14 PM by thoughtinstinct
 

Re: Update error: File unexpected size
« Reply #12 on: September 23, 2018, 04:48:40 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
I had to think really hard if skype was installed before or not so i won't be reinstalling it since i don't use it that often it seems haha. Anyway i was just worried it might be something else causing the file size differences.Btw i enjoy your music selections a lot, hope you have some playlist you can share. All the best in your quest to master linux, im inspired to try myself.
Thanks @Jerry
Will remember that if i ever need skype again.
No it was Skype  ;)

Thank You, I enjoy trying to learn Linux. I hope you do too  :)
Glad you are enjoying the music selections  :) , I really enjoy choosing them.
These are playlists I began on YouTube, have not updated for a while, what do you think ? -

https://www.youtube.com/playlist?list=PLYjch275vFeb8z6WaqQwFXr3SwLrlrjQu

https://www.youtube.com/playlist?list=PLYjch275vFeZWrEyDddRkxVBooqvshLzx

https://www.youtube.com/playlist?list=PLYjch275vFeb3Si-wengijfons3BeSQ5a

https://www.youtube.com/playlist?list=PLYjch275vFeZd6C3sAC7nD0wlyDTHmegW

https://www.youtube.com/playlist?list=PLYjch275vFeZdPOIUX1_OqyRAthRG2YIb
Last Edit: September 23, 2018, 05:00:29 PM by bitsnpcs
 

Re: Update error: File unexpected size
« Reply #13 on: September 23, 2018, 05:01:55 PM »
 

thoughtinstinct

  • Occasional Poster
  • **
  • 82
    Posts
  • Country: se
  • Reputation: 6
  • Love Linux Lite

  • Linux Lite: 5.0 64bit

  • CPU: 4x Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz

  • MEMORY: 8Gb

  • Kernel: 5.x
Perfect @bitsnpcs

Saving all playlists, i'm sorted for a while thanks very much. This song currently on replay Khalia & I-Octane - One Dance.
 

Re: Update error: File unexpected size
« Reply #14 on: September 23, 2018, 05:09:10 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3180
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
You are welcome @thoughtinstinct

great taste its #1 in the playlist, I listen to it a lot of times.
The biggest playlist I made is on the Linux Lite forum  8) Music thread though and I update it more often.
 


Tags:
 


Linux Lite 5.0 Final is now available for download and installation