Skip to main content
Topic: Problem with pacman. (Read 1768 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Problem with pacman.

I have some problem with pacman, and probably is cused by the order on which packages are searched and installed.

I have

Code: [Select]

#[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


[universe]
  Server = https://universe.artixlinux.org/$arch
  Server = https://mirror1.artixlinux.org/universe/$arch
  Server = https://mirror.pascalpuffke.de/artix-universe/$arch
  Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/$arch
  Server = https://mirror1.cl.netactuate.com/artix/universe/$arch
  Server = https://ftp.crifo.org/artix-universe/


[community]
Include = /etc/pacman.d/mirrorlist-arch

[extra]
Include = /etc/pacman.d/mirrorlist-arch



That i suppose it will gave precedence to universe from community and extra (that should be Arch Linux repo)

But I have some errors like:

Code: [Select]
attenzione: firefox: la versione installata (104.0.2-1) è più recente di quella presente in world (104.0.1-1)

That is telling that installed version is more recent than the version in world

and this error with inkscape:

Code: [Select]
inkscape: error while loading shared libraries: libinkscape_base.so: cannot open shared object file: No such file or directory

How can I solve the problem of the order and eventually fix the installation?

Regards

Carlo D.

Re: Problem with pacman.

Reply #1
I think maybe you either downloaded Firefox 104.0.2-1 from Arch repos or gremlins in a previous version of your config..? Seems like that build of Firefox will be moved to world soon so I recommend ignoring that message.

As for Inkscape, it looks like that build is sad. Until it gets fixed you can rollback the update via your local pacman cache.

Re: Problem with pacman.

Reply #2
I don't know if this matters, but the wiki puts the Arch repositories you use in this order:
Code: [Select]
 # Arch
 [extra]
 Include = /etc/pacman.d/mirrorlist-arch

 [community]
 Include = /etc/pacman.d/mirrorlist-arch


Re: Problem with pacman.

Reply #3
That is correct. And Arch repos should be after the Artix repos. Just as you have in your first post.

Re: Problem with pacman.

Reply #4
Thanks for replying.

This morning it will complain about it can't downgrade  firefox to  (104.0.1-1) becuase doing so it break the dependecy  of  firefox-i18n-it  from 'firefox>=104.0.2'

And it refuse to update.

I wonder if there is a way to see from what repo package are installed to check what packages are installed from "Arch repositories" and decide if they are still needed.


For inkscape I've found a solution:


Code: [Select]
ln /usr/lib/inkscape/libinkscape_base.so /usr/lib/libinkscape_base.so


Regards

Carlo D.




Re: Problem with pacman.

Reply #5
Thanks for replying.

This morning it will complain about it can't downgrade  firefox to  (104.0.1-1) becuase doing so it break the dependecy  of  firefox-i18n-it  from 'firefox>=104.0.2'
Hello,

Have you tried uninstalling firefox-i18n-it first and then firefox?
If the repositories are correctly configured in /etc/pacmanconf you can reinstall the two packages


Re: Problem with pacman.

Reply #6
Have you tried uninstalling firefox-i18n-it first and then firefox?
If the repositories are correctly configured in /etc/pacmanconf you can reinstall the two packages


Not exactly, I could remove the packages, but when I try to reinstall, them:

installing firefox will bring version 104.0.1 and it is ok.

But when I try to install firefox-i18n-it it will bring firefox 104.0.2 instead, so I suspect that artixlinux packages are not supplying the firefox-i18n-xx packages.

Regards

Carlo D.

Re: Problem with pacman.

Reply #7

Not exactly, I could remove the packages, but when I try to reinstall, them:

installing firefox will bring version 104.0.1 and it is ok.

But when I try to install firefox-i18n-it it will bring firefox 104.0.2 instead, so I suspect that artixlinux packages are not supplying the firefox-i18n-xx packages.

Regards

Carlo D.
Hello Carlo,

Today I got two Firefox updates:
Code: [Select]
jp-artix:[jp]:~$ pacman -Q firefox
firefox 104.0.2-1
jp-artix:[jp]:~$ pacman -Q firefox-i18n-fr
firefox-i18n-fr 104.0.2-1

The contents of my /etc/pacman.conf file:
Code: [Select]
jp-artix:[jp]:~$ cat /etc/pacman.conf
#
# /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

#IgnorePkg   =
#IgnorePkg   =
#IgnorePkg   =
#IgnorePkg   =
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# 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

[universe]
Server = https://universe.artixlinux.org/$arch
Server = https://mirror1.artixlinux.org/universe/$arch
Server = https://mirror.pascalpuffke.de/artix-universe/$arch


# 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

#
# ARCHLINUX
#

#[testing]
#Include = /etc/pacman.d/mirrorlist-arch

[extra]
Include = /etc/pacman.d/mirrorlist-arch

#[community-testing]
#Include = /etc/pacman.d/mirrorlist-arch

[community]
Include = /etc/pacman.d/mirrorlist-arch

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist-arch

#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch

Re: Problem with pacman.

Reply #8
Thanks, seeing your pacman-conf I don't see too much with repositories compared to mine,  excepts for gremlins.


Or there is some misalignment  with local mirrors repositories , (probably due to recently cyber attacks probably some mirrors are not very updated ).


I wil wait a couple of days.

I wonder if there is a way to know from what repositories a package came from:

Code: [Select]
sudo pacman -Q firefox
firefox 104.0.1-1


will gave me old version 104.0.1

Code: [Select]
 sudo pacman -Q firefox-i18n-it
errore: impossibile trovare il pacchetto 'firefox-i18n-it'


the error is telling that the package is not found.


What else I should check?

TIA and Regards.

Carlo D.

Re: Problem with pacman.

Reply #9
Thanks, seeing your pacman-conf I don't see too much with repositories compared to mine,  excepts for gremlins.
Like you, I don't use gremlins repositories.


Quote
Or there is some misalignment  with local mirrors repositories , (probably due to recently cyber attacks probably some mirrors are not very updated ).
Here are the /etc/pacman.d/mirrorlist servers I use (all but the last one are in Europe):

Code: [Select]
Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = https://eu-mirror.artixlinux.org/repos/$repo/os/$arch
Server = https://mirror.pascalpuffke.de/artix-linux/$repo/os/$arch
Server = https://artix.unixpeople.org/repos/$repo/os/$arch
Server = https://mirror.one.com/artix/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = http://mirrors.redcorelinux.org/artixlinux/$repo/os/$arch
Server = https://quantum-mirror.hu/mirrors/pub/artix-linux/$repo/os/$arch
Server = https://mirror.linux.pizza/artix-linux/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch
Server = https://artix.wheaton.edu/repos/$repo/os/$arch


Quote
Code: [Select]
sudo pacman -Q firefox
firefox 104.0.1-1

will gave me old version 104.0.1

Code: [Select]
 sudo pacman -Q firefox-i18n-it
errore: impossibile trovare il pacchetto 'firefox-i18n-it'
OK.
No need to put sudo before pacman -Q... or pacman -Ss, pacman -Si

Quote
What else I should check?
After modifying the pacman configuration files, have you tried:
Code: [Select]
sudo pacman -Syyu



Re: Problem with pacman.

Reply #10
Thanks, I will check, the repositories order, maybe some thing is dependanto to the update frequency of some repositories.

Regards

Carlo D.

Re: Problem with pacman.

Reply #11
Thanks, I will check, the repositories order, maybe some thing is dependanto to the update frequency of some repositories.
Hello Carlo,

The order of these server addresses does not matter.
Some repositories are updated before others, but pacman -Syu will check for the most recent updates.

 

Re: Problem with pacman.

Reply #12
my mirrorlist is very different probably the stock one:

Code: [Select]

##
## Artix Linux repository mirrorlist
## Generated on 2022-06-08
##

# Artix mirrors
# Use rankmirrors(1) to get a list of the fastest mirrors for your location,
# e.g.: rankmirrors -v -n 5 /etc/pacman.d/mirrorlist
# Then put the resulting list on top of this file.

# Default mirrors
# Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch

## Europe
# Czech Republic
Server = https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch
# Denmark
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://mirror.one.com/artix/$repo/os/$arch
# France
Server = https://artix.cccp.io/$repo/os/$arch
....

or maybe have to use the rankmirrors as suggested in the comment?

See the date on the file.

I have no other mirrorlist, except for a mirrorlist.old and a mirrorlist-arch.

Regards

Carlo D.



Regards

Carlo D.

Re: Problem with pacman.

Reply #13
Hello Carlo,

my mirrorlist is very different probably the stock one:
It doesn't matter as long as they are operational.
If the sudo pacman -Sy command goes well, it's good.

Quote
or maybe have to use the rankmirrors as suggested in the comment?

See the date on the file.

I have no other mirrorlist, except for a mirrorlist.old and a mirrorlist-arch.
I also have two mirrorlists:
/etc/pacman.d/mirrorlist and /etc/pacman.d/mirrorlist-arch

The mirrorlist.pacnew is provided during updates.
We can copy this file in /home/user and uncomment the lines of the country that interests us to operate a rankmirrors -t
Code: [Select]
rankmirrors -t /home/user/mirrorlist.pacnew

Re: Problem with pacman.

Reply #14
Thanks you.

I will check  and decide if a rankmirrors will be right way or not.

Today firefox is updated to the 104.0.2 version, so I'm trying to reinstall the i18n-it part I've skipped.

It is not a big hassle, as I'm using some different distributions and settings, so using firefox in English is not a problem.

Thanks again and Regards

Carlo D.