From Askubuntu
Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
I'm guessing this file is no longer used in 24.04 LTS.
The fix, python script listed on AskUbuntu no longer appears to be valid
I was trying to clean up my source list from a non free and a stable version of Opera.
Result Failed
I know the python script is old at this point but I thought I would try it.
I followed the steps on AskUbuntu page linked above
Here is terminal output:
x@x-HP:~/Downloads$ cd aptsources-cleanup
x@x-HP:~/Downloads/aptsources-cleanup$ ls
aptsources-cleanup.pyz
x@x-HP:~/Downloads/aptsources-cleanup$ chmod a+x aptsources-cleanup.pyz
x@x-HP:~/Downloads/aptsources-cleanup$ sudo ./aptsources-cleanup.pyz
No duplicate entries were found.
“/etc/apt/sources.list” contains no valid and enabled repository lines.
Do you want to remove it? (yes/no/all/none/display)
? n
0 of 1 empty sourcelist files removed.
Thank you for your time and effort in creating the aptsources-cleanup script
From Askubuntu
Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
I'm guessing this file is no longer used in 24.04 LTS.
The fix, python script listed on AskUbuntu no longer appears to be valid
I was trying to clean up my source list from a non free and a stable version of Opera.
Result Failed
I know the python script is old at this point but I thought I would try it.
I followed the steps on AskUbuntu page linked above
Here is terminal output:
Thank you for your time and effort in creating the aptsources-cleanup script