# Installation is failing

**URL:** <https://forum.pritunl.com/t/installation-is-failing/2233>\
**Category:** Pritunl\
**Tags:** pritunl\
**Created:** [July 26, 2024, 6:40am UTC](https://forum.pritunl.com/t/installation-is-failing/2233 "2024-07-26T06:40:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bisudw](https://forum.pritunl.com/user_avatar/forum.pritunl.com/bisudw/32/899_2.png) [@bisudw](https://forum.pritunl.com/u/bisudw)\
**Post date:** [July 26, 2024, 6:40am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/1 "2024-07-26T06:40:23Z")

</div>

I am trying to install the Pritunl in Ubuntu 22.04  
Its failing because of size issue. The size is not matching in the packages.  
I have installed pritunl before it works out of box, but this lime looks like some build got messed up.

---

<div class="post-metadata">

**Author:** ![bisudw](https://forum.pritunl.com/user_avatar/forum.pritunl.com/bisudw/32/899_2.png) [@bisudw](https://forum.pritunl.com/u/bisudw)\
**Post date:** [July 26, 2024, 6:41am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/2 "2024-07-26T06:41:55Z")

</div>

I tried installing in Ubuntu 24, 22, Debian 12, Debian 11,  
None of these works.

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 26, 2024, 6:57am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/3 "2024-07-26T06:57:45Z")

</div>

I have it installed (1.32.3805.95-0ubuntu1~jammy) (Ubuntu 22.04) and now get: (When trying to update)

```auto
Err:1 http://repo.pritunl.com/stable/apt jammy/main amd64 pritunl amd64 1.32.3897.75-0ubuntu1~jammy
  404 Not Found

```

And it is not there so 404 makes sense… [Index of /stable/apt/pool/main/p/pritunl/](https://repo.pritunl.com/stable/apt/pool/main/p/pritunl/)

 ![Screenshot 2024-07-26 at 08.57.16](https://forum-static.pritunl.com/original/1X/ba152e93bd734a8b3249f57b498c22514c2295ca.png)

So it looks to be missing?

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 26, 2024, 8:45am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/4 "2024-07-26T08:45:52Z")

</div>

```auto
Get:5 https://repo.pritunl.com/stable/apt jammy InRelease [2,419 B]
Get:6 https://repo.pritunl.com/stable/apt jammy/main amd64 Packages [1,880 B]
Err:6 https://repo.pritunl.com/stable/apt jammy/main amd64 Packages
  File has unexpected size (2118 != 1880). Mirror sync in progress? [IP: 2606:4700:20::ac43:48f8 443]
  Hashes of expected file:
   - Filesize:1880 [weak]
   - SHA256:a0a8a49b347d58e68836e3a4c501ac0b1c8669d7931b2453f31453549aacede0
   - SHA1:6225dd206492158231a710230b9d8d0d866c54a8 [weak]
   - MD5Sum:87a00a4e02770f4be1226cc928704376 [weak]
  Release file created at: Wed, 24 Jul 2024 23:04:07 +0000
Fetched 2,419 B in 1s (3,124 B/s)
Reading package lists... Done
E: Failed to fetch https://repo.pritunl.com/stable/apt/dists/jammy/main/binary-amd64/Packages.gz File has unexpected size (2118 != 1880). Mirror sync in progress? [IP: 2606:4700:20::ac43:48f8 443]
   Hashes of expected file:
    - Filesize:1880 [weak]
    - SHA256:a0a8a49b347d58e68836e3a4c501ac0b1c8669d7931b2453f31453549aacede0
    - SHA1:6225dd206492158231a710230b9d8d0d866c54a8 [weak]
    - MD5Sum:87a00a4e02770f4be1226cc928704376 [weak]
   Release file created at: Wed, 24 Jul 2024 23:04:07 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

```

---

<div class="post-metadata">

**Author:** ![matt.vugrinec](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@matt.vugrinec](https://forum.pritunl.com/u/matt.vugrinec)\
**Post date:** [July 26, 2024, 9:51am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/5 "2024-07-26T09:51:40Z")

</div>

I have the same issue on Amazon Linux 2.  
It seems that repomd is old, probably not updated;

```auto
3c3ed15190f0e166916bf5ddcf542a2ae0c99e4d0e7bf7a..> 25-Jul-2024 21:58 5386014
52dab0b974dd7c7d5a2ed2d7de16fed5f743e4f87af1d07..> 25-Jul-2024 21:58 19394
5b3a3c654311b2779bef9b23ff2b0fd33db53b17c93efae..> 25-Jul-2024 21:58 5967
78bf6ca953074e63393f5d95bf37efada0a17e3e81a2d6b..> 25-Jul-2024 21:58 7545
9d3f321eb5a707bf763d6bb1d6705812fa3e9ced514ff86..> 25-Jul-2024 21:58 4804980
d45e9f0fe0f6089f2e6684e03e5ab81369ba8fb76202b1b..> 25-Jul-2024 21:58 85252
repomd.xml 24-Jul-2024 23:04 3095

```

---

<div class="post-metadata">

**Author:** ![swalk](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@swalk](https://forum.pritunl.com/u/swalk)\
**Post date:** [July 26, 2024, 3:04pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/6 "2024-07-26T15:04:33Z")

</div>

We’ve had problems deploying on Rocky Linux all day, this was working fine in the 3 or so weeks it’s taken to develop, today we got these errors:

```auto
[MIRROR] pritunl-1.32.3805.95-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f86f81f1acf93f05dced619d99107b1712c7e515e5f9cf99749f8c706f21d5e3(sha256) Expected: e56edc5f2b2b6765f6d14070d94da48e4d87b7552b809618e81e6541166d969c(sha256) 
[MIRROR] pritunl-1.32.3805.95-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f86f81f1acf93f05dced619d99107b1712c7e515e5f9cf99749f8c706f21d5e3(sha256) Expected: e56edc5f2b2b6765f6d14070d94da48e4d87b7552b809618e81e6541166d969c(sha256) 
[MIRROR] pritunl-1.32.3805.95-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f86f81f1acf93f05dced619d99107b1712c7e515e5f9cf99749f8c706f21d5e3(sha256) Expected: e56edc5f2b2b6765f6d14070d94da48e4d87b7552b809618e81e6541166d969c(sha256) 
[MIRROR] pritunl-1.32.3805.95-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f86f81f1acf93f05dced619d99107b1712c7e515e5f9cf99749f8c706f21d5e3(sha256) Expected: e56edc5f2b2b6765f6d14070d94da48e4d87b7552b809618e81e6541166d969c(sha256) 
[FAILED] pritunl-1.32.3805.95-1.el8.oraclelinux.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success

[MIRROR] pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f325d96bfe695cca7468b5dae913d9fccafd34f3349ae08567cb1eb50664ffd7(sha256) Expected: 76247b72d51a620b2b25d062e3f8b2851d368c76ffc60268067416bdd290c815(sha256) 
[MIRROR] pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f325d96bfe695cca7468b5dae913d9fccafd34f3349ae08567cb1eb50664ffd7(sha256) Expected: 76247b72d51a620b2b25d062e3f8b2851d368c76ffc60268067416bdd290c815(sha256) 
[MIRROR] pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f325d96bfe695cca7468b5dae913d9fccafd34f3349ae08567cb1eb50664ffd7(sha256) Expected: 76247b72d51a620b2b25d062e3f8b2851d368c76ffc60268067416bdd290c815(sha256) 
[MIRROR] pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f325d96bfe695cca7468b5dae913d9fccafd34f3349ae08567cb1eb50664ffd7(sha256) Expected: 76247b72d51a620b2b25d062e3f8b2851d368c76ffc60268067416bdd290c815(sha256) 
[FAILED] pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
  pritunl-openvpn-2.6.8-1.el8.oraclelinux.x86_64: Cannot download, all mirrors were already tried without success

```

---

<div class="post-metadata">

**Author:** ![Gideon](https://forum.pritunl.com/user_avatar/forum.pritunl.com/gideon/32/901_2.png) [@Gideon](https://forum.pritunl.com/u/Gideon)\
**Post date:** [July 26, 2024, 3:11pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/7 "2024-07-26T15:11:18Z")

</div>

Same here. Setting up Ubuntu 24 for work. Been having trouble all day.

```auto
sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 https://repo.pritunl.com/stable/apt noble InRelease [2,416 B]
Get:6 https://repo.pritunl.com/stable/apt noble/main amd64 Packages [876 B]
Err:6 https://repo.pritunl.com/stable/apt noble/main amd64 Packages
  File has unexpected size (618 != 876). Mirror sync in progress? [IP: 104.26.14.194 443]
  Hashes of expected file:
   - Filesize:876 [weak]
   - SHA256:807ac8e70a0e3637a3e8f019d7f0ee0b60c0e68c79142991d2937558ade1f1b1
   - SHA1:822fa9955fa834abb91099e91c6a1a6a496a0b4b [weak]
   - MD5Sum:8452b9a2d21433774b68a1198b32a460 [weak]
  Release file created at: Wed, 24 Jul 2024 23:04:16 +0000
Reading package lists... Done
E: Failed to fetch https://repo.pritunl.com/stable/apt/dists/noble/main/binary-amd64/Packages.gz File has unexpected size (618 != 876). Mirror sync in progress? [IP: 104.26.14.194 443]
   Hashes of expected file:
    - Filesize:876 [weak]
    - SHA256:807ac8e70a0e3637a3e8f019d7f0ee0b60c0e68c79142991d2937558ade1f1b1
    - SHA1:822fa9955fa834abb91099e91c6a1a6a496a0b4b [weak]
    - MD5Sum:8452b9a2d21433774b68a1198b32a460 [weak]
   Release file created at: Wed, 24 Jul 2024 23:04:16 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

```

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 26, 2024, 3:25pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/8 "2024-07-26T15:25:59Z")

</div>

The unstable repository was accidentally uploaded to the stable repository. This was reverted and the stable was re-uploaded but it appears some files either got cached or left inconsistent. It should be working now.

The commands below will need to be run to clear the local repository cache.

```auto
# yum
sudo yum clean all
# debian
sudo apt-get clean

```

---

<div class="post-metadata">

**Author:** ![Gideon](https://forum.pritunl.com/user_avatar/forum.pritunl.com/gideon/32/901_2.png) [@Gideon](https://forum.pritunl.com/u/Gideon)\
**Post date:** [July 26, 2024, 4:33pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/9 "2024-07-26T16:33:32Z")

</div>

Thanks, it’s working now for me at least.

---

<div class="post-metadata">

**Author:** ![stefanostc](https://forum.pritunl.com/user_avatar/forum.pritunl.com/stefanostc/32/903_2.png) [@stefanostc](https://forum.pritunl.com/u/stefanostc)\
**Post date:** [July 28, 2024, 6:39am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/10 "2024-07-28T06:39:23Z")

</div>

Hello, on ubuntu problem persist

E: Failed to fetch [http://repo.pritunl.com/stable/apt/pool/main/p/pritunl/pritunl\_1.32.3897.75-0ubuntu1~focal\_amd64.deb](http://repo.pritunl.com/stable/apt/pool/main/p/pritunl/pritunl_1.32.3897.75-0ubuntu1~focal_amd64.deb) 404 Not Found [IP: 104.26.15.194 80]  
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

and looking on repo file 1.32.3897 is not present

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 28, 2024, 2:17pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/11 "2024-07-28T14:17:39Z")

</div>

It is still loading from the cache, `v1.32.3897.75` is only in the unstable repository. That is remaining from the cache of the unstable data in the stable repository. Run `sudo apt-get clean`.

---

<div class="post-metadata">

**Author:** ![stefanostc](https://forum.pritunl.com/user_avatar/forum.pritunl.com/stefanostc/32/903_2.png) [@stefanostc](https://forum.pritunl.com/u/stefanostc)\
**Post date:** [July 28, 2024, 3:03pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/12 "2024-07-28T15:03:52Z")

</div>

I’ve alreay tryed to clean cache, but not work.  
Here the full cmd:

```auto
ubuntua@ubuntu:~$ sudo apt-get clean

ubuntu@ubuntu:~$ sudo apt-get update
...
Fetched 3,586 kB in 1s (3,581 kB/s)
Reading package lists... Done
ubuntu@ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  cloud-init landscape-common pritunl snapd thermald tzdata ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 165 MB of archives.
After this operation, 1,125 MB disk space will be freed.
Do you want to continue? [Y/n] Y
...
Err:7 http://repo.pritunl.com/stable/apt focal/main amd64 pritunl amd64 1.32.3897.75-0ubuntu1~focal
  404 Not Found [IP: 104.26.14.194 80]
...
E: Failed to fetch http://repo.pritunl.com/stable/apt/pool/main/p/pritunl/pritunl_1.32.3897.75-0ubuntu1~focal_amd64.deb 404 Not Found [IP: 104.26.14.194 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ubuntu@ubuntu:~$

```

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 28, 2024, 3:27pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/13 "2024-07-28T15:27:10Z")

</div>

Run the commands below.

```auto
sudo apt clean
sudo rm -rf /var/cache/apt/archives/
sudo apt update
sudo apt install pritunl

```

---

<div class="post-metadata">

**Author:** ![stefanostc](https://forum.pritunl.com/user_avatar/forum.pritunl.com/stefanostc/32/903_2.png) [@stefanostc](https://forum.pritunl.com/u/stefanostc)\
**Post date:** [July 28, 2024, 4:05pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/14 "2024-07-28T16:05:29Z")

</div>

not work, same result

```auto
...
sudo apt clean
sudo rm -rf /var/cache/apt/archives/
sudo apt update
...
ubuntu@ubuntu:~$ sudo apt install pritunl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  pritunl
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 139 MB of archives.
After this operation, 1,125 MB disk space will be freed.
Err:1 http://repo.pritunl.com/stable/apt focal/main amd64 pritunl amd64 1.32.3897.75-0ubuntu1~focal
  404 Not Found [IP: 172.67.72.248 80]
E: Failed to fetch http://repo.pritunl.com/stable/apt/pool/main/p/pritunl/pritunl_1.32.3897.75-0ubuntu1~focal_amd64.deb 404 Not Found [IP: 172.67.72.248 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

```

---

<div class="post-metadata">

**Author:** ![stefanostc](https://forum.pritunl.com/user_avatar/forum.pritunl.com/stefanostc/32/903_2.png) [@stefanostc](https://forum.pritunl.com/u/stefanostc)\
**Post date:** [July 28, 2024, 4:47pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/15 "2024-07-28T16:47:16Z")

</div>

finally resolved:

-comment the row in /etc/apt/sources.list.d/pritunl.list (the repository)  
-sudo apt-get update  
-sudo apt-get upgrade  
-remove comment in /etc/apt/sources.list.d/pritunl.list the repository  
-sudo apt-get update

All ok

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 29, 2024, 1:24pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/16 "2024-07-29T13:24:18Z")

</div>

I also had to comment the row in /etc/apt/sources.list.d/pritunl.list, then do an `sudo apt-get update`

```auto
sudo apt clean
sudo rm -rf /var/cache/apt/archives/
sudo apt update

```

did not work

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 29, 2024, 8:21pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/17 "2024-07-29T20:21:30Z")

</div>

Another solution could be specifying the region URL `https://repo-east.pritunl.com/` or `https://repo-west.pritunl.com/` in the repository configuration.

---

<div class="post-metadata">

**Author:** ![Fantasillion](https://forum.pritunl.com/user_avatar/forum.pritunl.com/fantasillion/32/907_2.png) [@Fantasillion](https://forum.pritunl.com/u/Fantasillion)\
**Post date:** [August 7, 2024, 8:21am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/18 "2024-08-07T08:21:11Z")

</div>

I had to move the pritunl.list, update, and then move the pritunl.list again for it to stop with the 404:

```auto
mv /etc/apt/sources.list.d/pritunl.list /etc/apt/sources.list.d/pritunl.list.old
apt update
mv /etc/apt/sources.list.d/pritunl.list.old /etc/apt/sources.list.d/pritunl.list

```

---

<div class="post-metadata">

**Author:** ![jpmonzonr](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jpmonzonr/32/913_2.png) [@jpmonzonr](https://forum.pritunl.com/u/jpmonzonr)\
**Post date:** [August 14, 2024, 5:03am UTC](https://forum.pritunl.com/t/installation-is-failing/2233/19 "2024-08-14T05:03:22Z")

</div>

Same here!

---

<div class="post-metadata">

**Author:** ![jpmonzonr](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jpmonzonr/32/913_2.png) [@jpmonzonr](https://forum.pritunl.com/u/jpmonzonr)\
**Post date:** [August 14, 2024, 1:16pm UTC](https://forum.pritunl.com/t/installation-is-failing/2233/20 "2024-08-14T13:16:21Z")

</div>

ok this worked for me.

adding this to pritunl list: deb https:// [repo-east.pritunl.com](http://repo-east.pritunl.com) /stable / apt focal main

Then, sudo apt upgrade

[Next page](https://forum.pritunl.com/t/installation-is-failing/2233.md?page=2)
