apt keeps software packages separate from the sources that provide those packages.
You can uninstall software, but that doesn't remove the source that the package came from. That would be a bad idea: Most folks get most of their software from a few sources, and Ubuntu sources are just like every other source (not special).
So a source must be cleaned up separately when the admin (you) determines that software from that particular source is no longer welcome.
Apt stores package sources in two locations:
- Ubuntu default sources are stored in a text file located at
/etc/apt/sources.list
- Other sources are stored as separate text files in the directory
/etc/apt/sources.list.d/
For example, your output clearly shows your Owncloud source is in that directory: It's /etc/apt/sources.list.d/owncloud.list
Remove the source. In this case, simply delete the file.
sudo rm /etc/apt/sources.list.d/owncloud.list
Since you have changed your sources, remember to update apt's database of sources and packages.
sudo apt update
The instructions would be slightly different if the source were in the other location (merely edit the file instead of deleting the file).
Ubuntu Desktop users can optionally use their Software & Updates application to control sources instead of mucking about with shell commands. It's included with Ubuntu Desktop -- look for it using your Desktop Search.
Also, recall that this answer is about apt and deb packages only. apt has never heard of snaps or flatpaks or applimages or pip wheels or any other packaging method, and problems with non-deb packages won't be fixed by changing apt sources.