Contents
- 1 How do you fix the list of sources could not be read?
- 2 How do you fix the malformed etc apt sources list?
- 3 How do I edit the source list in Ubuntu?
- 4 Where is source list?
- 5 How do I open a source list file?
- 6 Where is the list of sources could not be read?
- 7 What does ” source file could not be read ” mean in Firefox?
How do you fix the list of sources could not be read?
3 Answers
- rm /etc/apt/sources.list.
- nano /etc/apt/sources.list.
- paste the following and save: deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib deb http://http.kali.org/kali kali-rolling main non-free contrib.
How do you fix the malformed etc apt sources list?
Edit the file mentioned in the error to fix the broken lines.
- To do this, run this command (press Ctrl + Alt + T to open a Terminal): sudo -H gedit /etc/apt/sources.list.
- Save the file and quit the text editor.
How do I edit the source list in Ubuntu?
Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano. You can also use the terminal program vim to edit text files, but nano is easier to use.
Why sudo apt get update is not working?
This error can happen when fetching the latest repositories during ” apt-get update ” was interrupted, and a subsequent ” apt-get update ” is not able to resume the interrupted fetch. In this case, remove the content in /var/lib/apt/lists before retrying ” apt-get update “.
How do I reset my source list?
3 Answers
- Move the corrupted one to the safe place sudo mv /etc/apt/sources.list ~/ and recreate it sudo touch /etc/apt/sources.list.
- Open Software & Updates software-properties-gtk. This will open software-properties-gtk with no repository selected.
Where is source list?
This control file is located in /etc/apt/sources. list and additionally any files ending with “. list” in /etc/apt/sources. list.
How do I open a source list file?
Adding a Repository Using the sources. list File
- Open the /etc/apt/sources.list file in any editor: $ sudo nano /etc/apt/sources.list.
- Add the VirtualBox repository in the file:
- Save and close the file.
- After adding the repository in the /etc/apt/sources.
Where is the list of sources could not be read?
Re: E:the list of sources could not be read. Scroll down to line 70 (you’ll see a line counter in the bottom right-hand corner). It’s probably some third-party software source, so just put a # in front of it and save and close. and see if that clears it.
Where is repository-apt-get sources could not be read?
E: Type ‘http://dl.google.com/linux/chrome/deb/’ is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list E: The list of sources could not be read. The line you currently have is missing at least the deb part. Thanks for contributing an answer to Unix & Linux Stack Exchange!
How to fix the list of sources file?
You need to edit the file /etc/apt/sources.list and fix (at least) line 61 of it. You can edit it by opening a terminal window and doing: You can comment out that line by putting a # at the start of the line. Not the answer you’re looking for?
What does ” source file could not be read ” mean in Firefox?
The full error message usually reads as follows: “FileX could not be saved because the source file could not be read.” FileX represents the path to the file that you could not save, which will be displayed in the error message.