You are Here:
Download Linux Lite 5.4 RC1 today - See Release Announcements



[ SOLVED ] Skypeforlinux - File has unexpected size (2248 != 2466)

Author (Read 5892 times)

0 Members and 1 Guest are viewing this topic.

Skypeforlinux - File has unexpected size (2248 != 2466)
« on: September 23, 2018, 04:06:38 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
Hello. Newbie here. Installed a month ago. Updated twice without incident. And then ... I'd appreciate any suggestions. And thanks.

"
===========================
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 ===========

Get:1 https://repo.skype.com/deb stable InRelease [4,487 B]
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://mirror.unlockforus.com/linuxlite diamond InRelease [2,104 B]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:5 http://repo.steampowered.com/steam precise InRelease [2,842 B]
Hit:6 http://repository.spotify.com stable InRelease
Hit:7 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Get:8 https://repo.skype.com/deb stable/main amd64 Packages [2,472 B]
Err:8 https://repo.skype.com/deb stable/main amd64 Packages
  File has unexpected size (2248 != 2472). Mirror sync in progress? [IP: 23.60.72.39 443]
  Hashes of expected file:
   - Filesize:2472 [weak]
   - SHA512:87cfd31de74b21ae0b5f7b34ea15ebfdfe7cab2d88c50aebd6473247a612130731e9fcebade54209183e753ef3ed19f8c824ce8a829e3e1c3dba59d56c5431cd
   - SHA256:11376d414434d119ca18a2e9362f992fa48c0c696ad6b32c3c8c7c6164a8c9ee
   - SHA1:fee49ad138e872120babb70f61cb3bda46bcee53 [weak]
   - MD5Sum:12193012a30193d9b5dc553ee90b3f6b [weak]
  Release file created at: Sun, 23 Sep 2018 19:36:19 +0000
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://ppa.launchpad.net/tails-team/tails-installer/ubuntu bionic InRelease
Get:11 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:13 http://mirror.unlockforus.com/linuxlite diamond/main amd64 Packages [13.1 kB]
Get:14 http://repo.steampowered.com/steam precise/steam Sources [550 B]
Get:15 http://repo.steampowered.com/steam precise/steam i386 Packages [803 B]
Get:16 http://repo.steampowered.com/steam precise/steam amd64 Packages [606 B]
Get:17 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease [15.4 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-security/main i386 Packages [134 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [168 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-security/main Translation-en [63.6 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu bionic-security/universe i386 Packages [66.7 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [66.8 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [39.3 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [1,608 B]
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1,444 B]
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [292 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [328 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [125 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [199 kB]
Get:30 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2,304 B]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [199 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [94.1 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [4,180 B]
Get:34 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [4,336 B]
Get:35 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [2,740 B]
Get:36 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2,300 B]
Get:37 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [2,848 B]
Get:38 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2,852 B]
Get:39 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,200 B]
Get:40 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic/main amd64 Packages [1,944 B]
Get:41 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic/main i386 Packages [1,940 B]
Fetched 2,101 kB in 3s (672 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 != 2472). Mirror sync in progress? [IP: 23.60.72.39 443]
   Hashes of expected file:
    - Filesize:2472 [weak]
    - SHA512:87cfd31de74b21ae0b5f7b34ea15ebfdfe7cab2d88c50aebd6473247a612130731e9fcebade54209183e753ef3ed19f8c824ce8a829e3e1c3dba59d56c5431cd
    - SHA256:11376d414434d119ca18a2e9362f992fa48c0c696ad6b32c3c8c7c6164a8c9ee
    - SHA1:fee49ad138e872120babb70f61cb3bda46bcee53 [weak]
    - MD5Sum:12193012a30193d9b5dc553ee90b3f6b [weak]
   Release file created at: Sun, 23 Sep 2018 19:36:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
"
Last Edit: September 25, 2018, 10:15:29 AM by Jerry
 


Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #1 on: September 23, 2018, 04:08:54 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
Hello jerry baker,
Welcome to the forum :)
This may be the solution you are looking for -
https://www.linuxliteos.com/forums/installing-software/update-error-file-unexpected-size/msg43319/#msg43319
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #2 on: September 23, 2018, 05:09:56 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
Thanks bitsnpcs. I followed each step on https://www.linuxliteos.com/forums/installing-software/update-error-file-unexpected-size/msg43319/#msg43319, ending with the complete removal of Skype from Synaptic. Each step ended with No joy. I'm still getting error msgs. Do I need to refresh something, or ??? I'm going to try a clean restart and give updating another shot. Thanks again. ... jerry
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #3 on: September 23, 2018, 05:15:10 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
How did it go on the clean restart and updates, any error log ?
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #4 on: September 23, 2018, 05:25:16 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
I got another error log. I don't have a diff between them. At the end of Jerry's post on how to fix Software Updates, he writes:

"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."

Was I supposed to reinstall Skype? I didn't, yet. Is the "@Jerry solution" to then follow the same steps, after reinstalling Skype?
Here's my current error log, and thanks again:

===========================
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 ===========

Get:1 https://repo.skype.com/deb stable InRelease [4,487 B]
Hit:2 http://repo.steampowered.com/steam precise InRelease
Hit:3 http://mirror.unlockforus.com/linuxlite diamond InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://repository.spotify.com stable InRelease
Get:7 https://repo.skype.com/deb stable/main amd64 Packages [2,475 B]
Err:7 https://repo.skype.com/deb stable/main amd64 Packages
  File has unexpected size (2248 != 2475). Mirror sync in progress? [IP: 23.44.160.39 443]
  Hashes of expected file:
   - Filesize:2475 [weak]
   - SHA512:75cce67a942234f9b9c6ee237f645b5a46af727ac2cfe9300b3b6031c05384086e2059480715a1c3d5fda87e93c5b8270fb78a1b61f27af27a5b1fbebbb5c92f
   - SHA256:c9d50a242c2220998363e0bb900478ebd2f0c796c26538353f410f268bdea2de
   - SHA1:6679cb2d3bdfbc38cb83fa65a13bbf357b6ac374 [weak]
   - MD5Sum:46cedc57d3924f9f24a862a8d84566f4 [weak]
  Release file created at: Sun, 23 Sep 2018 21:01:18 +0000
Hit:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:11 http://ppa.launchpad.net/tails-team/tails-installer/ubuntu bionic InRelease
Hit:12 http://archive.canonical.com/ubuntu bionic InRelease
Hit:13 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Fetched 4,487 B in 2s (2,045 B/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: 23.44.160.39 443]
   Hashes of expected file:
    - Filesize:2475 [weak]
    - SHA512:75cce67a942234f9b9c6ee237f645b5a46af727ac2cfe9300b3b6031c05384086e2059480715a1c3d5fda87e93c5b8270fb78a1b61f27af27a5b1fbebbb5c92f
    - SHA256:c9d50a242c2220998363e0bb900478ebd2f0c796c26538353f410f268bdea2de
    - SHA1:6679cb2d3bdfbc38cb83fa65a13bbf357b6ac374 [weak]
    - MD5Sum:46cedc57d3924f9f24a862a8d84566f4 [weak]
   Release file created at: Sun, 23 Sep 2018 21:01:18 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #5 on: September 23, 2018, 05:34:44 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
Hold down your Ctrl key and Alt key and press t , to open your terminal.

Copy/paste or type in to your terminal -
Code: [Select]
sudo apt-get purge skype
type your password when asked

press enter

once completed
type in to your terminal -
Code: [Select]
exit
Navigate through Menu>System>Lite Software
select to install Skype from here.

Once completed run Menu>Favorites>Install Updates.

If you have an error then hold down the Ctrl and Alt keys and press t
copy/paste or type @Jerry instructions (shown below) in to your terminal

Code: [Select]
wget https://repo.skype.com/data/SKYPE-GPG-KEY
press enter

then copy/paste or type in to your terminal

Code: [Select]
sudo apt-key add SKYPE-GPG-KEY
press enter
type your password when requested.
press enter.

Type in to your terminal
Code: [Select]
exit
Try Menu>Favorites>Install Updates  to see if there are errors.
Last Edit: September 23, 2018, 06:02:20 PM by bitsnpcs
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #6 on: September 23, 2018, 06:10:00 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
I followed your instructions. Skype reinstalled without errors. Updating yielded another error log. So I followed the other copy/pastes and after the SKYPE-GPG-KEY instruction yielded OK, I again tried updating and got another error log. So  ???. Seems circular. Again:

===========================
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://repo.steampowered.com/steam precise InRelease
Get:2 https://repo.skype.com/deb stable InRelease [4,487 B]
Hit:3 http://repository.spotify.com stable InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://mirror.unlockforus.com/linuxlite diamond InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:7 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Get:8 https://repo.skype.com/deb stable/main amd64 Packages [2,477 B]
Err:8 https://repo.skype.com/deb stable/main amd64 Packages
  File has unexpected size (2459 != 2477). Mirror sync in progress? [IP: 23.60.72.39 443]
  Hashes of expected file:
   - Filesize:2477 [weak]
   - SHA512:cfcccb58036f220b82d9f4eeaab6a9106355577d124fa63d98358750767d3a8a98a1553a9d264975a04b977c53fe79610b59444fc357a1f65a99bc6ab18d925e
   - SHA256:c8514714a93af11a5d998af4a262a15cb97c7d7773373a75e50809d831f1868f
   - SHA1:4d6d0623fec7fed71a84446b7059ad00ccf08760 [weak]
   - MD5Sum:5c51c6704546dcf59b46ae28a956eeb4 [weak]
  Release file created at: Sun, 23 Sep 2018 21:56:19 +0000
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://archive.canonical.com/ubuntu bionic InRelease
Hit:11 http://ppa.launchpad.net/tails-team/tails-installer/ubuntu bionic InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:13 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Fetched 251 kB in 2s (115 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 (2459 != 2477). Mirror sync in progress? [IP: 23.60.72.39 443]
   Hashes of expected file:
    - Filesize:2477 [weak]
    - SHA512:cfcccb58036f220b82d9f4eeaab6a9106355577d124fa63d98358750767d3a8a98a1553a9d264975a04b977c53fe79610b59444fc357a1f65a99bc6ab18d925e
    - SHA256:c8514714a93af11a5d998af4a262a15cb97c7d7773373a75e50809d831f1868f
    - SHA1:4d6d0623fec7fed71a84446b7059ad00ccf08760 [weak]
    - MD5Sum:5c51c6704546dcf59b46ae28a956eeb4 [weak]
   Release file created at: Sun, 23 Sep 2018 21:56:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #7 on: September 23, 2018, 06:16:53 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
Hello jerry baker,
Thank you for your patience.
can you do this -

hold down Ctrl and Alt keys and press t, to open your terminal.
Copy/paste or type in to your terminal

Code: [Select]
sudo apt-get clean
type your password when requested
press enter.
You may need to run this more than once like @thoughtinstinct done to solve it.

Then repeat all of my above (previous) post, are there errors ?
Last Edit: September 23, 2018, 06:19:01 PM by bitsnpcs
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #8 on: September 23, 2018, 06:40:41 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
ran "sudo apt-get clean" nine times, just to be really anal

ran "sudo apt-get purge skype"
which yielded:
"Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package skype"

Navigated through Menu>System>Lite Software
Selected Install Software
Five packages were listed. Skype was NOT among them.
Dropbox, iDevices..., Password..., Remote..., & Teamviewer are. But, alas and as always, NO Skype.

No point in going on from there to the inevitable Error Log. Maybe there's a clue in "Unable to locate package skype"? Maybe not!
I can live without Skype, but I cannot trust an OS that cannot update, especially Security Updates. Any alternative suggestions?  8) jerry
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #9 on: September 23, 2018, 07:10:53 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
As there is now No Skype on your system there should also now be no Skype related errors in the log.

You can if you prefer (an alternative suggestion) update in the terminal by

Code: [Select]
sudo apt-get updatethen
Code: [Select]
sudo apt-get upgrade
The first command discovers available updates, the second command applies/installs those updates to your system.
Last Edit: September 23, 2018, 07:20:08 PM by bitsnpcs
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #10 on: September 23, 2018, 07:30:47 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
 ;D We have ignition! It's happily chugging along. So in future, if I hit a snag with one program, would you suggest purging it, then updating & upgrading. Then, at some future date, trying to reinstall that program again? Or what? Could there be some snag in the archives? I'm no technical heavyweight, but I'd appreciate any advice you might offer. Anyway, it's late here, and i SINCERELY appreciate you sticking with me on this. I was about ready to just chalk it up to the vengeful gods of software karma. Or their relatives. ps I think I submitted this in the wrong area of the forums ... I'm not used to sending up flares online. Usually, I just Google for answers. Thanks!!!
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #11 on: September 23, 2018, 08:11:15 PM »
 

jerry baker

  • New to Forums
  • *
  • 8
    Posts
  • Reputation: 1
So the update & upgrade ran to completion with no errors. But when I run Install Updates from the menu, it again throws the same error. So I Completely Remove Skype, using Synaptic aka Install/Remove Programs. Then I run the Purge/Update/Upgrade commands from the Terminal. Again, it runs without errors. And again, when I rerun the Install Updates script from the Menu, it throws the same error. Skype is diseased, or haunted, or whatever.  :P So be it. Thanks again for your help. I think I may be going back to Mint. I wanted to learn about the workings of Linux, but I think I'd rather just have a system that does NOT back sass me at every turn. And so I bid a fond farewell.
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #12 on: September 23, 2018, 09:09:01 PM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
@jerry baker
one of the advanced users will hopefully notice the thread and be able to solve this with you.


 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #13 on: September 24, 2018, 03:10:34 AM »
 

Jerry

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

  • Linux Lite: 5.2 64bit

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

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Looks like a problem with Microsoft, nothing we can do at the moment. I am trying to contact them, but it's proving to be a nightmare with their online forms.

FYI please use sudo apt-get dist-upgrade in LL and not sudo apt-get upgrade on the cli.

For now, I suggest commenting out the Skype repo until they get their s#@t together. :)

Code: [Select]
sudo sed -i -e 's/^/#/' /etc/apt/sources.list.d/skype-stable.list
This is a workaround NOT a fix for now. Please direct others with Skype problems to this specific post from now on until a fix is announced. Cheers :)

Mint discussion - https://forums.linuxmint.com/viewtopic.php?f=90&t=278233&p=1530523&hilit=skype#p1530503

This is bound to spread throughout the deb community. Hopefully this will 'self-correct'.

 
Last Edit: September 24, 2018, 03:41:48 AM by Jerry
 

Re: Skypeforlinux - File has unexpected size (2248 != 2466)
« Reply #14 on: September 24, 2018, 11:03:33 AM »
 

bitsnpcs

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

  • Linux Lite: 3.2 64bit
FYI please use sudo apt-get dist-upgrade in LL and not sudo apt-get upgrade on the cli.

Please direct others with Skype problems to this specific post from now on until a fix is announced. Cheers :)

I will try to remember this for cli.
I have bookmarked this thread to find for the directing of others to the specific post.
 


Tags:
 


Download Linux Lite 5.4 RC1 today - See Release Announcements