LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update error: File unexpected size
#1
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:
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.freecinema2022.gq/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.
Reply
#2
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:
sudo apt-get clean

type in your password when requested and then press enter.
Reply
#3
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.
Reply
#4
You are Welcome [member=6123]thoughtinstinct[/member]  Smile
Enjoy your weekend too.
Reply
#5
If Skype related, also try:

Code:
wget https://repo.skype.com/data/SKYPE-GPG-KEY

Code:
sudo apt-key add SKYPE-GPG-KEY
Reply
#6
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.
Reply
#7
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 [member=2]Jerry[/member] solution.

Reply
#8
Make sure you use Lite Software if you decide to install Skype again, no PPA's.

Sent from my Mobile phone using Tapatalk

Reply
#9
[member=2]Jerry[/member] 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.
Reply
#10
Yes, remove PPA first.

Sent from my Mobile phone using Tapatalk

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)