Artix Linux Forum

General Category => Forum => Topic started by: babu on 15 October 2021, 10:46:40

Title: Updating
Post by: babu on 15 October 2021, 10:46:40
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
Title: Re: Updating
Post by: strajder on 15 October 2021, 10:56:33
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 (https://forum.artixlinux.org/index.php/topic,1923.0.html).

Relevant article:
https://wiki.archlinux.org/title/Pacman
Title: Re: Updating
Post by: babu on 15 October 2021, 11:39:10
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?
Title: Re: Updating
Post by: ####### on 15 October 2021, 14:16:54
I haven't had any updates recently either, but checking here for example:
http://mirror1.artixlinux.org/repos/world/os/x86_64/ (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.
Title: Re: Updating
Post by: strajder on 15 October 2021, 14:21:02
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).
Title: Re: Updating
Post by: calvinh on 15 October 2021, 14:26:56
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


Title: Re: Updating
Post by: babu on 31 October 2021, 09:00:37
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.
Title: Re: Updating
Post by: strajder on 31 October 2021, 09:11:13
https://forum.artixlinux.org/index.php/topic,3156.msg20528.html#msg20528
Title: Re: Updating
Post by: babu on 31 October 2021, 10:33:55
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.
Title: Re: Updating
Post by: strajder on 31 October 2021, 10:38:01
Sent already my '/etc/pacman.conf' file 14 days ago. Have resent it right now.
Where?
Title: Re: Updating
Post by: babu on 31 October 2021, 14:21:03
Code: [Select]
 Where?

As per your instruction : "https://paste.artixlinux.org."

Thank you.
Title: Re: Updating
Post by: strajder on 31 October 2021, 15:01:36
As per your instruction : "https://paste.artixlinux.org."

Thank you.
You need to link to your paste here.
Title: Re: Updating
Post by: babu on 02 November 2021, 11:37:37
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.
Title: Re: Updating
Post by: just on 02 November 2021, 13:28:14
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
Title: Re: Updating
Post by: babu on 02 November 2021, 15:18:31
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.
Title: Re: Updating
Post by: just on 02 November 2021, 17:10:48
You're welcome.

...
Do I need the "Arch repos"? For the time being the Artix repos provide all I am looking for.
...
Judging from the thread, seems like there's no need in Arch repos right now.

Artix has almost everything needed in daily life in its own official (and semi-official) repos.  In a few months on Artix, I didn't find there only 2 pkgs - zim and fsarchiver.  These two are installed here from Arch repos.

If I were you, I wouldn't be in hurry to add Arch repos.  And try to reduce AUR usage to bare minimum.  Better yet, don't use AUR at all.

Good luck