You are not logged in.

#1 2017-10-30 21:11:05

1337_Nerd
Member
Registered: 2017-09-20
Posts: 3

[SOLVED] Running repo-add results in 'not a package file'

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

#2 2017-10-30 21:33:06

mpan
Member
Registered: 2012-08-01
Posts: 1,675
Website

Re: [SOLVED] Running repo-add results in 'not a package file'

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

#3 2017-10-30 21:47:24

1337_Nerd
Member
Registered: 2017-09-20
Posts: 3

Re: [SOLVED] Running repo-add results in 'not a package file'

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

#4 2017-10-30 22:14:49

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] Running repo-add results in 'not a package file'

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

#5 2017-10-30 22:19:42

1337_Nerd
Member
Registered: 2017-09-20
Posts: 3

Re: [SOLVED] Running repo-add results in 'not a package file'

Ok, thank you. I will try that.

Offline

Board footer

Powered by FluxBB