Skip to main content
Topic: Pacman refuses to use Arch Extra repository contents (Read 1172 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Pacman refuses to use Arch Extra repository contents

Hi,

I am having a spot of bother trying to install freeCAD, but I have run into this before installing other packages.
Basically, even though I have the Arch extra and multilib repositories enabled on my system (they refresh every time I run pacman -Syyu), it doesn't seem to be able to see any packages in that repo.

Just today I added the Chaotic AUR repository (to see if I could access freecad-git, since freecad was nowhere to be seen), and pacman can access it no problem. Attempting to install freeCAD now fails not due to being unable to resolve the package name (it gets resolved as freecad-git instead) but due to the dependencies, contained in the "extra" repo, failing to be resolved.

Could someone please explain how my Arch repositories are in some sort of halfway limbo state, but a different third-party repo worked fine? Could it be to do with using the artix-archlinux-support package instead of the normal procedure for adding third-party repos? I think it is likely something else though, as otherwise others would have come across this before now.

Thanks.


Re: Pacman refuses to use Arch Extra repository contents

Reply #2
Please post /etc/pacman.conf

Does
Code: [Select]
pacman -Sl extra
produce a list of packages or nothing ? (no need to post it)


Re: Pacman refuses to use Arch Extra repository contents

Reply #3
It produces a long list, but freecad is not on it, and nor are some of its dependencies. It is worth noting that, as far as I could see, any programmes that were listed as "installed" in the list were clearly installed from Artix's own World repository (due to being on newer versions).

Edit (forgot to post /etc/pacman.conf):
Code: [Select]
[options]
HoldPkg = pacman glibc
Architecture = auto
IgnorePkg = xorg-wayland
CheckSpace
ParallelDownloads = 20
SigLevel = Required DatabaseOptional
LocalFilesSigLevel = Optional

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

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

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

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

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

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

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

Re: Pacman refuses to use Arch Extra repository contents

Reply #4
Hello,
Personally, I use FreeCAD 1.0 and the weekly-builds in Appimage version.
But, the other day I downloaded FreeCAD and all the necessary packages from the arch repositories to install them locally (sudo pacman -U).
If you are interested, I can give you the list of these packages.

Re: Pacman refuses to use Arch Extra repository contents

Reply #5
Have you got the artix-archlinux-support package installed, as mentioned earlier? I suppose you probably do. Take a look in /etc/pacman.d for any  mirrorlist-arch.pacnew file that needs attending to, also you might have a problem mirror at the top of the list, try putting some other ones there. I can see freecad in extra so it works for me here.

Re: Pacman refuses to use Arch Extra repository contents

Reply #6
Sorry for not getting back for a bit. Made do with the AppImage version for now, but I obviously still need to solve the problem in the long run. The AppImage version needs to run as root to access /usr/bin for whatever reason.

There is a mirrorlist-arch.pacnew file, but all of the mirrors are commented out. Surely pacman isn't reading from the pacnew file? I will compare the two lists and see if any mirrors are different between the two.

 

Re: Pacman refuses to use Arch Extra repository contents

Reply #7
Sorry for not getting back for a bit. Made do with the AppImage version for now, but I obviously still need to solve the problem in the long run. The AppImage version needs to run as root to access /usr/bin for whatever reason.
You placed the Appimage in a user directory?

You made the Appimage executable?

Quote
There is a mirrorlist-arch.pacnew file, but all of the mirrors are commented out. Surely pacman isn't reading from the pacnew file? I will compare the two lists and see if any mirrors are different between the two.
"Warning: Any unofficial repositories (including Arch repositories and the AUR) are not supported by Artix Linux. Use them at your own risk. Packages in these repositories get updated at a different rate than the official ones and may break your system. If you have any problems with your system after installing packages from these repositories, you will have to solve them yourself. If you need assistance, you can ask in the forum, but don't demand any help from the developers."
https://wiki.artixlinux.org/Main/Repositories

Reminder :
Quote
But, the other day I downloaded FreeCAD and all the necessary packages from the arch repositories to install them locally (sudo pacman -U).
If you are interested, I can give you the list of these packages.



Re: Pacman refuses to use Arch Extra repository contents

Reply #8
Both my laptops are finding freecad in extra. One has some local mirrors from my country at the top of mirrorlist-arch and uncommented, the other has only the default from the worldwide section:
Code: [Select]
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
It's the first uncommented mirror at the top on /etc/pacman.d/mirrorlist-arch that is the most critical. Also it's possible that the worldwide mirrors will redirect to a local mirror like some universal ntp server addresses do, although I don't know this for sure, it's something to be aware of, you might not get identical results to me even using the same address.
It's really very simple if it's a mirror issue, just comment out (put a # at the start of the line) the current top uncommented one and put another one or several from your country or somewhere geographically nearby at the top of the list, making sure they are uncommented, ie no preceding #. You can use tools to find the fastest mirrors but there may not be much difference anyway in practice, especially for Arch mirrors as most packages come from the Artix repos.

Re: Pacman refuses to use Arch Extra repository contents

Reply #9
Both my laptops are finding freecad in extra. One has some local mirrors from my country at the top of mirrorlist-arch and uncommented, the other has only the default from the worldwide section:
Code: [Select]
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
It's the first uncommented mirror at the top on /etc/pacman.d/mirrorlist-arch that is the most critical. Also it's possible that the worldwide mirrors will redirect to a local mirror like some universal ntp server addresses do, although I don't know this for sure, it's something to be aware of, you might not get identical results to me even using the same address.
It's really very simple if it's a mirror issue, just comment out (put a # at the start of the line) the current top uncommented one and put another one or several from your country or somewhere geographically nearby at the top of the list, making sure they are uncommented, ie no preceding #. You can use tools to find the fastest mirrors but there may not be much difference anyway in practice, especially for Arch mirrors as most packages come from the Artix repos.

Thanks, this fixed the issue.

I deleted my old arch mirrorlist and replaced it with the mirrorlist-arch.pacnew file, which had the global mirror (which, as you suggested, appears to be some sort of meta-mirror that redirects to an appropriate mirror), so that I could do what you instructed (i.e. uncomment a bunch of local mirrors) but it actually worked with the global mirror alone. My guess is that whatever mirror was at the top of my old list has closed.