You are not logged in.
Pages: 1
Yesterday I tried to do an upgrade of my system via pacman -Syu and I was told to update pacman (and about two other things which I can't remember what they were) and now I am getting the following error when I try to run pacman -Syu again:
arch linux - pacman:error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
I found a thread which has a number of fixes but I am unsure which one I should use. The thread is here:
https://bbs.archlinux.org/viewtopic.php?id=77382
So I am unsure how to solve this. I would appreciate help on fixing this as I am still a beginner.
Thanks in advance.
Offline
The first thing to do would be to look back through pacman's log and read exactly what happened.
Offline
Remembering that symlinking libraries is really bad...
ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5
pacman -Sf xz
pacman -Syu
Should get your system back going...
Offline
Remembering that symlinking libraries is really bad...
ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5 pacman -Sf xz pacman -Syu
Should get your system back going...
Thanks for that.
Last edited by morphjk (2011-08-24 04:13:08)
Offline
Remembering that symlinking libraries is really bad...
ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5 pacman -Sf xz pacman -Syu
Should get your system back going...
Okay I did the above but I got the following errors:
[root@media ~]# ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5
[root@media ~]# pacman -Sf xz
error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: target not found: xz
then when I did pacman -Syu I got the following:
[root@media ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace antlr with extra/antlr2? [Y/n] y
:: Replace heimdal with core/krb5? [Y/n] y
:: Replace kdeaccessibility-colorschemes with extra/kdeartwork-colorschemes? [Y/n] y
:: Replace kdeaccessibility-iconthemes with extra/kdeartwork-iconthemes? [Y/n] y
:: Replace kdeedu-data with extra/libkdeedu? [Y/n] y
:: Replace kdeedu-libkdeedu with extra/libkdeedu? [Y/n] y
:: Replace kdegames-ksame with extra/kdegames-klickety? [Y/n] y
:: Replace kdegraphics-libs with extra/kdegraphics-ksaneplugin? [Y/n] y
:: Replace kdegraphics-libs with extra/kdegraphics-mobipocket? [Y/n] y
:: Replace kdegraphics-libs with extra/kdegraphics-strigi-analyzer? [Y/n] y
:: Replace kdegraphics-libs with extra/kdegraphics-svgpart? [Y/n] y
:: Replace kdegraphics-libs with extra/kdegraphics-thumbnailers? [Y/n] y
:: Replace kdegraphics-libs with extra/libkdcraw? [Y/n] y
:: Replace kdegraphics-libs with extra/libkexiv2? [Y/n] y
:: Replace kdegraphics-libs with extra/libkipi? [Y/n] y
:: Replace kdegraphics-libs with extra/libksane? [Y/n] y
:: Replace kdeutils-okteta with extra/kdesdk-okteta? [Y/n] y
:: Replace kernel26 with core/linux? [Y/n] y
:: Replace libdjvu with extra/djvulibre? [Y/n] y
:: Replace libjpeg with extra/libjpeg-turbo? [Y/n] y
:: Replace libusb1 with core/libusb? [Y/n] y
:: Replace mailx with core/heirloom-mailx? [Y/n] y
warning: myththemes: local (25574-1) is newer than community (0.24-1)
:: Replace pycairo with extra/python2-cairo? [Y/n] y
:: Replace util-linux-ng with core/util-linux? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
:: cloog and cloog-ppl are in conflict (cloog-ppl<0.15.10-2). Remove cloog-ppl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: xfprint: requires heimdal>=1.3.1
[root@media ~]#
Offline
then when I did pacman -Syu I got the following:
[root@media ~]# pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... :: Replace antlr with extra/antlr2? [Y/n] y :: Replace heimdal with core/krb5? [Y/n] y :: Replace kdeaccessibility-colorschemes with extra/kdeartwork-colorschemes? [Y/n] y :: Replace kdeaccessibility-iconthemes with extra/kdeartwork-iconthemes? [Y/n] y :: Replace kdeedu-data with extra/libkdeedu? [Y/n] y :: Replace kdeedu-libkdeedu with extra/libkdeedu? [Y/n] y :: Replace kdegames-ksame with extra/kdegames-klickety? [Y/n] y :: Replace kdegraphics-libs with extra/kdegraphics-ksaneplugin? [Y/n] y :: Replace kdegraphics-libs with extra/kdegraphics-mobipocket? [Y/n] y :: Replace kdegraphics-libs with extra/kdegraphics-strigi-analyzer? [Y/n] y :: Replace kdegraphics-libs with extra/kdegraphics-svgpart? [Y/n] y :: Replace kdegraphics-libs with extra/kdegraphics-thumbnailers? [Y/n] y :: Replace kdegraphics-libs with extra/libkdcraw? [Y/n] y :: Replace kdegraphics-libs with extra/libkexiv2? [Y/n] y :: Replace kdegraphics-libs with extra/libkipi? [Y/n] y :: Replace kdegraphics-libs with extra/libksane? [Y/n] y :: Replace kdeutils-okteta with extra/kdesdk-okteta? [Y/n] y :: Replace kernel26 with core/linux? [Y/n] y :: Replace libdjvu with extra/djvulibre? [Y/n] y :: Replace libjpeg with extra/libjpeg-turbo? [Y/n] y :: Replace libusb1 with core/libusb? [Y/n] y :: Replace mailx with core/heirloom-mailx? [Y/n] y warning: myththemes: local (25574-1) is newer than community (0.24-1) :: Replace pycairo with extra/python2-cairo? [Y/n] y :: Replace util-linux-ng with core/util-linux? [Y/n] y resolving dependencies... looking for inter-conflicts... :: cloog and cloog-ppl are in conflict (cloog-ppl<0.15.10-2). Remove cloog-ppl? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: xfprint: requires heimdal>=1.3.1 [root@media ~]#
Try running "pacman -Rs xfprint" or -"pacman -Rdd xfprint" (-Rdd if that one would cause similar dep problems) and run "pacman -Syu" again, repeating the steps for other depproblematic packages and reinstall them all after the full upgrade.
Offline
Wrong thread. Too many tabs open.
Last edited by ericbee (2011-09-09 16:24:11)
Offline
Pages: 1