You are not logged in.

#1 2023-06-03 12:24:25

donaastor
Member
Registered: 2022-03-14
Posts: 73

[SOLVED] I can't update pacman repo...

Hi. Sorry for persistent questioning. I try to update my system, but my pacman repo is old. On website, the version of package wireshark-cli is 4.0.6, but my repo says 4.0.5. When it tried to download it, it is not found on mirrors. I tried updating archlinux-keyring and running `pacman-key --populate` and running `pacman -Sy` but nothing helps. I still can't update the system. Please help.

SOLUTION: "pacman -S pacman-mirrorlist", then https://wiki.archlinux.org/title/Mirror … irror_list on file /etc/pacman.d/mirrorlist.pacnew

Last edited by donaastor (2023-06-03 13:11:15)

Offline

#2 2023-06-03 12:25:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] I can't update pacman repo...

Pick a different mirror

Offline

#3 2023-06-03 12:27:29

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] I can't update pacman repo...

How do I do that? Also, doesn't it seem like it already tried all of them:

error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.chaoticum.net : Failed to connect to mirror.chaoticum.net port 443 after 5046 ms: Couldn't connect to server
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.dkm.cz : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from ftp.sh.cvut.cz : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.telepoint.bg : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.theo546.fr : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from archlinux.uk.mirror.allworldit.com : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from asia.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from seoul.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from sydney.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from archlinux-br.com.br : Could not resolve host: archlinux-br.com.br
warning: too many errors from archlinux-br.com.br, skipping for the remainder of this transaction
error: failed retrieving file 'wireshark-cli-4.0.5-1-x86_64.pkg.tar.zst' from archmirror.it : The requested URL returned error: 403
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)

Offline

#4 2023-06-03 12:28:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] I can't update pacman repo...

Offline

#5 2023-06-03 12:32:59

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] I can't update pacman repo...

Come on man, don't do that... I do wanna read the wiki, but I'm lost. Just tell me what exaclty I have to read. say a few words, I am having a problem here, I don't have time to waste

Offline

#6 2023-06-03 12:34:20

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] I can't update pacman repo...

Is this what is supposed to help me? This:

If you are certain a mirror is not operating properly and that is not reflected on the mirrors status page, change the mirror and consider opening a bug report. For mirrors the issue should be opened in the "Arch Linux" project (see the list just below the log-in box, or search for "switch" on the page), with task type "Bug report", category "Mirrors".

Last edited by donaastor (2023-06-03 12:34:32)

Offline

#7 2023-06-03 12:35:55

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 127

Re: [SOLVED] I can't update pacman repo...

Nor do others have time to waste.

Offline

#8 2023-06-03 12:36:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: [SOLVED] I can't update pacman repo...

donaastor wrote:

Also, doesn't it seem like it already tried all of them...

Pacman tried downloading the package from all of the mirrors you have listed in your mirrorlist (not all mirrors, just all of your mirrors).  But that's actually beside the point - pacman is trying to download an old version from all those mirrors and they are all failing, because they are all (except for one) likely good mirrors.

The real problem is just your first / primary mirror which has (at least) two problems: it is giving you an outdated database, and it doesn't seem to even have the software listed in it's own database.  You should maintain your mirrorlist regularly - but in this case, simply deleting the first mirror from the list would likely suffice to fix the current problem.

EDIT: if you see learning necessary information about maintaining your system in a functional state as a "waste" then you may be using the wrong distro.

Last edited by Trilby (2023-06-03 12:41:29)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2023-06-03 12:47:09

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] I can't update pacman repo...

Trilby wrote:

....

Thank you very much! This explained it well, now I see what I was misunderstanding earlier. I don't see learning as waste, I see pulling words out of people's mouths as a waste of time. You taught me and I am instantly updating my knowledge base: https://github.com/donaastor/archgd/blo … arch_guide

Offline

#10 2023-06-03 12:53:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,471
Website

Re: [SOLVED] I can't update pacman repo...

Lines 260 and 270 are horribly wrong in that document.  You would not have recieved instructions to use that command from anyone on these forums, on our wiki, or in any official documentation.  That command is commonly advised by absolutely horrible and broken third party guides.  Stop reading those.

Those who know nothing about arch linux are more suited to use it than those who watch most youtube videos about arch linux.

Last edited by Trilby (2023-06-03 12:54:33)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2023-06-03 13:05:25

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] I can't update pacman repo...

Trilby wrote:

Stop reading those.

Trilby wrote:

Those who know nothing about arch linux are more suited to use it than those who watch most youtube videos about arch linux.

Don't worry smile Thank you for telling me these advices, but I know very well what all these commands do. I decided to use them myself, because I like experimenting. Because I like to learn. I was reading the wiki when I had the time. So don't worry. I just didn't understand how mirrors work.

Offline

#12 2023-06-03 13:14:36

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,128

Re: [SOLVED] I can't update pacman repo...

Even if you understand why the commands on those lines shouldn't be used that way, people visting that page may not .

Please replace them.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB