sources.list, learn how it works then edit it!!!

New to Debian (Or Linux in general)? Ask your questions here!

Re: Problems with connection?

Postby dasein » 2015-12-03 23:20

Head_on_a_Stick wrote:People are irritated 'cos this happens a lot...

Can't speak for anyone else, but this people is irritated because:

    (a) yeah, this happens a lot... and

    (b) there are over 10,000 links in this forum telling folks not to do this (or showing what happens if they do)... and

    (c) "No, I didn't add no PPAs, honest. I swear, it just happened/came with the update!" is pure BS, and the poster damn well knows that it is. If someone is going to ask me to provide them free (gratis) support, they can at a bare minimum do me the courtesy of not lying to me.
But like I said, that's just me.
Last edited by dasein on 2015-12-03 23:34, edited 1 time in total.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby GarryRicketson » 2015-12-03 23:27

by dasein » But like I said, that's just me.

Not really, it is "irritating", it makes me sad, when I think about how much work and time people have put into writing and maintaining things like the "Debian Wiki", manuals, etc. and it does sometimes seem like nobody bothers to use them,.. :(
It also depends on what kind of mood I'm in :D
If that is the case then i think i should reinstall

Just a little more, If everything is working on now, then you probably do not need to re-install immediately.

I just found out what the problem was. I tried to set a static IP for my computer and failed probably, so i set it back to dynamic and stuff is working again.

Probably as long as you do not try doing any updates or upgrades, everything will keep working for "who knows how long", This gives you plenty of opportunity to copy and save any data that is important to you, IE: videos, images, etc.
Actual "back up", wont't be much use, you would not want to make a complete "back up", then re-install the same "mixed up" system over again.
In a nutshell, do what you need to, to have everything you want saved, and be prepared for a "crash", if and when that occurs, then you will be better off doing a fresh install, but it will be no big deal, you have everything you want to save, saved. It must be on a separate device or medium, like a USB stick, or you can put the stuff on a CD/DVD.
Probably you have a program of some sort, that need this :
Code: Select all
  http://ppa.launchpad.net

You may want to try to find out more on that, what it is, where you got it etc.
There may be something similar available in the Debian repos.
My kid made a mess of his system , downloading some games he wanted,.. but that is another subject.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problems with connection?

Postby dasein » 2015-12-03 23:54

GarryRicketson wrote:
If that is the case then i think i should reinstall

Just a little more, If everything is working on now, then you probably do not need to re-install immediately.

Strongly disagree. Installing software from "out-of-bounds" leaves the system in an indeterminate and unpredictable state. Said system may start to exhibit odd and unreproducible behavior, whether immediately or eventually. What was it that one guy said? Something like, "My system isn't broken. It just keeps mutating!"

Then the in-duh-vidual comes here and starts a thread that goes on for pages but goes nowhere, because, of course, each FrankenDebian is unique, and so are its "problems." Particularly when a poster has already shown him/herself willing to lie about adding foreign repos, the best thing that can be said about such ratholes is that they divert time, attention, and expertise away from people who have genuine (and fixable) problems.

Mixing repos means reinstall. It's just that simple.

But that's just me. :mrgreen:
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby GarryRicketson » 2015-12-04 00:54

I also said> In a nutshell, do what you need to, to have everything you want saved, and be prepared for a "crash", if and when that occurs, then you will be better off doing a fresh install

But you are right Dasein, it is better to do the re-install, then to waste time, and effort trying to keep something working, that is not going to keep working.
In other words, get rid of the "time bomb" before it explodes. :mrgreen:
And remember in the original "Frankenstein" the "monster" turned on it;s creator.
But any way, what I was trying to say, if his system is working, no need to "panic", the OP has the opportunity to copy and save what they need to before the do the re-install.
In fact, this (copy and save) is probably something that should be done before the machine is shutdown, it is usually when you re-boot next, that the damage reveals itself , it will not boot, and by then it may be to late to get any of the data.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problems with connection?

Postby stevepusser » 2015-12-04 01:03

I made this; I'm sure it can be used in the future:

Image
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.9, Telegram-desktop 1.8.15, Pale Moon 28.8.0, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11319
Joined: 2009-10-06 05:53

Re: Problems with connection?

Postby steve_v » 2015-12-04 04:19

kustixd wrote:I DON´T KNOW WHAT AM I DOING.

I made some more changes to sources.list

The issue here, and the cause of most of the annoyance when yet another of these problems turns up:
Those two comments should be mutually exclusive, and seeing them in the same post makes me think: This is probably already beyond fixing.

If you don't know what you're doing, don't touch that file.
If you do know what you're doing, you probably won't want to in the first place.
Why? Because even if you put it back later, the damage is likely already done... and fixing a frankenDebian is a royal PITA.

Unfortunately, there is a lot of really bad advice floating about the 'net :evil: As soon as someone tells you to alter sources.list you should become extremely wary, particularly if it's to get a "newer version" of something.
steve_v
 
Posts: 695
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Problems with connection?

Postby dasein » 2015-12-04 04:32

stevepusser wrote:I made this; I'm sure it can be used in the future:
[image snipped]

Loveit, loveit, loveit!

You rawk!

Edit: And for those who want to claim that the installer/an update/gremlins "did it"...
Image
Last edited by dasein on 2015-12-04 05:07, edited 1 time in total.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby dasein » 2015-12-04 04:36

steve_v wrote:
kustixd wrote:I DON´T KNOW WHAT AM I DOING.

I made some more changes to sources.list

The issue here, and the cause of most of the annoyance when yet another of these problems turns up:
Those two comments should be mutually exclusive, and seeing them in the same post makes me think: This is probably already beyond fixing.

Pithy, incisive and insightful. Exactly correct. Anyone who blindly lumbers around in sources.list forfeits the right to hide behind "I'm a newbie. Waahh!"

steve_v wrote:If you don't know what you're doing, don't touch (this) file.

Y'know, I am almost tempted to file a WISHLIST bug against the installer, asking to have that exact string (or something very much like it) written to sources.list during installation.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby steve_v » 2015-12-04 05:15

dasein wrote:Y'know, I am almost tempted to file a WISHLIST bug against the installer, asking to have that exact string (or something very much like it) written to sources.list file during installation.
I have been thinking that something like this is needed for quite some time now.
OTOH, who wants to read the boring header comments / manpages / official documentation when you can just follow dubious instructions from J. Random website? :roll:

Also, thanks, guess I do occasionally get it right - probably learning from the master or something. ;)

Ed. More memes: ROFL. Not quite literally, but close. :lol:
steve_v
 
Posts: 695
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Problems with connection?

Postby dasein » 2015-12-04 05:21

steve_v wrote:OTOH, who wants to read the boring header comments / manpages / official documentation when you can just follow dubious instructions from J. Random website? :roll:

That's why I think it should be written directly to the file. Anyone who doesn't bother to read (or simply ignores) the embedded warning saying "DON'T MESS WIF DIS!!" deserves whatever pointing-and-laughter they receive.

The folks that read it will benefit from it. The folks that don't read it will serve as a source of guilt-free schadenfreude. A win-win, if ever there was one. :mrgreen:

I'm liking this idea more and more.

steve_v wrote:Also, thanks, guess I do occasionally get it right

Don't sell yourself short. (That's MY job, damnit!)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: sources.list, learn how it works then edit it!!!

Postby kustixd » 2015-12-04 11:13

So basically this is what i did BEFORE i realized that the problem was not there.
http://imgur.com/hNFgRHV
And this is what i got.
http://imgur.com/YZs91Yk
Can´t remember how it go to editing sources.list file.

YES, NOW I KNOW IT WAS A MISTAKE. Also the server is barely 2 days old and i made it just for learning.

I appreciate all the comments and am thankful for everyone's response. Now i know how important that file is and it should be edited only when you are aware of what you are doing.
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: sources.list, learn how it works then edit it!!!

Postby dasein » 2015-12-04 13:08

Oh for the love of J. "Bob" Dobbs...

The First Rule of Holes: stop digging.

There is exactly one way for those PPAs to find their way into your sources. Gremlins didn't do it. The update didn't do it. Aliens from planet Nefarious didn't do it. And no, that stupid online tool (as crappy as it is) didn't do it either.

Stop it. Really.
Image

For the benefit of others weary of being repeatedly and blatantly BSed by this OP, the obligatory time-saver link: ucp.php?i=zebra&mode=foes&add=kustixd
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: sources.list, learn how it works then edit it!!!

Postby kustixd » 2015-12-04 20:25

Hey wiseguy, take some anger management courses. Like wth is wrong with you, you think that i installed those PPA packets on purpose and then started this topic to get... idk what, attention? to confuse people? It looks like yes, i installed something that requires those packets, but i was UNAWARE of it, get it ? I started learning Debian idk 5 days ago? And then there is you #rageboy who cant wrap his head around it, and is constantly telling the same point in different form... K ban me, block me or whatever, i recommend that you leave your rage for the psychiatrist cuz its depressing to read your post. peace
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: sources.list, learn how it works then edit it!!!

Postby Wheelerof4te » 2015-12-04 23:03

dasein can't see your post, so I guess lashing out at him was kinda pointless :D

Not to play advocate (i.e. a lawyer) for him, but despite dasein's heated posts, he is a nice guy. But when someone doesn't take his/her time to read and take advice, then a little ''push' is needed. I would always take dasein's approach over someone's ''let's ignore the poor guy'' thing.

At least he is trying to get something through your skull. To your brain.
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: sources.list, learn how it works then edit it!!!

Postby stevepusser » 2015-12-05 06:52

Perhaps the PPA was added by an "apt add-repository" type command copied off of an Ubuntu blog.

That sources generator site is old and broken, and the results are bad. The first stop should always be the wiki:

https://wiki.debian.org/SourcesList#Exa ... 2Jessie.22
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.9, Telegram-desktop 1.8.15, Pale Moon 28.8.0, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11319
Joined: 2009-10-06 05:53

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable