error installing older mono version despite following tutorial

71 Views Asked by At

I need to install an older version of mono and followed the official tutorial where I added in /etc/apt/sources.list.d/mono-xamarin.list the following

deb http://download.mono-project.com/repo/ubuntu stable/snapshots/4.8.1 main

Updating the repository works out well. But when I try to install it via

sudo apt install mono-complete

or

sudo apt install mono-devel

I am not getting version 4.8.1 as specified but the newest version 6.8.

What am I doing wrong here and how do I force install the older version?

0

There are 0 best solutions below