Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: andre on 23 April 2018, 13:32:18

Title: Update after fresh installation
Post by: andre on 23 April 2018, 13:32:18
Using the latest available iso file, artix-lxqt-20180108-x86_64.iso and doing a fresh install, I'm not able to update the system.
sudo pacman -Syu always asks for a lot of replacement repos and finally fails. I guess I must set up the correct mirrorlist and pacman.conf.
I can find nowhere recent information about valid mirros and which options must be enabled (or disabled) in pacman.conf.
Can I have a hint please? I would like to experiment with Artix, which seems to be a very promising project. Thank you. André
Title: Re: Update after fresh installation
Post by: conky60 on 23 April 2018, 14:11:47
The latest artix-mirrorlist can be found here: mirrorlist

(http://mirror1.artixlinux.org/repos/system/os/x86_64/artix-mirrorlist-20180421-1-any.pkg.tar.xz)
Download it and from the directory it is saved open a terminal and install it by running the following command:
Code: [Select]
sudo pacman -U artix-mirrorlist-20180421-1-any.pkg.tar.xz

It will be installed in /etc/pacman.d as mirrorlist.pacnew.
You will have to delete or rename your current mirrorlist to mirrorlist.old or some such, then rename mirrorlist.pacnew to "mirrorlist".

You should then be able to update with:
Code: [Select]
sudo pacman -Syyu


Best regards.
Title: Re: Update after fresh installation
Post by: andre on 23 April 2018, 15:53:57
Conky60, I want to thank you. I will try that asap.
It's a great hint, now I know for the future.

PS: You are very kind indeed! Thank you and with my very best regards, andré
Title: Re: Update after fresh installation
Post by: andre on 24 April 2018, 11:20:15
To confirm: the solution proposed by conky60 works perfectly well.
Again: THANK YOU!
Greetings, André
Title: Re: Update after fresh installation
Post by: mandog on 30 April 2018, 17:01:55
Just to add to this, Its good practice to use sudo pacman -Syyu this forces the mirrors to resync regardless and helps the system not to break due to partial update, 15 years using Arch and has always worked here.
Title: Re: Update after fresh installation
Post by: gentermnl on 01 May 2018, 20:50:11
The latest artix-mirrorlist can be found here: mirrorlist (http://mirror1.artixlinux.org/repos/system/os/x86_64/artix-mirrorlist-20180421-1-any.pkg.tar.xz)
That link is already outdated.  Given how often it is important to get the latest mirrorlist, would it make sense to create a artix-mirrorlit-latest.pkg.tar.xz link in that folder?
Title: Re: Update after fresh installation
Post by: SGOrava on 01 May 2018, 21:05:21
That link is already outdated.  Given how often it is important to get the latest mirrorlist, would it make sense to create a artix-mirrorlit-latest.pkg.tar.xz link in that folder?
just create some bookmark to GitHub
https://github.com/artix-linux/packages/blob/master/artix-mirrorlist/trunk/mirrorlist
Title: Re: Update after fresh installation
Post by: gentermnl on 01 May 2018, 22:52:32
Yes, I can do that for myself.  However, that won't necessarily be handy when I'm doing a new install on some other PC.  Given how fast things sometimes change here, and how critical it is to have an accurate mirrorlist, why not make it really easy for folks to find it?  Maybe a link on the main page.  Maybe a sticky forum topic on things to watch out for when installing from iso's (as currently available) that require a bit of manual intervention to end up with a working system - such as update the mirrorlist, possibly update pacman.conf, things for the openrc/runit update. 

I agree that Artix is not a good distro for folks who need hand holding, but I figure why not do easy things that can decrease frustration?
Title: Re: Update after fresh installation
Post by: conky60 on 02 May 2018, 01:30:11
That link is already outdated.  Given how often it is important to get the latest mirrorlist, would it make sense to create a artix-mirrorlit-latest.pkg.tar.xz link in that folder?
Indeed you are correct....the link I posted was current "at that time", and I should have made mention in my reply that it would not remain current always. Thank you for raising that point.

@SGOrava has posted the correct link which will provide an always current mirrorlist. :)


Best regards.
Title: Re: Update after fresh installation
Post by: Dudemanguy on 02 May 2018, 05:11:32
Yes, I can do that for myself.  However, that won't necessarily be handy when I'm doing a new install on some other PC.  Given how fast things sometimes change here, and how critical it is to have an accurate mirrorlist, why not make it really easy for folks to find it?  Maybe a link on the main page.  Maybe a sticky forum topic on things to watch out for when installing from iso's (as currently available) that require a bit of manual intervention to end up with a working system - such as update the mirrorlist, possibly update pacman.conf, things for the openrc/runit update. 

I agree that Artix is not a good distro for folks who need hand holding, but I figure why not do easy things that can decrease frustration?

The mirrors getting out of sync was just an unfortunate case of the primary mirror unexpectedly going down without any explanation. That was outside of the devs control. People don't always do pacman -Syy, so they got of sync with the mirrors because of that.