Sudo apt update errors in ubuntu studio 24.04

Help! when i type sudo apt update i get a bunch of errors that say target is configured multiple times. i googled it and get that i have duplicates in my repo sources or something. is there an easy fix for this? i reinstalled ubuntu studio to fix this and i got the errors again. thanks

Hi sagie1234

The good news is this is fixable, I had then problem many months ago and after trawling around the internet found the solution.

The not so good news is the actual file(s) I edited are shrouded in the mists of my memory.

The upshot, if you can find the file, which I think was /etc/apt/sources.list, is to edit out the duplicate lines and then sudo apt-get update and the problems then went away.

Cheers
Pete

1 Like

If you could post the output of sudo apt update it would be a big help in identifying exactly what your specific issues are and someone if not myself can help you out.

thanks for writing me back and giving your advice
the source list file was moved to multiple files in a folder in that directory! geez im lucky i only had to add an # to one of the lines… thanks so much prcowley
-Sage

1 Like