Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

robjbrain's avatar

Manual Forge Installation on VPS: Failed to fetch libmcrypt4_2.5.8-3.1ubuntu1_amd64.deb

I'm trying to use the provided ssh file to manually setup forge on a VPS. But I keep getting stuck at this line:

apt-get install -y --force-yes build-essential curl fail2ban gcc git libmcrypt4 libpcre3-dev \

Which throws this error:

Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/universe/libm/libmcrypt/libmcrypt4_2.5.8-3.1ubuntu1_amd64.deb 403 Forbidden [IP: 95.85.0.50 80]

Googling hasn't turned up an obvious issue.

I've attempted to use

apt-get update and --fix-missing

but the error persists.

I haven't attempted to get any further than this, since presumably i'll hit problems eventually without mcrypt

There are various other things I don't understand about this manual installation file, but for now this is my stumbling block.

Any suggestions?

0 likes
5 replies
bashy's avatar

Guessing it doesn't exist on that mirror. Tried using official ones from Ubuntu?

robjbrain's avatar

Thanks for the reply, how would I go about using a different mirror?

I'm trying to use Forge because I don't really know how to do this myself :)

bashy's avatar

Yeah could tell it was which is why I suggested using better ones. Their own have been down multiple times within a year.

Please or to participate in this conversation.