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.




250 posts

Master Geek


# 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

10903 posts

Uber Geek


  # 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

10903 posts

Uber Geek


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


370 posts

Ultimate Geek


  # 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.




250 posts

Master Geek


  # 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


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

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




250 posts

Master Geek


  # 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?

15216 posts

Uber Geek

Trusted
Subscriber

  # 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.


 
 
 
 




250 posts

Master Geek


  # 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
8868 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 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

 

 







250 posts

Master Geek


  # 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


  # 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


385 posts

Ultimate Geek


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

here is a list of mirrors

 

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




250 posts

Master Geek


  # 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!!!!!!

1751 posts

Uber Geek

Trusted

  # 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
8868 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 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 and LinkedIn »



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:





News »

D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51


Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35


Amazon Studios announces New Zealand as location for its upcoming series based on The Lord of the Rings
Posted 18-Sep-2019 17:24


The Warehouse chooses Elasticsearch service
Posted 18-Sep-2019 13:55


Voyager upgrades core network to 100Gbit
Posted 18-Sep-2019 13:52



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.