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.


RickW

298 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

gzt
17110 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

gzt
17110 posts

Uber Geek

Lifetime subscriber

  #1639982 24-Sep-2016 19:36
Send private message
cynnicallemon
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.




RickW

298 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

cynnicallemon
370 posts

Ultimate Geek


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

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


RickW

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

timmmay
20578 posts

Uber Geek

Trusted
Lifetime 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.


 
 
 

Shop now on AliExpress (affiliate link).
RickW

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

michaelmurfy
meow
13242 posts

Uber Geek

Moderator
ID Verified
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

 

 





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


RickW

298 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"

cynnicallemon
370 posts

Ultimate Geek


  #1640044 24-Sep-2016 22:13
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


bigalow
566 posts

Ultimate Geek


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

here is a list of mirrors

 

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


RickW

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

mentalinc
3229 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: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


michaelmurfy
meow
13242 posts

Uber Geek

Moderator
ID Verified
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".





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.