You are not logged in.
Pages: 1
Hi everyone!
Lately I've having lots of trouble with pacman. First thing I got this when doing pacman -S whatever:
/sbin/ldconfig: /opt/kde/lib/libkmid.so.0.0.95 no es un fichero ELF - tiene los bytes mágicos equivocados en el comienzo.
/sbin/ldconfig: /usr/lib/libmpg123.so no es un fichero ELF - tiene los bytes mágicos equivocados en el comienzo.
[snip]
I thought maybe it was related to my root partition being full so I flushed the pacman cache (pacman -Scc) and got my partition down to 64% use. Now I still get the same errors when updating and I also get this when updating (pacman -Syu), right after repos get updated (this is a translation, I use the Spanish version of Archlinux):
solving dependencies...
error: couldn't open file /var/lib/pacman/sync/extra/mod_perl-2.0.4-3/depends: No such file or dir
error: couldn't solve "rsync", a dependency for "abs"
error: transaction failure (dependencies couldn't be satisfied)
:: abs: needs rsync
I installed rsync from source and I still get the same errors
Any ideas?
Offline
Try a "pacman -Syyu"
And could you translate this "no es un fichero ELF - tiene los bytes mágicos equivocados en el comienzo"
Offline
Sorry, I skipped that:
It means: " not an ELF file - wrong magic bytes at the beginning"
I'm trying your suggestion right now.
Offline
pacman -Syyu seems to be working. At least it has started upgrading packages, past the point where it exited with errors. It'll take a while to finish, though (lots of packages).
Offline
You will probably also need to reinstall the packages giving the errors with ldconfig.
Offline
Thanks Allan.
Yes, I'll install the packages. Sometimes it's not obvious the name of the package from the message, for example "libkmid" is not a package, neither is kmid, is there a convenient way to find out the appropriate package name?
Offline
"pacman -Qo <file>" although that might have issues given things were not extracted nicely....
edit:
/usr/lib/libmpg123.so is owned by mpg123
/opt/kde/lib/libkmid.so.0.0.95 is owned by kdelibs3
Offline
Thank you very much for your help, Allan.
I'll try to reinstall the packages as soon as I'm done with the updating.
Offline
It worked!!!
I had to trace back the dependency problems to libdvdread. After installing this, I installed sox, kdelibs3 then mplayer. I don't get any more errors.
Thanks again.
Offline
Pages: 1