pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Can't install pgadmin through apt

Open koenedaele opened this issue 4 years ago • 3 comments

I'm trying to install pgadmin4 (Ubuntu 22.04) by following the instructions at https://www.pgadmin.org/download/pgadmin-4-apt/. When running sudo apt update I run into the following errors:

Fout:11 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4/main amd64 Packages
  Het bestand heeft een onverwachte grootte (5096 != 4528). Is er een spiegelserversynchronisatie bezig? [IP: 2a02:16a8:dc51::55 443]
  Hashes of expected file:
   - Filesize:4528 [weak]
   - SHA512:0b21069919406e3a83cc7ea5cc29175eebf160ff4fbd392db9d6f57b802d5b7b1891af80ad167458952ebda9b36ec4ecc2e4f3f49bc7b39ac2497e468fe7e6d2
   - SHA256:1553afa9ff29946f6908c152f4f66f6acfa78764473fcb41dc54bd4bae2268c9
   - SHA1:ec8ff11340364b9d8a90d51ca42f9e4d20ca0b0e [weak]
   - MD5Sum:059b626f9eaa0df868203dca4cf1b583 [weak]
  Release file created at: Thu, 20 Oct 2022 10:44:50 +0000
Ophalen:12 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4/main all Packages [3.095 B]
Fout:12 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4/main all Packages
  
21,7 kB opgehaald in 6s (3.647 B/s)
Pakketlijsten worden ingelezen... Klaar
E: Ophalen van https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy/dists/pgadmin4/main/binary-amd64/Packages.gz is mislukt  Het bestand heeft een onverwachte grootte (5096 != 4528). Is er een spiegelserversynchronisatie bezig? [IP: 2a02:16a8:dc51::55 443]
   Hashes of expected file:
    - Filesize:4528 [weak]
    - SHA512:0b21069919406e3a83cc7ea5cc29175eebf160ff4fbd392db9d6f57b802d5b7b1891af80ad167458952ebda9b36ec4ecc2e4f3f49bc7b39ac2497e468fe7e6d2
    - SHA256:1553afa9ff29946f6908c152f4f66f6acfa78764473fcb41dc54bd4bae2268c9
    - SHA1:ec8ff11340364b9d8a90d51ca42f9e4d20ca0b0e [weak]
    - MD5Sum:059b626f9eaa0df868203dca4cf1b583 [weak]
   Release file created at: Thu, 20 Oct 2022 10:44:50 +0000
E: Ophalen van https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy/dists/pgadmin4/main/binary-all/Packages.gz is mislukt  
E: Ophalen van sommige indexbestanden is mislukt. Deze zijn of genegeerd, of er zijn oudere versies van gebruikt.

koenedaele avatar Nov 18 '22 14:11 koenedaele

Same Problem on ubuntu 20.04

Err:24 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4/main all Packages File has unexpected size (4973 != 4617). Mirror sync in progress? [IP: 217.196.149.55 443] Hashes of expected file:

  • Filesize:4617 [weak]
  • SHA512:337da419d87d9ce9a361b1bc77991296b29b6018df42fa4aa9b149179ed29aa3053f6b67f556509ced56967e0cee1f06d37fbcbcce567f6e140669f3fae28698
  • SHA256:df826d3f3b06f78b77588f38225c3f10c2f650062a79ddf3c4cb870215e59ed0
  • SHA1:70f8d69ad5b03244905e18216e4911d26408bdf4 [weak]
  • MD5Sum:4751ce46a860ec9597461986be750a07 [weak] Release file created at: Thu, 20 Oct 2022 10:46:19 +0000 Get:25 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4/main amd64 Packages [6,381 B] Err:25 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4/main amd64 Packages

Fetched 9,752 B in 4s (2,334 B/s) Reading package lists... Done E: Failed to fetch https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal/dists/pgadmin4/main/binary-all/Packages.gz File has unexpected size (4973 != 4617). Mirror sync in progress? [IP: 217.196.149.55 443] Hashes of expected file: - Filesize:4617 [weak] - SHA512:337da419d87d9ce9a361b1bc77991296b29b6018df42fa4aa9b149179ed29aa3053f6b67f556509ced56967e0cee1f06d37fbcbcce567f6e140669f3fae28698 - SHA256:df826d3f3b06f78b77588f38225c3f10c2f650062a79ddf3c4cb870215e59ed0 - SHA1:70f8d69ad5b03244905e18216e4911d26408bdf4 [weak] - MD5Sum:4751ce46a860ec9597461986be750a07 [weak] Release file created at: Thu, 20 Oct 2022 10:46:19 +0000 E: Failed to fetch https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal/dists/pgadmin4/main/binary-amd64/Packages.gz
E: Some index files failed to download. They have been ignored, or old ones used instead.

sivavarma111 avatar Nov 19 '22 03:11 sivavarma111

I had the same problem yesterday, but everything worked fine today. May have just been a temporary hiccup somewhere.

bennybp avatar Nov 19 '22 23:11 bennybp

Works fine now.

koenedaele avatar Nov 20 '22 16:11 koenedaele