How To Remove Reference to Virtual Box URL From apt-get update

4 réponses [Dernière contribution]
davidpgil
Hors ligne
A rejoint: 08/26/2015

Hello all, I recently tried to install virtualbox in Trisquel 7 without knowing it doesn't play nice with it (or the libre movement) so I want to remove references to it in apt-get update. How to I remove references to "http://download.virtualbox.org" from my apt-get-update?

This is what I see:

...
Ign http://fr.archive.trisquel.info belenos-updates/main Translation-en_US
Ign http://fr.archive.trisquel.info belenos-updates/main Translation-en
Ign http://download.virtualbox.org belenos Release
Err http://download.virtualbox.org belenos/contrib amd64 Packages
404 Not Found [IP: 24.143.200.80 80]
Err http://download.virtualbox.org belenos/non-free amd64 Packages
404 Not Found [IP: 24.143.200.80 80]
Err http://download.virtualbox.org belenos/contrib i386 Packages
404 Not Found [IP: 24.143.200.80 80]
Err http://download.virtualbox.org belenos/non-free i386 Packages
404 Not Found [IP: 24.143.200.80 80]
Ign http://download.virtualbox.org belenos/contrib Translation-en_US
Ign http://download.virtualbox.org belenos/contrib Translation-en
Ign http://download.virtualbox.org belenos/non-free Translation-en_US
Ign http://download.virtualbox.org belenos/non-free Translation-en
Fetched 514 B in 30s (16 B/s)
W: GPG error: http://www.muflone.com ubuntu Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B4360204B250F0D3
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/belenos/contrib/binary-amd64/Packages 404 Not Found [IP: 24.143.200.80 80]

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/belenos/non-free/binary-amd64/Packages 404 Not Found [IP: 24.143.200.80 80]

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/belenos/contrib/binary-i386/Packages 404 Not Found [IP: 24.143.200.80 80]

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/belenos/non-free/binary-i386/Packages 404 Not Found [IP: 24.143.200.80 80]

Thanks in advance for any help, fellows.

- David

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

Your sources seem to be a bit messed up. Can you please post the content of /etc/apt/sources.list and /etc/apt/sources.list.d?

davidpgil
Hors ligne
A rejoint: 08/26/2015

Thanks for calling my attention to these files. I am pretty new to really using and maintaining a Linux distro. My source.list looked OK but may source.list.d had references to non-trisquel repos. I deleted them. :)

onpon4
Hors ligne
A rejoint: 05/30/2012

Yeah, it looks like some sort of script assumed you were running Debian and tried to enable the non-free and contrib repositories.

Anyway, you can go to "Software & Updates" in the system settings to remove those software sources you want to remove.

davidpgil
Hors ligne
A rejoint: 08/26/2015

Thanks! This did it!