Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello I am trying to upgrade my Linux and I cannot I get this saying
E:Malformed line 1 in source list etc//apt/sources.list (type)
E: The list of sources could not be read.sudo
I do not know what to do I tried everything I am ready to throw this stupid chromebook to the garbage i do not like this at all please someone help.
I have the Acer Chromebook spin 11 and I hate this thing.
The error is telling you the problem - your sources.list has an incorrect line 1.
(Note, the path is "/etc/apt/sources.list" not "etc//apt/sources.list" - please take extra care when copying error messages.)
Open the file "/etc/apt/sources.list" in a text editor - if the issue is not obvious, copy-paste the contents into a post inside "[code]..[/code]" tags.
Yours expired in June 2024. I am only answering because I am on my HP Chromebook X360 which I just updated.
ChromeOS handles this of course kinda like Windows. Keeps you out of the loop.
If by chance someone shoe horned a Debian distro on your chromebook.
Try this command in terminal so we get some info on your installation.
Termux does not use copy and paste. Sorry the screenshot is a bit small. Use the CTRL + keys to blow up the picture.
That will blur it a little though.
No, you didn't because if you had followed the suggestion in post 2 you would have resolved the problem. You need to open that file in a text editor with root (sudo) privileges and either comment out the first line by placing a # at the beginning of the line or deleting it.
Quote:
Current version is Debian GNU/Linux 10 and I cannot even upgrade it because of Linux..
You don't seem to understand that Debian is one version (distribution) of Linux of which there are hundreds.
Lisa Marie, please don't panic. Linux is not harder to use than Windows, it's just different. One of those differences is that all the configuration is in text files (mostly in the /etc folder), not in an inaccessible binary registry. And if any of them goes wrong, it can be edited and corrected just like any other bit of text. Another difference is that most Linux utilities give very informative error messages when they go wrong. The message you saw is a case in point. It tells you precisely which file has got corrupted. /etc/apt/sources.list is the file where the addresses (URLs) of the Debian software repositories are stored. If one of these isn't a valid URL, apt can't download anything from that site.
Obviously you cannot be expected to edit this file unless you know what it is supposed to look like. That's why several people here have told you to post the file itself so that we can all have a look at it and see what's wrong with it.
If it's any comfort to you, I had an almost identical problem after a new install of another member of the Debian family. I didn't know what was wrong with the addresses in the file, so I posted the whole file here. And the friendly people here told me what those addresses were supposed to look like. I edited them all and apt worked again.
Personally I would install gedit, since it is much simpler to use:
Code:
sudo apt install gedit
Of course this probably will not work because of the problem with your sources list and therefore you will be obliged to use nano in the first instance.
Once you have opened the sources list using:
Code:
sudo nano /etc/apt/sources.list
take a screenshot (Print Scrn key) and then close the file using the combination of Ctrl + X.
Then post the screenshot on here using Additional items > Attach files (below the main text box).
this is what I I get I attached a screen shot of what it says when I type something in sorry that I cannot figure it out even though you guys told me how to do it sorry that I can not figure this out this Chromebook is new thing for me and I do not like it at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.