Pamac-aur - Can't refresh databases after update

I was referring to the CachyOS devs @anon3981542, as pamac-aur and libpamac-aur are in the official CachyOS repositories.

And of course there have been problems with pamac, just as there have been problems with octopi and other package managers. But for the vast majority of the time pamac has worked splendidly, and its user interface is magnificent and easy to use. Whereas many, including myself, find the user interface of octopi, the default CachyOS package manager, to be incredibly convoluted, unattractive, and difficult to use. And over the years I’ve heard numerous complaints from those with dyslexia and other visual difficulties that octopi is simply unusable and not an option.

But that’s one of the beauties of Linux - choice. That’s why we have so many DEs - some like Gnome, some like KDE, some like XFCE, and some like other niche systems. There’s nothing inherently wrong with any of them, it’s just a matter of personal preference. And whether you use Linux, Windows, or Mac, no matter what software you choose there will always be occasional problems.

Sorry but, with respect, that is a non-sensical comparison. Aside from software being nothing like the animal kingdom, even the analogy falls over because if you want to use that analogy then it’s more like Arch, Manjaro and CachyOS are slightly different breeds of cats (of which I am familiar since I hold both qualifications in IT and Vet Nursing lol), with Arch being the original breed and Manjaro and Cachy being breeds based on the original (e.g. like how the Birman breed of cat is based on Siamese and Persians) - they are still almost identical ‘under the hood’. Manjaro and CachyOS are Arch based. They would not exist without Arch. Dogs and cats exist completely independently of each other and a dog’s existence does not rely on a cat’s existence because they are fundamentally different species.

But I don’t want to get into an argument about this because I would hope that we can both agree that arguing over semantics and analogies is not a nice way to spend the day.

Yep, been enjoying for many years, happy to have contributed to the solution for the fix (as I usually do with any and all opensource software I use) and will keep enjoying it since it fills a niche for helping running my system with my disabilities. :slight_smile:

Thank you for your compassion @Thorned_Rose.

I had no idea of your veterinarian background, but your interactions with others reflect the strength caring commands.

“Compassion requires the greatest strength of all.”
SearingTruth

Hi, @Mitch I have the seam problem, but installing aur version of packages didn’t work for me and pacman.conf on my system have “Archive=auto” :confused:
So didn’t you miss a step in your fix ?

Good afternoon @Jeremi360. I assume that you meant “Architecture”, not “Archive”, as there is no such statement in pacman.conf.

If that’s the case you must set the statement to “Architecture = x86_64 x86_64_v3” for most current architectures. If your CPU is very old you would omit “x86_64_v3”, and if it’s very new you would change it to “x86_64_v4”.

To determine the highest level architecture your CPU supports execute the following command:

/usr/lib/ld-linux-x86-64.so.2 --help

At the very end of the output you’ll see something like this:

Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

In this case the highest supported architecture is x86-64-v3 so you would use “x86_64_v3” (note that you replace the dashes with underlines).

If you need more help please let me know and I’ll respond as soon as possible.

Yes, I don’t know how I taped “Archive” there XD,
So main error I was solved by installing pamac-flatpak,
but now I have this error and I’m not alone:

But it is “Architecture = auto” and when I use comand linr tools like pacman or yay, it works no problem, other GUI package mangers also only pamac has this issuie.

And when I run /usr/lib/ld-linux-x86-64.so.2 --help
I got this:

Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

So it is bug in pamac in self even more I some how,
installing diffrent versions of pamac and libpamac was I able to fix it,
I think I made by installing full version, but I can’t build it as snap is broken,
but then I didn’t someting that borke it again I can recreat this fix.

Honestly, if I were dependent on the Manjaro Software Center or Flatpak in an arch-based distro, this partition would be deleted immediately.

I give up no pamac, and created PaSimple with help of ucncle ChatGPT :wink: ,
You need python-gobject, gtk3 and yay to run it:

Its very bare-bones, but works :smiley:
I will keep updating it.

Good morning @Jeremi360. It seems you’re attempting to install the wrong versions of pamac packages because libpamac-aur 11.6.4-2 is old and will not work. You also need to manually change the pacman.conf “Architecture” statement or pamac will not work, and you also need to change the “IgnorePkg” statement so pamac won’t try to change the correct pamac packages you install. So I’ll give you more detailed instructions that will hopefully help.

First, open a command terminal and execute the following command:

yay -a libpamac-aur

A list of packages will appear and after that a message that says “==> Packages to install (eg: 1 2 3, 1-3 or ^4)”. This message is asking for the number of the package you want to install, and you simply need to type the number “1”. After that just hit enter for the other questions and then “libpamac-aur 11.7.3-2” will be installed.

Next enter the following command:

yay -a pamac-aur

A list of packages will again appear and after that the message asking you to pick one, and once again you enter the number “1”. Again just hit enter for the other questions and then “pamac-aur 11.7.2-3” will be installed.

Now you will have the correct pamac-aur and libpamac-aur packages installed. The next step is to edit “/etc/pacman.conf” with your favorite text editor and change the Architecture and IgnorePkg statements. I use Mousepad so here’s an example:

sudo mousepad /etc/pacman.conf

Now find the “Architecture” statement and change it to “Architecture = x86_64 x86_64_v3”. Then find the “IgnorePkg” statement and change it to “IgnorePkg = pamac-aur libpamac-aur” (this tells pamac not to upgrade the pamac-aur and libpamac-aur packages you just installed).

Now reboot and you should have a working pamac installation.

Finally, I want to make sure you’re aware that the official package manager of CachyOS is “octopi”. This works fine, but the GUI is so incredibly convoluted that some people with visual difficulties can’t read it. I don’t have any visual problems, but even for me it’s difficult to use which is why I and so many others prefer pamac. Also don’t get confused with the terms “pacman” and “pamac”, as “pacman” is the command line program, and “pamac” is the GUI for it.

But you can always try octopi if you want. In that case you would uninstall pamac and install octopi with the following commands:

sudo pacman -R libpamac-aur pamac-aur
sudo pacman -S octopi

Once again if you need more help please let me know and I’ll respond as soon as possible.

Good morning again @Jeremi360. I would highly recommend that you not attempt to create your own package manager on your main system, especially with any kind of AI. Package managers are difficult to create, and AI is incredibly unreliable, and if you make a mistake you can easily corrupt your system and will have to completely reinstall it.

I’ve given you more detailed pamac installation instructions above, and also included instructions on how to install the official CachyOS package manager octopi. So I would recommend that you first get your main CachyOS installation working with pamac or octopi.

After that if you want to experiment with creating your own package manager I would create a CachyOS virtual machine and experiment with programming in it. That way your main CachyOS system will be safe, and if you make a mistake on the virtual machine you can easily recreate it.

Don’t get me wrong, I don’t want to discourage you from learning to program, in fact I encourage it and am impressed that you’re trying. I just want you to do it in the easiest and safest way possible.

None of this solutions helped, but after I reinstalled OS it is fixed

The correct solution is to avoid pamac. :wink: