You are not logged in.

#1 2009-02-04 00:37:22

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Error when using pacman -S xxxxxxx

When doing pacman -S xxxxxxx I get this error:
/sbin/ldconfig: /usr/lib/libgdkmm-2.4.so.x is not an ELF file - it has the wrong magic bytes at the start.

That comes up for about 8 different versions of this file.

Last edited by Dethredic (2009-02-04 01:41:38)

Offline

#2 2009-02-04 01:03:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

Please post the full output so we can try to help.

Offline

#3 2009-02-04 01:33:42

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

That is exactly what is says

Last edited by Dethredic (2009-02-04 01:41:56)

Offline

#4 2009-02-04 01:51:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

So, with your edit I can see this is an issue with the gtkmm.  Try reinstalling that package.

Other than that, provide the .x at the end of those line.  That would be providing full output...

Offline

#5 2009-02-04 01:59:29

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

ok, the x = 1, nothing, 1.0.30, 6.0.3, 6

There are repeats of some of those.

Offline

#6 2009-02-04 02:03:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

These are the library that gtkmm provides. 

/usr/lib/libgdkmm-2.4.so
/usr/lib/libgdkmm-2.4.so.1
/usr/lib/libgdkmm-2.4.so.1.0.30

I'd do a "pacman -Qo <file>" on the ones with different numbers and if they are owned by nothing, delete them.  Then reinstall gtkmm.

Offline

#7 2009-02-04 02:13:16

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

ok I removed those 3 files. I did a pacman -R gtkmm and it tells me it is not found in the local db. I then did pacman -S gtkmm and it asks me if i wish to proceed. I hit y and a lot of stuff come on the screen and it scrolls really fast. and by a lot I mean a lot. From my scanning of it all the lines have this message:

gtkmm: /usr/share/gtkmm-2.4/xxxx/xxxx exists in filesystem (that message happens like 100 times then:)
errors occurred, no packages were upgraded.

Offline

#8 2009-02-04 02:29:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

The files you removed were the ones with different numbers from that I posted?

Anyway, it sounds like pacman lost track of the gtkmm package.  Do a "pacman -Sf gtkmm" and it will force pacman to overwrite those files and hopefully fix this issue.

Offline

#9 2009-02-04 02:33:55

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

oops nope.

I did the pacman -Sf gtkm and I get this error:

/sbin/ldconfig: /usr/lib/libgdict-1.0.so.6.0.3 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig: /usr/lib/libgdict-1.0.so.6 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig: /usr/lib/libgdict-1.0.so is not an ELF file - it has the wrong magic bytes at the start.

EDIT: that happens everytime I try to install any package.

Last edited by Dethredic (2009-02-04 02:35:31)

Offline

#10 2009-02-04 02:37:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

Those file belong to gnome-utils.  You probably have to do the same with that package...

But first, can you post the output of "file /usr/lib/libgdict-1.0.so.6.0.3"?  And are you using i686 or x86_64?

Offline

#11 2009-02-04 02:44:11

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

I am in x86_64

output:
file /usr/lib/libgdict-1.0.so.6.0.3: , 44.1 kHz, Stereo

Offline

#12 2009-02-04 02:50:42

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

Dethredic wrote:

file /usr/lib/libgdict-1.0.so.6.0.3: , 44.1 kHz, Stereo

Um....   WTF.  An audio file!?  I have no idea but this is very concerning.  Do a "pacman -S libgdit", maybe a "-Sf" if needed but something is very wrong there.

Offline

#13 2009-02-04 03:04:33

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

error: 'libgdit': not found in sync db

Offline

#14 2009-02-04 03:07:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error when using pacman -S xxxxxxx

That should be "pacman -S gnome-utils"

Offline

#15 2009-02-04 03:25:17

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when using pacman -S xxxxxxx

There was one or two errors during that, but I think it is fixed, cause I can do stuff now. Thanks!

Offline

Board footer

Powered by FluxBB