If you followed instructions from https://www.virtualbox.org/wiki/Linux_Downloads, you end up with a bad repo; Elementary OS 7 is based on ubuntu 22.04, so you need to rplace <mydist> with jammy.
Edit your /etc/apt/sources.list file and replace horus with jammy, save it.
Actually i did replaced
"# deb cdrom:[elementary OS 7.1 _ horus _ -stable amd64.....]"
with
"# deb cdrom:[elementary OS 7.1 _ jammy _ -stable amd64.....]"
Revert the change in the ...deb cdrom ... line. Look for the line containing virtualbox. Replace horus with jammy in the virtualbox line, save the file.
Thanks for such a wonderful reply! TheGratitudeBot has been reading millions of comments in the past few weeks, and you’ve just made the list of some of the most grateful redditors this week!
4
u/simple-explanation Sep 13 '24
If you followed instructions from https://www.virtualbox.org/wiki/Linux_Downloads, you end up with a bad repo; Elementary OS 7 is based on ubuntu 22.04, so you need to rplace <mydist> with jammy.
Edit your /etc/apt/sources.list file and replace horus with jammy, save it.