You are not logged in.

#1 2010-01-07 19:43:02

Rimas
Member
Registered: 2006-12-10
Posts: 19

[SOLVED]Strange problem while installing thunar :-/

Hi!
I have error while

$ sudo pacman -S thunar
thunar package not found, searching for group...
error: could not open file /var/lib/pacman/sync/extra/dmenu-4.0-1/desc: No such file or directory
error: 'thunar': not found in sync db

when trying to install dmenu I get this:

error: could not open file /var/lib/pacman/sync/extra/dmenu-4.0-1/desc: No such file or directory
error: failed to prepare transaction (package filename is not valid)

Is it possible to repair this?

p.s. system is after update

p.p.s actually I tried to update once more, but now it is asking for /var/lib/pacman/sync/extra/dmenu-4.0-1/desc sad
error: could not open file /var/lib/pacman/sync/extra/dmenu-4file or directory

Last edited by Rimas (2010-01-08 13:28:12)

Offline

#2 2010-01-07 21:17:13

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]Strange problem while installing thunar :-/

Could it be that the sync database is corrupt?  Are the subdirectories and files actally present under /var/lib/pacman/sync?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-01-08 09:40:19

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED]Strange problem while installing thunar :-/

Alternatively, run pacman -Sy. If it works, try to install thunar again. If it doesn't, paste the error message here.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#4 2010-01-08 10:47:49

Rimas
Member
Registered: 2006-12-10
Posts: 19

Re: [SOLVED]Strange problem while installing thunar :-/

Thanks for your replies.
pacman -Sy answered that all repositories are up to date.

Directory /var/lib/pacman/sync/extra/dmenu-4.0-1/ exists indeed, but there is only one file -- depends
less /var/lib/pacman/sync/extra/dmenu-4.0-1/depends:

%DEPENDS%
libx11
libxinerama

and required file (desc) is missing.
Can I just copy it from another system and put it in /var/lib/pacman/sync/extra/dmenu-4.0-1/ ?
Will it fix my problem?

Offline

#5 2010-01-08 13:27:25

Rimas
Member
Registered: 2006-12-10
Posts: 19

Re: [SOLVED]Strange problem while installing thunar :-/

I think I've solved the problem smile
Just downloaded repositories as packages and actualized /var/lib/pacman/sync directory manually (as described in Offline Installation of Packages)

Thanks guys for your input.

Offline

#6 2010-01-08 13:57:27

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: [SOLVED]Strange problem while installing thunar :-/

I could be wrong, but couldn't you use
pacman -Syy
to force a new sync of the pacman repository?


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#7 2010-01-08 16:37:35

Rimas
Member
Registered: 2006-12-10
Posts: 19

Re: [SOLVED]Strange problem while installing thunar :-/

madeye, of course, you are right!
I should learn pacman functionality more accurately.
Less experienced users do more keystrokes big_smile

Offline

Board footer

Powered by FluxBB