You are not logged in.

#1 2023-02-22 02:59:11

jeffery
Member
Registered: 2023-02-22
Posts: 5

I can not update the latest version of a package. Please help!!!

I want to update "mesa" to the latest version. But got a problem.
First, update the library index:
sudo pacman -syy
Second, query mesa package version:
pacman -Qu mesa
Then, Got the message:
mesa 22.2.3-1 -> 22.3.4-1
However, the latest version of mesa is "22.3.5-1".
https://archlinux.org/packages/extra/x86_64/mesa/

Please help. How can i update mesa to 22.3.5-1?

Offline

#2 2023-02-22 03:03:13

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: I can not update the latest version of a package. Please help!!!

Switch to an up to date mirror

And stop doing partial updates / Syy

Offline

#3 2023-02-22 03:10:38

jeffery
Member
Registered: 2023-02-22
Posts: 5

Re: I can not update the latest version of a package. Please help!!!

Offline

#4 2023-02-22 03:15:24

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

Re: I can not update the latest version of a package. Please help!!!

Please post the complete output of `pacman -Syuv` in [code] tags.

Last edited by Trilby (2023-02-22 03:16:06)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2023-02-22 03:24:18

jeffery
Member
Registered: 2023-02-22
Posts: 5

Re: I can not update the latest version of a package. Please help!!!

Trilby wrote:

Please post the complete output of `pacman -Syuv` in [code] tags.

This is the output:

  % sudo pacman -Syuv                                                                                                                                                                  !10382
[sudo] password for mxlei:
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : None
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxcn is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (609)                                      Old Version                   New Version                   Net Change  Download Size

extra/a52dec                                       0.7.4-11                      0.7.4-12                        0.02 MiB       0.04 MiB
extra/aalib                                        1.4rc5-14                     1.4rc5-15                       0.00 MiB       0.13 MiB
...

Total Download Size:     416.71 MiB
Total Installed Size:  12158.52 MiB
Net Upgrade Size:       1074.70 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst failed to download
Total (  1/529)                                                                       416.7 MiB   115 MiB/s 00:04 [####################################################################] 100%
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from repo.huaweicloud.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from mirrors.neusoft.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from mirrors.163.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from mirrors.aliyun.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'mariadb-libs-10.10.3-1-x86_64.pkg.tar.zst' from mirrors.ustc.edu.cn : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

Last edited by jeffery (2023-02-22 04:58:28)

Offline

#6 2023-02-22 03:58:53

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

Re: I can not update the latest version of a package. Please help!!!

Okay.  Now edit your post and actually use code tags as instructed.

But Skunktrader was right- your primary mirror is not even listed on the mirrorstatus pages - and it appears quite broken as it is internally inconsistent.

But to your original question, your last output shows that you do already have the latest version of mesa installed (which raises yet more questions).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2023-02-22 04:03:25

jeffery
Member
Registered: 2023-02-22
Posts: 5

Re: I can not update the latest version of a package. Please help!!!

Trilby wrote:

Okay.  Now edit your post and actually use code tags as instructed.

But Skunktrader was right- your primary mirror is not even listed on the mirrorstatus pages - and it appears quite broken as it is internally inconsistent.

But to your original question, your last output shows that you do already have the latest version of mesa installed (which raises yet more questions).

I download the offline package of mesa. and then instal it.
pacman -U mesa-xxx

But, there are many packages can not update by pacman online.

Last edited by jeffery (2023-02-22 04:03:37)

Offline

#8 2023-02-22 04:39:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: I can not update the latest version of a package. Please help!!!

Fix you post. Now. No-one should have to scroll interminably just to try and help someone.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2023-02-22 05:32:35

jeffery
Member
Registered: 2023-02-22
Posts: 5

Re: I can not update the latest version of a package. Please help!!!

Problem is resolved.
Just regenerate the mirrorlist file on this website.
https://archlinux.org/mirrorlist/

Offline

#10 2023-02-22 10:10:18

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: I can not update the latest version of a package. Please help!!!

Or just simply add one of the Successfully Syncing Mirrors, pick one (or two) with 100% completion.

Archlinux wrote:

Completion %: The number of mirror checks that have successfully connected and disconnected from the given URL. If this is below 100%, the mirror may be unreliable.

(https://archlinux.org/mirrors/status)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#11 2023-02-22 12:39:40

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: I can not update the latest version of a package. Please help!!!

jeffery wrote:

Problem is resolved.

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Trilby wrote:

Please post the complete output of `pacman -Syuv` in [code] tags.

Trilby wrote:

Okay.  Now edit your post and actually use code tags as instructed.

jasonwryan wrote:

Fix your post. Now. No-one should have to scroll interminably just to try and help someone.

jeffery, please read the forum guidelines. Specifically these sections:

https://wiki.archlinux.org/title/Genera … ow_to_post
https://wiki.archlinux.org/title/Genera … s_and_code

Your experience here will not be a happy one if you continue to ignore the guidelines.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB