Skip to main content
Topic: Updating (Read 3421 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Updating

Have problems updating Artix LXQT.
"
Code: [Select]
sudo pacman -Su
:: Starting full system upgrade...
warning: gnupg: local (2.3.1-1) is newer than system (2.2.29-1)
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)
 there is nothing to do

Am sure many packages need update.

What did I wrong? anything I can do?

Thank you

Re: Updating

Reply #1
For the first update, or when you switch mirrors or change repositories, use
Code: [Select]
sudo pacman -Syyu    # force downloading package lists
Later you can drop one y:
Code: [Select]
sudo pacman -Syu

If you are using Arch repositories, read this: https://wiki.artixlinux.org/Main/Repositories
and set /etc/pacman.conf according to that article.

In the future, first check Artix and Arch wiki, as described in how to ask correctly to get the right answer.

Relevant article:
https://wiki.archlinux.org/title/Pacman

 

Re: Updating

Reply #2
Thank you for reaction.

Quote
[Code: [Select]
sudo pacman -Syyu    # force downloading package lists

I did the same thing but in two steps :
sudo pacman -Syy
sudo pacman -Su

Get the same remarks and results.

Anything else I could try?

Re: Updating

Reply #3
I haven't had any updates recently either, but checking here for example:
http://mirror1.artixlinux.org/repos/world/os/x86_64/
CTRL - F to search page with browser:
14-Oct-2021
15-Oct-2021
Nothing appearing.
There are no updates at present. My guess - this is the Python major version update, lots of stuff needs rebuilding at once for that, the build servers compilation and testing isn't finished yet? Or everyone coincidentally took a break at the same time.

Re: Updating

Reply #4
At the moment, the latest stable version of gnupg from the system repository is system/gnupg 2.2.29-1, and the latest stable version of rsync-openrc is world/rsync-openrc 20210502-1. You have probably enabled gremlins repository or have ordered Arch repositories before Artix ones.

Post your /etc/pacman.conf (use https://paste.artixlinux.org).

Re: Updating

Reply #5
Thank you for reaction.

I did the same thing but in two steps :
sudo pacman -Syy
sudo pacman -Su

Get the same remarks and results.

Anything else I could try?


Post,

Code: [Select]
$cat /etc/pacman.d/mirrorlist

Seems that you have a staled mirror at the top in your list. I would  shuffle around the list, for example, comment out all mirrors but those in my region. If the problem persists, change the mirror order in the list, etc. Then,

Code: [Select]
$sudo pacman -Syyu



Re: Updating

Reply #6
Thank you for your comments.

Problrem remains ... But I can use Artix system in a normail way.

Got following error message last night when updating :
"warning: gnupg: local (2.3.1-1) is newer than system (2.2.29-1)
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!"

Guess there is an error in one of the config files. I would like to use the 'production' version and not the "DEVELOPMENT VERSION'! Any help?

Thank you for kind attention.


Re: Updating

Reply #8
Code: [Select]
https://forum.artixlinux.org/index.php/topic,3156.msg20528.html#msg20528

Thank you for prompt reaction.

Sent already my '/etc/pacman.conf' file 14 days ago. Have resent it right now. Hope you will be able to help.

Thank you for your efforts.




Re: Updating

Reply #12
Thank you.

here is my "/etc/pacman.conf'
Code: [Select]
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Artix Linux
# packagers with `pacman-key --populate artix`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The gremlins repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[gremlins]
#Include = /etc/pacman.d/mirrorlist

[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

[galaxy]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Hope this helps to settlle the problem.

Re: Updating

Reply #13
Repos look good.  You even don't use Arch repos.

...I would like to use the 'production' version and not the "DEVELOPMENT VERSION'! Any help?
If you still get 2 warnings about local gnupg and rsync-openrc being newer then those in [system] repo, then try to run full system upgrade, forcing local databases updates and, most importantly, allowing packages downgrades.

Local databases updates are forced by using double y -yy switch.

Downgrades during upgrades are enabled by using double u -uu switch instead of single u -u switch.

The command is shown below.  Please, do not split it in two or more separate commands.  Run it exactly as it shown, as a single command:
Code: [Select]
sudo pacman -Syyuu

It should downgrade two local pkgs with their counterparts from the [system] repo.  Thus, replacing "development" by "production" pkgs:

- gnupg from 2.3.1-1 down to 2.2.29-1
- rsync-openrc from 20210505-2 down to 20210502-1

Re: Updating

Reply #14
Dear Just,

Thank you for your reaction that solves the problem.

You are right :
Code: [Select]
sudo pacman -Syyuu
is the way to do it!
 
Code: [Select]
warning: gnupg: downgrading from version 2.3.1-1 to version 2.2.29-1
warning: rsync-openrc: downgrading from version 20210505-2 to version 20210502-1


Didn't know about the difference between 'y' and 'yy' / 'u' and 'uu' . Thank you for explanation.

Do I need the "Arch repos"? For the time being the Artix repos provide all I am looking for.

Once more : thank you. Have a nice day.