For some reason my /etc/apt/sources.list file still has a line pointing to the installation DVD (usb). It has one such line commented out with # but still has another identical one remaining. I want to remove the remaining line or comment it out but the file is read only and denies me permission to make changes. How to edit?
BTW the sources. list file also has two lines pointing to mirrors, which will remain.
Thank you.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Edit Read Only File [Solved}
Edit Read Only File [Solved}
Last edited by llewellen on 2018-04-11 05:04, edited 1 time in total.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope
Re: Edit Read Only File
You need to be root to edit system files.
Open a terminal, su with root password and
ctrl + o writes
ctrl + x exits nano
update apt
we are done
Open a terminal, su with root password and
Code: Select all
nano /etc/apt/sources.list
ctrl + x exits nano
update apt
Code: Select all
apt update
Code: Select all
exit
Re: Edit Read Only File
I ran gedit as root and commented out the offending line, saved the changes. Then a long list of Warnings were returned in the terminal. Hmmm. However, Synaptic then ran perfectly OK and installed the packages I selected. Sorry but I didn't save all the text that was returned in terminal.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope