Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


206 posts

Master Geek
+1 received by user: 29


Topic # 204277 24-Sep-2016 19:21
Send private message

Hey all I'm trying to setup a clean install of ubuntu server, the install went fine but when I run the sudo apt-get update I get this. Any ideas?


Filter this topic showing only the reply marked as answer Create new topic

gzt

10268 posts

Uber Geek
+1 received by user: 1578


  Reply # 1639980 24-Sep-2016 19:33
Send private message

nz.archive.ubuntu.com is down.

us.archive.ubuntu.com is up and probably others are.

gzt

10268 posts

Uber Geek
+1 received by user: 1578


  Reply # 1639982 24-Sep-2016 19:36
Send private message
370 posts

Ultimate Geek
+1 received by user: 85


  Reply # 1639983 24-Sep-2016 19:37
Send private message

Noticed the same issue last night on the Debian NZ servers, think they're the same ones for Ubuntu too. Just changed mine to look at the oz servers.




206 posts

Master Geek
+1 received by user: 29


  Reply # 1639984 24-Sep-2016 19:37
Send private message

Ok that will be it. Is there a way to change the update server. Sorry for the noob question

370 posts

Ultimate Geek
+1 received by user: 85


  Reply # 1639985 24-Sep-2016 19:40
Send private message

https://help.ubuntu.com/community/Repositories/Ubuntu




206 posts

Master Geek
+1 received by user: 29


  Reply # 1640028 24-Sep-2016 21:06
Send private message

Most of that page looks like it needs the GUI, running ubuntu server all I have is terminal. Is there a way to change the update server through terminal alone?

14223 posts

Uber Geek
+1 received by user: 2572

Trusted
Subscriber

  Reply # 1640033 24-Sep-2016 21:26
Send private message

RickW: Most of that page looks like it needs the GUI, running ubuntu server all I have is terminal. Is there a way to change the update server through terminal alone?

 

Yes.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer




206 posts

Master Geek
+1 received by user: 29


  Reply # 1640034 24-Sep-2016 21:42
Send private message

Any hints or tips. I've tried google which isint much help. I've also tried "sudo nano /etc/apt/sources.list" it comes up with /ect/apt doesn't exist. This is my first time messing around with Linux and I'm a little out of my depth.

Mr Snotty
8024 posts

Uber Geek
+1 received by user: 4010

Moderator
Trusted
Lifetime subscriber

  Reply # 1640039 24-Sep-2016 22:01
Send private message

First - I'd recommend backing up your /etc/apt/sources.list file first:

 

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

 

Then run sed across it to change it to the AU mirrors:

 

sudo sed -i -e 's/nz/au/g' /etc/apt/sources.list && sudo apt update

 

To get it back to the NZ mirrors just run it in reverse like so:

 

sudo sed -i -e 's/au/nz/g' /etc/apt/sources.list && sudo apt update

 

 







206 posts

Master Geek
+1 received by user: 29


  Reply # 1640042 24-Sep-2016 22:07
Send private message

Something screwy must be going on because Its saying "can't read /ect/apt/sources.list: no such file or directory"

370 posts

Ultimate Geek
+1 received by user: 85


  Reply # 1640044 24-Sep-2016 22:13
One person supports this post
Send private message

RickW: Something screwy must be going on because Its saying "can't read /ect/apt/sources.list: no such file or directory"

 

 

 

You done a typo, /ect/apt/sources.list

 

should be /etc/apt/sources.list


294 posts

Ultimate Geek
+1 received by user: 46


  Reply # 1640047 24-Sep-2016 22:27
Send private message

here is a list of mirrors

 

https://launchpad.net/ubuntu/+archivemirrors




206 posts

Master Geek
+1 received by user: 29


  Reply # 1640154 25-Sep-2016 11:18
Send private message

Thanks guys, yup that was it.
Everything is up and running and I'm now in the process of creating my first website!!!!!!

1586 posts

Uber Geek
+1 received by user: 156

Trusted

  Reply # 1640170 25-Sep-2016 11:52
Send private message

and nz.archive.ubuntu.com is back up..

 

no need to change to the AU servers





CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440

 

 


Mr Snotty
8024 posts

Uber Geek
+1 received by user: 4010

Moderator
Trusted
Lifetime subscriber

  Reply # 1640202 25-Sep-2016 12:58
Send private message

RickW: Thanks guys, yup that was it.
Everything is up and running and I'm now in the process of creating my first website!!!!!!

 

Take a look at EasyEngine (https://easyengine.io/) as it'll prepare everything for you in a secure manner.

 

From here, you can do lets say:

 

ee site create example.com --wp --php7 --hhvm --letsencrypt

 

to create a speedy Wordpress site complete with SSL (letsencrypt). I'm not kidding, it is really that simple. There is easy to follow documentation on the easyengine website but if you were to use LetsEncrypt ensure you have both Port 80 and Port 443 forwarded to your "server".





Filter this topic showing only the reply marked as answer Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.