Duplicate sources list

I run those two command as Qubes suggests

“sudo cp /etc/apt/sources.list.d/qubes-r3.list /etc/apt/sources.list.d/qubes-r3-upgrade.list
sudo sed -i ‘s/r3.1/r3.2/’ /etc/apt/sources.list.d/qubes-r3-upgrade.list”

Now when I run sudo apt-get update, shows up a line

“Duplicate sources.list entry http://deb.qubes-os.org/r3.0/vm/ jessie/main amd64 Packages (/var/lib/apt/lists/deb.qubes-os.org_r3.0_vm_dists_jessie_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems”


Qubes only specific question. Anyhow.

Open /etc/apt/sources.list.d/qubes-r3-upgrade.list with root rights and remove the duplicate line manually.

If you’re upgrading from 3.1 to 3.2, then why do you still have 3.0 sources?

As Patrick said, you should edit your source files manually and make sure you have the correct version for everything.

I forgot to run this:

sudo rm -f /etc/apt/sources.list.d/qubes-r3-upgrade.list

1 Like
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]