Question

Seemingly unable to install older version of Mono. Why/How?

I’m attempting to install an older version of mono with Ubuntu 20.04 as the application I’d like to host is not yet C# 7.0 compliant. I’ve followed dozens of tutorials with constant droplet rebuilds and I’m at my wit’s end with this.

Using the steps provided at mono-project[dot]com/download, I changed the repo link from the standard stable-focal main to wheezy/snapshots/4.8.1.0 main and that appears to work as I’ve confirmed that the link saved in /etc/apt/sources.list.d/mono-official-stable.list is correct.

The moment I run sudo apt install mono-complete however, something pushes the latest version of Mono instead. A coworker tested this briefly with Lightsail and had no issues so this appears to be something with Digital Ocean specifically.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @orbitstorm88,

Once you make the change to the repository list, you need to run sudo apt update and then run the sudo apt install mono-complete.

Let me know how it goes. Regards, Bobby