Access denied to certain package in pamac

Hello everyone, I hope you are having a good time.

I recently noticed that when using pamac even to just check for updates, the system throws an access error with a package called download-aht5DX, this just from pamac. It looks like a cp error. This happened since the update 2025-02-16, I tried to see something similar mentioned in the announcements category but I didn’t see anything, maybe I didn’t read everything, that’s why I opened the new post.

From pacman it throws a warning just from qt6 that the current version is newer than the one in the repo. 6.8.2-2, 6.8.2-1.1, I remember seeing something in announcements but I didn’t understand the solution, my apologies.

The details of my system are already in my profile fully updated in case you need any important information, it would show the terminal output when using pacman or pamac but it is in Spanish and could be confusing.

:kangaroo:

I cannot find this package using pamac search -a download-aht5DX or aur.archlinux.org

I suggest check package installed on your system

pamac info download-aht5DX | grep Repository

If response does not show a source Repository, package has probably been dropped from AUR

Update announcements are for Manjaro repository packages only.
Issue reports for AUR packages would be moved to AUR

1 Like

The details are insufficient.
In case they are needed and you want them to be in english:
prepend LC_ALL=C to the command:
eg:
LC_ALL=C sudo pacman-mirrors -f
LC_ALL=C sudo pacman -Syu

Current pacman version is 7.0.0

download-aht5DX would appear to be a temporary download folder created for the alpm download user. See WorMzy’s explanation and Allan’s response in
Arch forum: pacman creating new folders download-XXXXXX in /var/cache/pacman/pkg

2 Likes

So you can safely delete it.

1 Like

I had the idea of ​​translating to make it clearer jsjsj.

Here is Pacman’s:

:: Synchronizing package databases…
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade…
warning: qt6-base: installed version (6.8.2-2) is newer than extra (6.8.2-1.1)
…system is already up to date.

And this is from pamac:

cp: cannot access ‘/var/lib/pacman/sync/download-aht5DX’: Permission denied

I hope this helps.

:kangaroo:

Now that I look at it, actually following the output of pacman, it doesn’t look like a package and more like a directory.

I just wouldn’t really have any idea what it is, and whether it would be a good idea to remove it.

/var/lib/pacman/sync/download-aht5DX (This appears in the cp error sent by pamac)

:kangaroo:

Yes.
You have probably used sudo when you used pamac (this is just my thought, not definitive).
You could just delete that directory and then try again.

There are many posts here on how to remedy such situation, caused by using sudo with pamac - which should not be done. Ever.

… the pacman output is fine - it’s just a warning

I’ve seen the article, but maybe I’m wrong, the output of pacman is not similar, the directory from which it comes out is /var/lib/pacman.

Oh, it’s similar?

Ooh I see, don’t worry I never use pamac with sudo, it already asks for authentication when used without sudo ehhe. Maybe when I was newer to Manjaro it did, that was a couple of years ago.

I’ll see about removing the directory and if it doesn’t happen again.

As for Pacman, it will probably disappear at some point in another update, just like other conflicts in the past. I decided to include it just as information, I thought it would be interesting or perhaps useful for the developers if they ever look for information about something similar.

If I where you, I’d stay away from using pamac.
Except to look up things - but not rely on it to install or update.
I do.
It may be an unpopular opinion, but it is mine.
Use pacman - and some other AUR helper like yay to deal with any AUR packages you may have.

1 Like

Really? Why would that be? I’ve been using it for a long time because it has a smoother syntax and is more familiar with other distros that I also use at work. Manjaro is more personal at home.

But I guess it has caused some problems inside, right?

… experience - luckily largely not my own but rather the many reported problems with it reported and discussed here in this forum …

yes, indeed

1 Like

Branch compare for Manjaro - QT6
stable :6.8.2-1.1
testing :6.8.2-2
unstable :6.8.2-3

Warning message can be removed by downgrading package in pacman

sudo pacman -Syuu

or pamac

pamac update --no-aur --enable-downgrade
sudo rm /var/lib/pacman/sync/download-aht5DX
1 Like

Following the idea of ​​removing as a recommendation from all jsjsjs. Takakage and the people from the arch forum are also right.

The directory is with those alpm permissions.

ls -l /var/lib/pacman/sync/  2 ✘
total 69544

-rw-r--r-- 1 root root   144758 fev 16 07:47 core.db
-rw-r--r-- 1 root root  2728588 fev 16 07:47 core.files
drwx------ 2 alpm alpm     4096 fev 16 11:31 download-aht5DX
-rw-r--r-- 1 root root  8536217 fev 21 13:32 extra.db
-rw-r--r-- 1 root root 48193312 fev 19 13:50 extra.files
-rw-r--r-- 1 root root    26591 dez 16 08:04 mhwd.db
-rw-r--r-- 1 root root   145563 fev 16 07:47 multilib.db
-rw-r--r-- 1 root root   239776 fev 16 07:47 multilib.files
-rw-r--r-- 1 root root 11174681 fev 18 21:36 packages-meta-ext-v1.json.gz
-rw-r--r-- 1 root root        0 fev 22 13:18 refresh_timestamp

Ok, the command mentioned by nikgnomic, removes the warning from pacman.

As mentioned I removed the directory with those permissions alpm and the error message about permissions in pamac is no longer present.

Too bad I can’t mark as a solution all those who helped. I guess the main problem was really solved by the Arch guys and the one shared by Takakage.

:kangaroo:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.