Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I tried to download something by adding a domain to my sources.list, I didn't know how to save it properly so I closed my terminal and I ended up with a lot of different versions for the same file but I don't know which one should I delete.
I also want to remove that domain since it can't connect to it and it throws an error every time I run sudo apt update.
It's a BAD idea to be adding non-Debian repos to your sources.lst. This basically defeats one of the main security/integrity features of GNU/Linux.
I know, but how do I install something that's not on the Debian repository? I know I can install software with .deb but sometimes there's no option for that and I have to install from the terminal.
I'm downloading FLOSS stuff BTW, the only proprietary thing that I have installed is Steam.
Meh... I wouldn't worry too much about Steam. I haven't run Deb in many years, but when I did, I would compile non-Deb apps from source or install binaries to /opt. Of course, neither of these methods is recommended by the "Debian Way", the Debian Philosophy.
Anyway, if there are not .deb downloads on the sites where you're searching for certain applications, you'll be forced to use other methods. There are MANY Debian users here at LQ.org. Please stand by for some more useful information and tips from them.
Distribution: Ubuntu based stuff for the most part
Posts: 1,173
Rep:
From your screenshot the source line is invalid. Looking at the site you did not include what version of Debian to use.
Your line just says "Debian_" no version number that I can see. http://download.opensuse.org/reposit...ild/Debian_10/
For the multiple files, look at the one with the ~ on the end. The file size is 0, so is safe to delete.
I see you were using Vim to edit, read up on on the .swo and .swp files here: http://ttm.github.io/research/2017/1...m-swp-swo.html
Meh... I wouldn't worry too much about Steam. I haven't run Deb in many years, but when I did, I would compile non-Deb apps from source or install binaries to /opt. Of course, neither of these methods is recommended by the "Debian Way", the Debian Philosophy.
Anyway, if there are not .deb downloads on the sites where you're searching for certain applications, you'll be forced to use other methods. There are MANY Debian users here at LQ.org. Please stand by for some more useful information and tips from them.
Luck with it... and have a great weekend!
~Eric
No, I know Steam is not going to install any kind of malware or security issue.
I don't know how to compile non-deb apps or how to install binaries, I should check that out. And I know it's not recommended but Debian repository is kinda limited, it doesn't even have Oracle VirtualBox which is a pretty common software and it's FLOSS.
From your screenshot the source line is invalid. Looking at the site you did not include what version of Debian to use.
Your line just says "Debian_" no version number that I can see. http://download.opensuse.org/reposit...ild/Debian_10/
For the multiple files, look at the one with the ~ on the end. The file size is 0, so is safe to delete.
I see you were using Vim to edit, read up on on the .swo and .swp files here: http://ttm.github.io/research/2017/1...m-swp-swo.html
Mmm, okay, I don't want to install it anymore, so I should go to the /etc/apt/sources.list and delete the source line, right?
Great, I'll delete the one with "~". I don't want the content within the .swo and the .swp files, since it is the same that's in the normal file but with the source line that doesn't work. Is it safe to delete them? I read the link you provide me but I'm not sure I understood everything.
I have taken a good look at the .list files, so what? I still don't know if it's safe to delete those.
The second URL I provided has a screenshot of the output of that command. I have already read about that, I trying not to fuck it up but since I'm a noob it's complicated. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.