Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2763  / 2 Years ago, thu, november 18, 2021, 1:07:45

I'm running Ubuntu on a live usb drive and every time I boot, the apt line cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/ oneiric/main i386 Packages and another similar apt line (also sourced from the cdrom) get inserted in the sources.list file. And then I get that warning, which is annoying because I can't proceed with updates and installations unless that warning is rectified.



I have noticed that in one of the start-up scripts, the following lines are printed (not sure about the capitalization):



Writing new source list
Source list entries for this disc are


and then the above apt lines.



I don't know this is a lead to what's causing the duplicate entries. Also, I don't even want any cdrom to be in the sources.list file. Everytime I delete them whenever I get that warning when attempting to update/install and everytime I reboot, they come back again. Your help is appreciated.


More From » apt

 Answers
6

It might be worth trying the GUI tools that Ubuntu offers to see if they are smart enough to address the script that is overriding your changes.



This link addresses adding things like CD sources via Ubuntu's software manager, but I'm sure you can figure out how to use the instructions to remove it instead.
https://help.ubuntu.com/community/Repositories/Ubuntu


[#40880] Friday, November 19, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iriousutur

Total Points: 321
Total Questions: 112
Total Answers: 106

Location: Sweden
Member since Mon, Dec 7, 2020
3 Years ago
iriousutur questions
Sun, Apr 9, 23, 02:48, 1 Year ago
Tue, May 23, 23, 00:41, 1 Year ago
Fri, Oct 21, 22, 02:47, 2 Years ago
Mon, May 9, 22, 00:01, 2 Years ago
;