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

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

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

Postby kustixd » 2015-12-03 18:03

Hello!

I recently installed Debian 8 on my other computer and wanted to install a driver for wireless. Sadly unsuccessful... So i started browsing for solutions but could not find the final answer. At the moment i need to install build-essential but it seems i can´t connect to the Debian server. And then i tried to apt-get update which was also unsuccessful.
Here is what happens:
root@kustidebian:~# apt-get update
Ign http://ftp.ee.debian.org testing InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ftp.debian.org jessie-updates InRelease
Err http://ftp.ee.debian.org testing Release.gpg
Unable to connect to ftp.ee.debian.org:http:
Err http://ppa.launchpad.net trusty Release.gpg
Unable to connect to ppa.launchpad.net:http:
Ign http://ftp.ee.debian.org testing Release
Err http://ftp.debian.org jessie-updates Release.gpg
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Ign http://ftp.debian.org jessie-updates Release
Ign http://ppa.launchpad.net trusty Release
Err http://ftp.ee.debian.org testing/main Sources
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/contrib Sources
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/non-free Sources
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/main amd64 Packages
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/contrib amd64 Packages
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/non-free amd64 Packages
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/contrib Translation-en_US
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/contrib Translation-en
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/main Translation-en_US
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/main Translation-en
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/non-free Translation-en_US
Unable to connect to ftp.ee.debian.org:http:
Err http://ftp.ee.debian.org testing/non-free Translation-en
Unable to connect to ftp.ee.debian.org:http:
Err http://ppa.launchpad.net trusty/main Sources
Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty/main amd64 Packages
Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty/main Translation-en_US
Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty/main Translation-en
Unable to connect to ppa.launchpad.net:http:
Err http://ftp.debian.org jessie-updates/main Sources
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/contrib Sources
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/non-free Sources
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/main amd64 Packages
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/contrib amd64 Packages
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/non-free amd64 Packages
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/contrib Translation-en_US
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/contrib Translation-en
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/main Translation-en_US
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/main Translation-en
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/non-free Translation-en_US
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org jessie-updates/non-free Translation-en
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Ign http://security.debian.org jessie/updates InRelease
Err http://security.debian.org jessie/updates Release.gpg
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Ign http://security.debian.org jessie/updates Release
Err http://security.debian.org jessie/updates/main Sources
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/contrib Sources
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/non-free Sources
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/main amd64 Packages
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/contrib amd64 Packages
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/non-free amd64 Packages
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/contrib Translation-en_US
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/contrib Translation-en
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/main Translation-en_US
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/main Translation-en
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/non-free Translation-en_US
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org jessie/updates/non-free Translation-en
Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... elease.gpg Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... elease.gpg Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... elease.gpg Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... ce/Sources Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... ce/Sources Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... ce/Sources Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... 4/Packages Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... 4/Packages Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... 4/Packages Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... tion-en_US Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... slation-en Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... tion-en_US Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... slation-en Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... tion-en_US Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.ee.debian.org/debian/dists/t ... slation-en Unable to connect to ftp.ee.debian.org:http:

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... ce/Sources Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... ce/Sources Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... ce/Sources Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... 4/Packages Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... 4/Packages Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... 4/Packages Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... tion-en_US Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... slation-en Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... tion-en_US Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... slation-en Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... tion-en_US Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/jess ... slation-en Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... ce/Sources Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... 4/Packages Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... tion-en_US Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... slation-en Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://security.debian.org/dists/jessie ... elease.gpg Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... ce/Sources Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... ce/Sources Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... ce/Sources Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... 4/Packages Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... 4/Packages Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... 4/Packages Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... tion-en_US Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... slation-en Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... tion-en_US Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... slation-en Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... tion-en_US Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/jessie ... slation-en Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@kustidebian:~#


Thanks in advance! :)
Last edited by kustixd on 2015-12-04 10:59, edited 1 time in total.
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby dasein » 2015-12-03 18:38

Do not try to install or update software on that machine. You have multiple and potentially conflicting repos on your sources.list. Breakage is not only possible, but likely.

Consult the "avoid a broken install" link in my sig for more information. Clean up your sources.list file per the directions in the Debian Wiki. Then run
Code: Select all
apt-get update
apt-get upgrade -s

Post the results inside [code] tags.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby kustixd » 2015-12-03 18:53

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. :D

btw is my sources.list ok?

deb http://ftp.ee.debian.org/debian testing main non-free
deb-src http://ftp.ee.debian.org/debian testing main non-free

deb http://ftp.debian.org/debian/ jessie-updates main non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main non-free

deb http://security.debian.org/ jessie/updates main non-free
deb-src http://security.debian.org/ jessie/updates main non-free


Thank you for responding :)
Last edited by kustixd on 2015-12-03 18:57, edited 1 time in total.
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby Head_on_a_Stick » 2015-12-03 18:57

Image
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problems with connection?

Postby GarryRicketson » 2015-12-03 18:58

+1 @H_O_A_S
https://wiki.debian.org/DontBreakDebian

You have so many things mixed up in the computer, I think your best bet:
1. is to back up any important files or data
2. Start all over and start be reading the manuals and documentation on Debian,
3. re-install and do things the "Debian Way.

Here is a topic/thread with many similar examples of the same mistake.
Repo mix-and-match hit parade
Start here:
What I need to know before installing Debian
Debian package management

https://www.debian.org/doc/manuals/debian-reference/ch01.en.html

The https://wiki.debian.org/ is also , full of information that will help you install Debian, and additional software in a way that will work.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problems with connection?

Postby GarryRicketson » 2015-12-03 19:13

I recently installed Debian 8 on my other computer and wanted to install a driver for wireless. Sadly unsuccessful

It is easiest if you get the firmware needed ahead of time, and install it when you do the install.

firmware on a usb stick


btw is my sources.list ok?

I don't think it is a real good idea to be mixing "testing" and "stable" sources.
But also what are these ? you show in the first post ?
Code: Select all
 http://ppa.launchpad.net 

I certainly wouldn't put that garbage on my computer. But it is your system, you can administer it how ever you want.
After all said and done, read some manuals and documentation, it will save you a lot of trouble in the future.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problems with connection?

Postby kustixd » 2015-12-03 19:31

I do not know what "http://ppa.launchpad.net " is, it came with the update.

Code: Select all
root@kustidebian:~# apt-get update
Get:1 http://ftp.ee.debian.org testing InRelease [193 kB]
Get:2 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:3 http://ftp.debian.org jessie-updates InRelease [136 kB]
Get:4 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:5 http://security.debian.org jessie/updates/main Sources [105 kB]
Get:6 http://ppa.launchpad.net trusty/main Sources [1,592 B]
Get:7 http://ftp.ee.debian.org testing/main Translation-en [4,887 kB]
Get:8 http://ftp.debian.org jessie-updates/main Sources [2,296 B]
Get:9 http://security.debian.org jessie/updates/non-free Sources [14 B]


I´m new to Debian and don´t really know much. I just started learning it :)
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby GarryRicketson » 2015-12-03 19:51

I´m new to Debian and don´t really know much. I just started learning it

No problem, in that, we all were "new" at one time, there is so much to learn though, it is impossible to explain everything in just 1 post.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problems with connection?

Postby dasein » 2015-12-03 20:03

kustixd wrote:I do not know what "http://ppa.launchpad.net " is, it came with the update.

No. It. Didn't. :evil:

No Debian update would surreptitiously alter the contents of sources.list at all, much less add Ubuntu PPAs. The "mix and match" thread that GarryR pointed you to contains multiple examples of folks who tried to bluff their way through this particular question and failed.

And no, your sources.list is not okay. (Not even the obviously "sanitized" version you posted above.)

I'm not much for repeating myself, so go back and reread my earlier post and follow its directions, or don't come here crying when your system spontaneously fails for "no reason." You'll just be added to the long list of folks in the "mix and match" thread who borked their system by mixing repos.

P.S. Cool facepalm, HoaS. I may have to steal it.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Problems with connection?

Postby kustixd » 2015-12-03 21:50

First of all chill. I DON´T KNOW WHAT AM I DOING. Get it? I do not know how to explain how something happens, ok ? Why are you so upset?
And i made some more changes to sources.list
Code: Select all
deb http://ftp.ee.debian.org/debian/ jessie main
deb-src http://ftp.ee.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://ftp.ee.debian.org/debian/ jessie-updates main
deb-src http://ftp.ee.debian.org/debian/ jessie-updates main

deb http://http.debian.net/debian/ jessie main contrib non-free


If it is not as it is supposed to be then just tell me, and thank you in advance. Sorry if i offended you in some way dasein :)
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby Head_on_a_Stick » 2015-12-03 22:01

^ Much better but you don't need an extra line for contrib & non-free, just add the components to the existing lines.
https://wiki.debian.org/SourcesList#Exa ... 2Jessie.22

Also, comment out (put a "#" symbol at the start) the "deb-src" lines unless you like to compile & patch stuff.

People are irritated 'cos this happens a lot...
;)

EDIT: Just to note: you should probably re-install as whatever you pulled from those PPAs and testing sources may have already wrecked your system.
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problems with connection?

Postby kustixd » 2015-12-03 22:14

Thank you for the information :)

Well now i know, not to make the same mistake again.

What could those PPA-s and testing sources do to my system ?
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby Head_on_a_Stick » 2015-12-03 22:16

kustixd wrote:What could those PPA-s and testing sources do to my system ?

I don't know, I've never tried :D

Some vicarious experience here:
viewtopic.php?&t=114130
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problems with connection?

Postby kustixd » 2015-12-03 22:26

So people are downloading packets that are not supposed to be run on a particular version of Debian ? :D

If that is the case then i think i should reinstall :D
kustixd
 
Posts: 8
Joined: 2015-12-03 17:47

Re: Problems with connection?

Postby GarryRicketson » 2015-12-03 22:53

kustixd wrote:So people are downloading packets that are not supposed to be run on a particular version of Debian ? :D

If that is the case then i think i should reinstall :D

Basically that is what it boils down to, especially since it appears you have something installed , that tries to use that source :
Code: Select all
http://ppa.launchpad.net 

when updates or upgrades are done.
We forgot to mention, as well as
Code: Select all
/etc/apt/sources.list

There is a :
Code: Select all
/etc/apt/sources.list.d/

Look and see if there is anything in that.
Example, I have this, but , I know it is a "trust worthy" package, and when I installed it, the package asked me permission to add the source, for installation,updates and upgrades. I gave it permission.
Example:
Code: Select all
cd /etc/apt
garry@debian:/etc/apt$ ls
apt.conf.d        preferences.d  sources.list.d     trusted.gpg
listchanges.conf  sources.list   sources.list.save  trusted.gpg~
output.txt        sources.list~  trustdb.gpg        trusted.gpg.d
garry@debian:/etc/apt$ cd sources.list.d
garry@debian:/etc/apt/sources.list.d$ ls
ajenti.list
garry@debian:/etc/apt/sources.list.d$ less ajenti.list
deb http://repo.ajenti.org/debian main main debian

Sometimes, if and when you can not find a type of software, or package in the Debian Repos, you have no choice but to find them else where, and that is ok, BUT , that is when one needs to really be careful, as the what they install and where they get it. Installing packages or software from non-debian sources, is not something a "newbie" or beginner should do. After the "newuser" has read enough documentation, ,etc. they understand what they need to know, to be sure to do this safely.
A good "book" to read:
https://debian-handbook.info/
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable