You are not logged in.

#1 2011-11-16 20:41:51

zombiewithlasers
Member
Registered: 2011-11-16
Posts: 2

Pacman -U returning "cannot open package file" [Solved]

I admit that I'm new to Arch, but not to Linux in general.  I'm more accustomed to Debian and Red Hat systems.  I just set up this Arch installation a few days ago and up until now everything has gone well.  However, today was the first day I tried to use AUR.  I have no problem installing packages from the repositories or eveing building with makepkg.  Every time I get to the pacman -U "path/to/file.pkg.tar.gz" part I get and error saying that pacman cannot open package file.  I've look all around and found no answer.  Any thoughts?  Thank you.

Last edited by zombiewithlasers (2011-11-16 21:16:37)

Offline

#2 2011-11-16 20:46:26

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: Pacman -U returning "cannot open package file" [Solved]

You can pass the -i flag in makepkg to install the package directly from building it.

Pacman has used .tar.xz packages for a while now so try

pacman -U foo.tar.xz

or post what you're trying because to me it looks like you're using out of date info


Rauchen verboten

Offline

#3 2011-11-16 21:16:17

zombiewithlasers
Member
Registered: 2011-11-16
Posts: 2

Re: Pacman -U returning "cannot open package file" [Solved]

Okay.  I am an idiot.  I was typing tar.gz out of habit.

Offline

#4 2011-11-16 21:17:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman -U returning "cannot open package file" [Solved]

SS4 wrote:

You can pass the -i flag in makepkg to install the package directly from building it.

Pacman has used .tar.xz packages for a while now so try

pacman -U foo.tar.xz

or post what you're trying because to me it looks like you're using out of date info

Some packages are still compressed with gzip.


@zombiewithlasers
Please post the exact output of 'ls -al' (to see if the files exist) and pacman.


Edit: Ah, OK :-)

Last edited by karol (2011-11-16 21:17:36)

Offline

#5 2011-11-16 22:39:28

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Pacman -U returning "cannot open package file" [Solved]

zombiewithlasers wrote:

Okay.  I am an idiot.  I was typing tar.gz out of habit.

Doesn't matter if you're an idiot or not, because your username has two of my favorite entertainment elements combined.

Offline

Board footer

Powered by FluxBB