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.




264 posts

Ultimate 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

11200 posts

Uber Geek

Lifetime subscriber

  #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

11200 posts

Uber Geek

Lifetime subscriber

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




264 posts

Ultimate 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




264 posts

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

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


 
 
 
 




264 posts

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

/dev/null
9175 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

 

 







264 posts

Ultimate 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


432 posts

Ultimate Geek


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

here is a list of mirrors

 

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




264 posts

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

1875 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

 

 


/dev/null
9175 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 »

Vodafone and Imperial College London invite smartphone users to help fight diseases
Posted 9-Apr-2020 11:09


Unisys Always-On Access Powered by Stealth provides fast, encrypted remote access for workers
Posted 9-Apr-2020 10:00


Intel introduces 10th Gen Intel Core H-series for mobile devices
Posted 2-Apr-2020 21:09


COVID-19: new charitable initiative to fund remote monitoring for at-risk patients
Posted 2-Apr-2020 11:07


Huawei introduces the P40 Series of Android-based smartphones
Posted 31-Mar-2020 17:03


Samsung Galaxy Z Flip now available for pre-order in New Zealand
Posted 31-Mar-2020 16:39


New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48



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.