You are not logged in.

#1 2024-09-15 06:03:34

d3vilguard
Member
Registered: 2022-01-01
Posts: 9

No access to local repos

Hi guys!
Updated pacman to 7.
Merged the pacman config. By the looks of it the only changes were:

DownloadUser = alpm
#DisableSandbox

Then ran

chown :alpm -R /path/to/local/repo

In my case

sudo chown :alpm -R /home/georgi/Documents/MAKE/repo

Well doing a -Syu I get:

error: failed retrieving file ‘repo.db’ from disk : Couldn’t open file /home/georgi/Documents/MAKE/repo/repo.db
error: failed to synchronize all databases (failed to retrieve some files)

By the mesage in the newsfeed I’m also supposed to

executable bit (+x) is set on the folders in question

I really don’t understand what I am supposed to do?

Thanks in advance!


KDE / Linux-TKG BORE / mesa-minimal-git / 5800X PBO / Viper 4x8 4000 (3600@14) / RX6800

Offline

#2 2024-09-15 06:29:39

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 220

Re: No access to local repos

Because of 0700 /home/user permissions that's rather not resolution for the problem:

sudo chown :alpm -R /home/georgi/Documents/MAKE/repo

One of way could be move repository directory out of /home/user, eg somewhere to /srv/repo with normal permissions, as follows:

user:user drwxr-xr-x

Most important are permissions granted to other on repository directory: read and execution bit.
Remember to update your ~/.config/pacman/makepkg.conf to instruct makepkg where to place compiled packages. Also /etc/pacman.conf needs to be updated.

Last edited by Fixxer (2024-09-15 06:39:47)

Offline

#3 2024-09-15 06:54:59

seth
Member
Registered: 2012-09-03
Posts: 58,660

Online

Board footer

Powered by FluxBB