Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 - apt update error: File has unexpected size #11

Closed
ewojc opened this issue Oct 27, 2022 · 1 comment
Closed

Ubuntu 20.04 - apt update error: File has unexpected size #11

ewojc opened this issue Oct 27, 2022 · 1 comment
Labels
updating The server is literally updating, as it can be seen in the APT log messages. See issue #9

Comments

@ewojc
Copy link

ewojc commented Oct 27, 2022

Hello, I was trying to update repositories via apt/apt-get/aptitude tool but I'm receiving error message for https://ppa.javinator9889.com repos.
Also I was tried to "autoclean"/"clean" and manually removing repos but it doesn't help:
commands:

apt-get clean
apt-get autoclean
sudo rm -rv /var/lib/apt/lists/*

output:

Err:23 https://ppa.javinator9889.com all/main amd64 Packages                                        
  File has unexpected size (790 != 788). Mirror sync in progress? [IP: 188.114.97.9 443]
  Hashes of expected file:
   - Filesize:788 [weak]
   - SHA256:1e481163247828041cb2291dcf3756dee3fd0626e09da4a0117a7f12818a5ae8
   - SHA1:2aea89c2306561d014caa1fc742b085aa8994fc7 [weak]
   - MD5Sum:2a4f8ce4d6522fc54f957dbbc9ee9354 [weak]
  Release file created at: Thu, 27 Oct 2022 08:37:11 +0000
.
.
.
E: Failed to fetch https://ppa.javinator9889.com/dists/all/main/binary-amd64/Packages.gz  File has unexpected size (790 != 788). Mirror sync in progress? [IP: 188.114.97.9 443]
   Hashes of expected file:
    - Filesize:788 [weak]
    - SHA256:1e481163247828041cb2291dcf3756dee3fd0626e09da4a0117a7f12818a5ae8
    - SHA1:2aea89c2306561d014caa1fc742b085aa8994fc7 [weak]
    - MD5Sum:2a4f8ce4d6522fc54f957dbbc9ee9354 [weak]
   Release file created at: Thu, 27 Oct 2022 08:37:11 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

specs:

--------------- 
OS: Ubuntu 20.04.5 LTS x86_64 
Host: HP EliteBook 850 G8 Notebook PC 
Kernel: 5.15.0-48-generic 
Uptime: 22 mins 
Packages: 2098 (dpkg), 19 (snap) 
Shell: bash 5.0.17 
Resolution: 1920x1080, 2560x1440 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK3] 
Icons: Adwaita [GTK3] 
Terminal: guake 
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz 
GPU: Intel Device 9a49 
Memory: 3887MiB / 15684MiB 
@Javinator9889
Copy link
Owner

As you can read, the PPA is syncing... Wait for a while and try again (and look for the issue before opening a new one, because some time ago another user said the same... See #9)

@Javinator9889 Javinator9889 added the updating The server is literally updating, as it can be seen in the APT log messages. See issue #9 label Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
updating The server is literally updating, as it can be seen in the APT log messages. See issue #9
Projects
None yet
Development

No branches or pull requests

2 participants