Update system Error 404

According to https://repo.manjaro.org/, mirrors.manjaro.org looks to be a little flaky right now, and has not updated. The current version of firefox is 122.0-1, for example. Refresh your mirror list and/or manually select a different mirror.

1 Like

I had the mirrors set to Global and now changed to United States and the update went through.
Any reason for this?
Where are the Global mirrors set?
I’m curious…

I’m in Portugal/Europe

You may also want to engage in some proper maintenance. You obviously have some unattended .pacnew files, given that your /etc/pacman.conf still has the Community repo in it, which was dropped about 8 months ago already.

1 Like

How do I do that?

Try using a search engine.

1 Like

PacNew & PacSave - Arch Wiki


Wrong usage there too. First of all, you should use only oney” — i.e. -Syu. Never use commands or command options that you do not understand. Read the man page. :point_down:

man pacman

Secondly, the safest way of updating your system is to always refresh your mirrors first. :point_down:

sudo pacman-mirrors -f && sudo pacman -Syu
1 Like

Always thought sudo pacman -Syyu was the classic way of updating.

Nope. Read the manual, and the Wiki pages. :wink:

Have a look here: https://repo.manjaro.org/

I’m reading this:

And this:

https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave

How do I know what to remove?

I did that yesterday.
Changed the mirror from Global to USA and the update went through.

I would use a mirror in Europe: France, Spain or Germany.

According to the link you posted, USA has the most up to date mirrors in the World.

Mirrors are either synced or not. There is no such thing as most up to date. You don’t need 50 mirrors. 3 or so are more than enough.

You compare them side by side and you adapt your existing configuration files while maintaining common sense. Afterwards, you can remove the .pacnew files.

Personally I prefer pacnew-chaser from the AUR.

True. The fcix.net mirrors are the quickest to update, and they’re also pretty fast in terms of bandwidth.

Isn’t there a command to do that?
I’m afraid to mess up.
I don’t feel confident to do that…

How would a command know which settings in your local configuration files to keep and which to replace? You may have reasons for having certain configuration options enabled or disabled on your system.

Most of the time however, the .pacnew only contains additional comments, and/or improves upon existing comments. So in those cases, you simply copy over the new comments to your existing configuration files. On account of everything else, read the documentation, consult the Wiki, or ask for help here at the forum (if it hasn’t already been addressed).

Lastly, please read through the following short essay… :point_down:

1 Like

Here are some common sense basic suggestions when examining a pacnew file:

You might as well read that whole thread, and yes, you should consider if Manjaro is right for you or not. It does require some maintenance, though it’s not really difficult once you have more experience of your system and work our your own upgrade routine.

So, I’m trying to learn to use pacnew-chaser and meld.
I get confused about what to do.
The following output is from my second laptop with Manjaro XFCE (not the original laptop from this thread):

[jesuslinux@A9410 ~]$ pacdiff -o 
/etc/systemd/journald.conf.pacnew
[jesuslinux@A9410 ~]$ meld /etc/systemd/journald.conf /etc/systemd/journald.conf.pacnew

IN this case the original file is set to 50M that I did.
So this pacnew can safely be deleted?

Pacnew chaser only shows.pacnew files present in the OS right?
Everything else has to be done in meld?

DIFFPROG=meld pacdiff -s

Use the prompts.
‘v’ for viewing and editing.
In this case maybe merge the comments at the top, but leave your set configuration.
Save when done.
Now you are presented with the 2 again.
‘r’ will delete the pacnew.
(use ‘s’ to skip ones you are confused about or want to revisit later, etc)
And its on to the next one.

Also see any of the hundreds of other posts…

1 Like