You are not logged in.

#1 2019-03-10 22:02:18

Bulldozer
Member
Registered: 2019-03-09
Posts: 7

<SOLVED> Invalid or corrupted package

So I tried installing a package from the AUR and the plain Installation process seems to have worked but when typing pacman - U package.tar.xz I get the error message "invalid or corrupted package" over and over again even after repetetive download.

Last edited by Bulldozer (2019-03-11 21:56:48)

Offline

#2 2019-03-10 22:04:40

loqs
Member
Registered: 2014-03-06
Posts: 19,103

Re: <SOLVED> Invalid or corrupted package

Please post the actual command you used and all the output it produced.

Offline

#3 2019-03-10 22:09:36

bugsmanagement
Member
Registered: 2017-04-21
Posts: 201

Re: <SOLVED> Invalid or corrupted package

Hello there,

At a cursory first glance, package.tar.xz (proper naming scheme would be package.pkg.tar.xz for Arch Linux packages), you might be attempting to install the source tar ball rather the actual package?

Regards

Offline

#4 2019-03-10 22:16:20

Bulldozer
Member
Registered: 2019-03-09
Posts: 7

Re: <SOLVED> Invalid or corrupted package

Of course, sorry:
$ su
password:

$ pacman -U numix-circle-icon-theme-git-0.r36.a673d9d-1.src.tar.gz
loading packages..
error: missing package metadata in numix-circle-icon-theme-git-0.r36.a673d9d-1.src.tar.gz
error: 'numix-circle-icon-theme-git-0.r36.a673d9d-1.src.tar.gz': invalid or corrupted package

Thank you!

Offline

#5 2019-03-10 22:17:48

Bulldozer
Member
Registered: 2019-03-09
Posts: 7

Re: <SOLVED> Invalid or corrupted package

Yes you're right. Its the tar Ball. I'm brain dead right now ?

Offline

#6 2019-03-11 08:49:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,600

Re: <SOLVED> Invalid or corrupted package

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#7 2019-03-11 17:13:28

Bulldozer
Member
Registered: 2019-03-09
Posts: 7

Re: <SOLVED> Invalid or corrupted package

Sure but I'm still stuck with this sad

Offline

#8 2019-03-11 17:21:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: <SOLVED> Invalid or corrupted package

We thought you realized the problem with your last post. You aren't trying to install a package, you're trying to install the source tarball, which will never work.

Offline

#9 2019-03-11 17:38:20

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

Re: <SOLVED> Invalid or corrupted package


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

#10 2019-03-11 21:56:04

Bulldozer
Member
Registered: 2019-03-09
Posts: 7

Re: <SOLVED> Invalid or corrupted package

Ah yes..
For some reason I just trusted an answer from stackoverflow which says to type "pacman -U whateverpackage.tar.xz".. But using makepkg -si instead of just -S did the Job. Thanks again smile Im just pretty new to pacman and AUR. But im gonna get there step by step!

Offline

#11 2019-03-11 22:29:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: <SOLVED> Invalid or corrupted package

pacman -U works fine, you just have to run it on the correct file. That's all makepkg -i does is run pacman -U.

Offline

Board footer

Powered by FluxBB