You are not logged in.

#1 2022-07-05 15:58:08

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

[SOLVED] Pacman giving me warnings

I am using the kde plasma desktop environment. Today I tried to update by pc with the "sudo pacman -Syu" command and I got these warnings.

[rounak@archissexy ~]$ sudo pacman -Syu
[sudo] password for rounak: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: flameshot: local (12.1.0-1) is newer than community (11.0.0-5)
warning: kmod: local (30-1) is newer than core (29-3)
warning: libmtp: local (1.1.20-1) is newer than extra (1.1.19-2)
warning: protobuf: local (21.2-1) is newer than extra (21.1-1)
warning: qt5-base: local (5.15.5+kde+r167-1) is newer than extra (5.15.5+kde+r166-1)
 there is nothing to do
[rounak@archissexy ~]$ pacman -Syy
error: you cannot perform this operation unless you are root.
[rounak@archissexy ~]$ sudo pacman -Syy
:: Synchronizing package databases...
 core                                        156.6 KiB   557 KiB/s 00:00 [#########################################] 100%
 extra                                      1721.7 KiB  7.89 MiB/s 00:00 [#########################################] 100%
 community                                     6.7 MiB  10.3 MiB/s 00:01 [#########################################] 100%
 multilib                                    170.7 KiB  3.27 MiB/s 00:00 [#########################################] 100%
[rounak@archissexy ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: flameshot: local (12.1.0-1) is newer than community (11.0.0-5)
warning: kmod: local (30-1) is newer than core (29-3)
warning: libmtp: local (1.1.20-1) is newer than extra (1.1.19-2)
warning: protobuf: local (21.2-1) is newer than extra (21.1-1)
warning: qt5-base: local (5.15.5+kde+r167-1) is newer than extra (5.15.5+kde+r166-1)
 there is nothing to do
[rounak@archissexy ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                                        156.6 KiB   561 KiB/s 00:00 [#########################################] 100%
 extra                                      1721.7 KiB  7.57 MiB/s 00:00 [#########################################] 100%
 community                                     6.7 MiB  10.3 MiB/s 00:01 [#########################################] 100%
 multilib                                    170.7 KiB  3.27 MiB/s 00:00 [#########################################] 100%
:: Starting full system upgrade...
warning: flameshot: local (12.1.0-1) is newer than community (11.0.0-5)
warning: kmod: local (30-1) is newer than core (29-3)
warning: libmtp: local (1.1.20-1) is newer than extra (1.1.19-2)
warning: protobuf: local (21.2-1) is newer than extra (21.1-1)
warning: qt5-base: local (5.15.5+kde+r167-1) is newer than extra (5.15.5+kde+r166-1)
 there is nothing to do
[rounak@archissexy ~]$ 

I also tried to refresh the package database and update it wil "sudo pacman -Syy" and "sudo pacman -Syyu" respectively.
It is giving me a warning that something is not wright because earlier when I updated my pc I didn't use to get this type of messages. Any clue ?

Any help would be appreciated.

Last edited by RounakDutta (2022-07-11 08:59:26)

Offline

#2 2022-07-05 16:05:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,272

Re: [SOLVED] Pacman giving me warnings

Your first/top mirror in the mirror list is outdated. https://wiki.archlinux.org/title/Mirror … ng_mirrors

Offline

#3 2022-07-05 16:12:25

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Pacman giving me warnings

V1del wrote:

Your first/top mirror in the mirror list is outdated. https://wiki.archlinux.org/title/Mirror … ng_mirrors

I am still getting the same warning

[rounak@archissexy pacman.d]$ su
Password: 
[root@archissexy pacman.d]# cat /etc/pacman.d/mirrorlist.backup
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector @/etc/xdg/reflector/reflector.conf
# When:       2022-07-05 15:49:09 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-07-05 15:46:45 UTC
# Last Check: 2022-07-05 15:39:49 UTC

Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch
Server = https://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch
Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
Server = http://mirror.sahil.world/archlinux/$repo/os/$arch
Server = https://mirror.sahil.world/archlinux/$repo/os/$arch
[root@archissexy pacman.d]# rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
[root@archissexy pacman.d]# 
exit
[rounak@archissexy pacman.d]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: flameshot: local (12.1.0-1) is newer than community (11.0.0-5)
warning: kmod: local (30-1) is newer than core (29-3)
warning: libmtp: local (1.1.20-1) is newer than extra (1.1.19-2)
warning: protobuf: local (21.2-1) is newer than extra (21.1-1)
warning: qt5-base: local (5.15.5+kde+r167-1) is newer than extra (5.15.5+kde+r166-1)
 there is nothing to do
[rounak@archissexy pacman.d]$ 

I also edited my pacman mirrorlist with new updated mirrorlist - https://archlinux.org/mirrorlist/?count … _status=on

[rounak@archissexy ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: flameshot: local (12.1.0-1) is newer than community (11.0.0-5)
warning: kmod: local (30-1) is newer than core (29-3)
warning: libmtp: local (1.1.20-1) is newer than extra (1.1.19-2)
warning: protobuf: local (21.2-1) is newer than extra (21.1-1)
warning: qt5-base: local (5.15.5+kde+r167-1) is newer than extra (5.15.5+kde+r166-1)
 there is nothing to do
[rounak@archissexy ~]$ cat /etc/pacman.d/mirrorlist
# Server list generated by rankmirrors on 2022-07-05
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With:       reflector @/etc/xdg/reflector/reflector.conf
# When:       2022-07-05 15:49:09 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-07-05 15:46:45 UTC
# Last Check: 2022-07-05 15:39:49 UTC
Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = https://in-mirror.garudalinux.org/archlinux/$repo/os/$arch
Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch
Server = https://archmirror.akhl.in/$repo/os/$arch
Server = https://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch
Server = https://repo.albony.xyz/$repo/os/$arch
Server = http://mirror.sahil.world/archlinux/$repo/os/$arch
Server = http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch
Server = https://archlinux.mirror.net.in/archlinux/$repo/os/$arch
Server = https://mirror.sahil.world/archlinux/$repo/os/$arch
Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = http://archlinux.mirror.net.in/archlinux/$repo/os/$arch

[rounak@archissexy ~]$ 

https://i.imgur.com/wgYG5rn.png
But the problem persists. sad

Last edited by RounakDutta (2022-07-05 16:23:22)

Offline

#4 2022-07-05 16:46:59

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

Re: [SOLVED] Pacman giving me warnings

Your link is going to change constantly, what does your *actual* mirrorlist say now?

Edit: Wait, the second paste, which is from reflector, not the mirror list generator, is what you're using now? Did your read it? Notice that you're using the same mirror as before.

Last edited by Scimmia (2022-07-05 16:49:13)

Offline

#5 2022-07-05 16:53:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,272

Re: [SOLVED] Pacman giving me warnings

Yes the top mirror here is outdated. As stated in the link, just going by speed can sometimes pick fast mirrors but the mirror is currently and in this case not up to date with the actual updated states from the repo/your system. This might be temporary and fix itself eventually. Comment/move the top two out of the way and switch to the nxtgen mirror, that one is actually up to date and only half an hour behind on syncing from tier one instead of 27 hours.

Last edited by V1del (2022-07-05 16:54:19)

Offline

#6 2022-07-05 17:00:59

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Pacman giving me warnings

Scimmia wrote:

Your link is going to change constantly, what does your *actual* mirrorlist say now?

Edit: Wait, the second paste, which is from reflector, not the mirror list generator, is what you're using now? Did your read it? Notice that you're using the same mirror as before.

Yes I know I used the reflector. Actually I use reflector.service which resets my pacman mirrorlist everytime I reboot my pc. I still got errors after updating my mirrorlist. So I ran the following commands

sudo pacman -Syuu # because I read this post on archforum https://bbs.archlinux.org/viewtopic.php?id=128502
sudo pacman -Syyuu # https://wiki.archlinux.org/title/mirrors#Force_pacman_to_refresh_the_package_lists

Then I updated my pc

[rounak@archissexy ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
[rounak@archissexy ~]$ 

and now I am facing a new problem when I do

[rounak@archissexy ~]$ sudo pacman -Ss kmod
[sudo] password for rounak: 
core/kmod 29-3 [installed]
    Linux kernel module management tools and library
extra/libmikmod 3.3.11.1-4
    Module player library supporting many formats, including MOD, S3M, IT and XM
community/perl-test-mockmodule 0.177.0-3
    Override subroutines in a module for unit testing
multilib/lib32-libmikmod 3.3.11.1-5
    Module player library supporting many formats, including MOD, S3M, IT and XM (32-bit)

It says kmod  29-3 but  look at the package in archlinux.org it says "kmod 30-1". Same goes for flameshot(a ss program).

[rounak@archissexy ~]$ sudo pacman -Ss flameshot
community/flameshot 11.0.0-5 [installed]
    Powerful yet simple to use screenshot software

but in archlinux.org it says flameshot 12.1.0-1

Last edited by RounakDutta (2022-07-05 17:11:58)

Offline

#7 2022-07-05 17:09:44

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Pacman giving me warnings

This is my reflector.conf file -

[rounak@archissexy ~]$ cat /etc/xdg/reflector/reflector.conf
# Reflector configuration file for the systemd service.
#
# Empty lines and lines beginning with "#" are ignored.  All other lines should
# contain valid reflector command-line arguments. The lines are parsed with
# Python's shlex modules so standard shell syntax should work. All arguments are
# collected into a single argument list.
#
# See "reflector --help" for details.

# Recommended Options

# Set the output path where the mirrorlist will be saved (--save).
--save /etc/pacman.d/mirrorlist

# Select the transfer protocol (--protocol).
#--protocol https

# Select the country (--country).
# Consult the list of available countries with "reflector --list-countries" and
# select the countries nearest to you or the ones that you trust. For example:
--country India

# Use only the  most recently synchronized mirrors (--latest).
#--latest 5

# Sort the mirrors by synchronization time (--sort).
#--sort age

--sort rate

--age 1
[rounak@archissexy ~]$ 

Offline

#8 2022-07-05 19:45:14

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

Re: [SOLVED] Pacman giving me warnings

Because, as has been said multiple times, your mirror is outdated and you haven't changed it.

Offline

#9 2022-07-06 11:06:54

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

Re: [SOLVED] Pacman giving me warnings

It seems the --age 1 / sort rage  in your reflector.conf  doesn't do what you expect and results in a bad mirror being on top.

You need a reliable mirror much more then a fast one.

For now remove/comment those 2 lines and uncomment the line with --latest 5 .
(re-)run reflector so your mirrorlist will only have the 5 most uptodate mirrrors you can find and update.


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