You are not logged in.

#1 2007-05-17 18:55:49

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

[SOLVED] Pacman error (cannot install packages)

Perhaps I am doing something completely wrong, but I don't know what could cause this problem. I just installed using the Voodoo installation cd (only a few minutes before Duke was released wink) and then I did a

pacman -Sy pacman
pacman -Syu

I then tried to install Midnight Commander but Pacman complained:

# pacman -U mc
loading package data... 

error: failed to add target 'mc' (could not find or read file)

What is the cause of this error message? I already tried to delete /var/lib/pacman/{current|base|local} and trying another 'pacman -Syu', but to no avail...

Last edited by Marcel- (2007-05-17 19:16:39)

Offline

#2 2007-05-17 19:02:54

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Pacman error (cannot install packages)

This will work:

pacman -S mc

-U is used to install local packages, so it expects a path to a local .pkg.tar.gz file and that's why it complains about not finfing the file.

Offline

#3 2007-05-17 19:05:58

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Pacman error (cannot install packages)

Aaargh, how could I misread the manual, I must have been to impatient... smile

Thanks, Ramses!

Offline

Board footer

Powered by FluxBB