You are not logged in.
Running 'repo-add customrepo/customrepo.db.tar.gz customrepo/example_file.tar.xz' has following output:
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> ERROR: '/home/1337_Nerd/customrepo/example_file.tar.xz' is not a package file, skipping
==> Creating updated database file '/home/1337_Nerd/customrepo/customrepo.db.tar.gz'
==> WARNING: No packages remain, creating empty database.
==> WARNING: No packages remain, creating empty database.
I have no idea what I need to do to fix this error. It's a valid file, I got it from the AUR, but it says its not a package file.
Last edited by 1337_Nerd (2017-10-31 21:11:33)
Offline
Please be clear on what you have actually done. You couldn’t have a package from AUR, because there is no packages in AUR.
What exactly is “example_file.tar.xz”? What are its contents, exactly?
Offline
I downloaded polybar.tar.gz from https://aur.archlinux.org/cgit/aur.git/ … bar.tar.gz. I then unpacked it and repacked it as a tar.xz file after trying it as a tar.gz file and getting the same error message
Offline
You downloaded a build files snapshot. You need to build that into a package first, then you can add the package to a repository (if you so want to).
Read up on what the AUR is, as well as how you use the build files to make a package.
https://wiki.archlinux.org/index.php/Ar … Repository
https://wiki.archlinux.org/index.php/Makepkg
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Ok, thank you. I will try that.
Offline