You are not logged in.
Hi everyone,
For a while I was not able to sync against my local repo.
I knew for a while of the news:
https://archlinux.org/news/manual-inter … -required/
Even so, I am unsure what is wrong, even with the correct permissions:
(09:18) giovanni @ ~/Projects/AUR $ stat deps_repo
File: deps_repo
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 259,6 Inode: 4072420 Links: 6
Access: (2755/drwxr-sr-x) Uid: ( 1000/giovanni) Gid: ( 955/ alpm)
Access: 2024-10-30 09:10:55.784173352 +0100
Modify: 2024-10-30 09:10:55.694172329 +0100
Change: 2024-10-30 09:10:55.694172329 +0100
Birth: 2022-03-03 11:49:55.738285703 +0100
(09:18) giovanni @ ~/Projects/AUR $ stat deps_repo/aur_dependencies.db.tar.xz
File: deps_repo/aur_dependencies.db.tar.xz
Size: 5940 Blocks: 16 IO Block: 4096 regular file
Device: 259,6 Inode: 4063415 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/giovanni) Gid: ( 955/ alpm)
Access: 2024-10-30 09:10:55.594171191 +0100
Modify: 2024-10-30 09:10:55.617504790 +0100
Change: 2024-10-30 09:10:55.684172215 +0100
Birth: 2024-10-30 09:10:55.594171191 +0100
(09:18) giovanni @ ~/Projects/AUR $ sudo pacman -Syu
[sudo] password for giovanni:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
miffe is up to date
home_ItachiSan_archlinux is up to date
aur_dependencies.db failed to download
error: failed retrieving file 'aur_dependencies.db' from disk : Couldn't open file /home/giovanni/Projects/AUR/deps_repo/aur_dependencies.db
error: failed to synchronize all databases (failed to retrieve some files)
Any suggestions?
Offline
check the arch linux home page. First item on the latest news.
Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.
Offline
/home/giovanni/Projects/AUR/deps_repo/aur_dependencies.db
You need access rights to transition the full path, https://bbs.archlinux.org/viewtopic.php?id=299394
Edit: the sane solution is to move or bind-mount the repo out of your $HOME
Last edited by seth (2024-10-30 08:41:14)
Offline
Hi,
check the arch linux home page. First item on the latest news.
I mentioned already I applied the correct permissions. I even referenced the guide.
As you can see from the code block, I have the folder and the DB file permissions set properly.
All files have group alpm and the folders have executable permissions, making them browsable from the group.
Offline
...
Edit: the sane solution is to move or bind-mount the repo out of your $HOME
Thanks! I assume a symlink won't work, right?
I can move all files with the exception of the scripts and handle them there.
Offline
I assume a symlink won't work, right?
Nope. That would completely destroy the permission system
A bind mount however will (if you don't want to move if from the partition) and it will also allow discrimatory access (ie. your user has full rights while everyone else can just read the path or so)
Offline
I tried copying all files and that worked...
So perhaps the bind mount would work?
Can I mount the folder within home out or must I do viceversa?
Offline
Can I mount the folder within home out or must I do viceversa?
Errrr… wut?
https://man.archlinux.org/man/core/util … _operation
Bind mounts behave pretty much like every other mount, just the the mounted "device" is some directory.
You want the target maybe in /srv, but not your $HOME (and typically not /home either) because you don't want random stranges access to your $HOME.
At least I don't. It's where I keep all my porn
Offline
Sorry, I was being unclear
I maintain the package repo inside the folder where I maintain my packages
I guess I will bind mount the repo folder in e.g. /opt or somewhere else and see if/how it works
Offline