Just Installed - Update Issues

Help with issues regarding installation of Debian

Just Installed - Update Issues

Postby wizzybang » 2018-04-22 14:31

Hi,

I have just installed debian, all is well, I can connect to the internet, but when I try to update packes, i get this error:

Code: Select all
sudo apt-get update
Err:1 http://ftp.gb.debian.org/debian stretch/updates InRelease
  Could not resolve 'ftp.gb.debian.org'
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Reading package lists... Done
W: Failed to fetch http://ftp.gb.debian.org/debian/dists/stretch/updates/InRelease  Could not resolve 'ftp.gb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.


I've searched online but not really found anything that helps, I also go to the software manager and it only shows installed packages, nothing under featured and no updates.

Thanks in advance

Sam
wizzybang
 
Posts: 2
Joined: 2018-04-22 14:28

Re: Just Installed - Update Issues

Postby arochester » 2018-04-22 14:44

What does your sources list say?

What country are you in?
arochester
 
Posts: 1327
Joined: 2010-12-07 19:55


Re: Just Installed - Update Issues

Postby wizzybang » 2018-04-22 15:09

I'm in the UK.

My sources list is as follows:

Code: Select all
#

# deb cdrom:[Official Debian GNU/Linux Live 9.4.0 gnome 2018-03-10T11:40]/ stretch main

# deb cdrom:[Official Debian GNU/Linux Live 9.4.0 gnome 2018-03-10T11:40]/ stretch main

deb http://ftp.gb.debian.org/debian/ stretch/updates main
deb-src http://ftp.gb.debian.org/debian/ stretch/updates main
wizzybang
 
Posts: 2
Joined: 2018-04-22 14:28

Re: Just Installed - Update Issues

Postby pylkko » 2018-04-22 15:12

That's missing any source..


read this and does at instructs:

https://wiki.debian.org/SourcesList
User avatar
pylkko
 
Posts: 1335
Joined: 2014-11-06 19:02

Re: Just Installed - Update Issues

Postby Wheelerof4te » 2018-04-22 15:16

You miss a few lines. Check the example list I gave you, why didn't you read it?
It says right there how it should look like and how to set it up.
Don't forget to run
Code: Select all
apt update

as root whey you edit /etc/apt/sources.list file.
@pylkko Echo is loud here, isn't it? If he hasn't read my post, I wonder if he'll have more luck with yours.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Just Installed - Update Issues

Postby bw123 » 2018-04-22 15:17

It's okay, take your time everybody goes through this.

Start simple... There's no need to setup extra bandwidth unless you need it.
Code: Select all
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org stretch/updates main


see this /usr/share/doc/apt/examples/sources.list

hmmm actually I am using this for security, not sure when/if that changed?
deb http://security.debian.org/debian-security stretch/updates main
User avatar
bw123
 
Posts: 3400
Joined: 2011-05-09 06:02
Location: TN_USA


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable