Skip to content

Creation of cache, snapshots and hashes folders when they don't exist #957

Open
@stereomato

Description

@stereomato

According to #884 (comment), these are created when they don't exist, but I just installed aura, ran aura -A bottles, and I'm sitting at the "Proceed? [Y/n]" stage, and I checked at ~/.cache/aura/ and it only has the clones folder created.

Then, I proceeded with the build process, and I did get to build the first dependency, but at the end of that I got

mv: cannot move '/home/stereomato/.cache/aura/builds/python-pathvalidate/python-pathvalidate-3.2.1-1-any.pkg.tar.zst' to '/home/stereomato/.cache/aura/cache/python-pathvalidate-3.2.1-1-any.pkg.tar.zst': No such file or directory

And checking .cache/aura/ I do have the builds and clone folders, but not cache, hashes, or snapshots ones. So, I decided to create the cache folder myself, and restarted the process.

Now, this manages to install some of the AUR dependencies of bottles, but aura exits with "aura :: Failed to write file: /home/stereomato/.cache/aura/hashes/python-steamgriddb", which I can also fix by creating the folder manually.

output of aura conf --gen

[general]
cpus = 16
editor = "nano"
doas = false
language = "en-US"
noconfirm = false

[aur]
build = "/home/stereomato/.cache/aura/builds"
cache = "/home/stereomato/.cache/aura/cache"
clones = "/home/stereomato/.cache/aura/packages"
hashes = "/home/stereomato/.cache/aura/hashes"
chroot = []
ignores = []
git = false
hotedit = true
shellcheck = true
diff = true
delmakedeps = false
clean = true
warn_unknowns = true
nocheck = false
skipdepcheck = false
reverse = false

[backups]
snapshots = "/home/stereomato/.cache/aura/snapshots"
automatic = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions