Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Just Installed - Update Issues

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
wizzybang
Posts: 2
Joined: 2018-04-22 14:28

Just Installed - Update Issues

#1 Post by wizzybang »

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

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Just Installed - Update Issues

#2 Post by arochester »

What does your sources list say?

What country are you in?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Just Installed - Update Issues

#3 Post by Wheelerof4te »

Use deb.debian.org as showed in example below:
https://wiki.debian.org/SourcesList#Exa ... urces.list

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

Re: Just Installed - Update Issues

#4 Post by wizzybang »

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

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Just Installed - Update Issues

#5 Post by pylkko »

That's missing any source..


read this and does at instructs:

https://wiki.debian.org/SourcesList

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Just Installed - Update Issues

#6 Post by Wheelerof4te »

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
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Just Installed - Update Issues

#7 Post by bw123 »

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
resigned by AI ChatGPT

Post Reply