-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory #18
Comments
応急処置とりあえず $ sudo find / -name "*libalpm.so*"
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/lib/libalpm.so.11.0.0
/usr/lib/libalpm.so
/usr/lib/libalpm.so.11 という感じでどうも libalpm というやつのバージョンが上がったことが原因っぽい。 雑な応急処置としてシムリンクで逃げることにする。 $ cd /usr/lib/
$ sudo ln -sv libalpm.so.11 libalpm.so.10
'libalpm.so.10' -> 'libalpm.so.11'
$ ls -l libalpm.so.10
lrwxrwxrwx 1 root root 13 May 29 14:33 libalpm.so.10 -> libalpm.so.11* これで一応動くようになった $ yay
:: Synchronizing package databases...
core is up to date
extra 1610.8 KiB 4.11M/s 00:00 [######################################################################] 100%
community 4.4 MiB 11.1M/s 00:00 [######################################################################] 100%
archlinuxfr is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
-> Local package is newer than AUR: ttf-cica (2.0.4-1 -> 1.0.2-1)
:: Querying AUR...
-> Missing AUR Packages: js libcloudproviders libhttpseverywhere vte3-ng
:: 5 Packages to upgrade.
5 extra/gnome-builder 3.28.1-1 -> 3.28.2-1
4 community/python-sqlalchemy 1.2.7-1 -> 1.2.8-1
3 aur/python34 3.4.7-1 -> 3.4.8-1
2 aur/typora 0.9.51-1 -> 0.9.52-1
1 aur/yay 6.777-2 -> 6.784-1 |
これは pacman に含まれるライブラリみたい。 #18 (comment) のアップデートの際に中途半端な状態でファイルが展開され、新バージョンと旧バージョンの pacman がごちゃまぜになって発生した可能性が高そう。 実際、シムリンクによる回避を行い再度アップデートを行った所、 # laughk @ archlinux in ~ [14:52:24] C:130
$ ls -l /usr/lib/libalpm.so
lrwxrwxrwx 1 root root 17 May 28 10:26 /usr/lib/libalpm.so -> libalpm.so.11.0.0*
# laughk @ archlinux in ~ [14:52:34]
$ ls -l /usr/lib/libalpm.so.10
lrwxrwxrwx 1 root root 13 May 29 14:33 /usr/lib/libalpm.so.10 -> libalpm.so.11*
# laughk @ archlinux in ~ [14:52:39]
$ sudo unlink /usr/lib/libalpm.so.10
[sudo] password for laughk:
# laughk @ archlinux in ~ [14:52:50]
$ ls -l /usr/lib/libalpm.so.10
ls: cannot access '/usr/lib/libalpm.so.10': No such file or directory
# laughk @ archlinux in ~ [14:52:52] C:2
$ yay
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
-> Local package is newer than AUR: ttf-cica (2.0.4-1 -> 1.0.2-1)
-> Missing AUR Packages: js libcloudproviders libhttpseverywhere vte3-ng
:: Starting full system upgrade...
there is nothing to do
|
なおったのでおしまい |
yaourt の方は報告が上がっていた https://aur.archlinux.org/packages/yaourt ちなみに #18 (comment) では yay で確認して問題なかった感じだけど、 yaourt だと libalpm.so.10 のシムリンクが消えるとまた起動しなくなってしまった... |
いつもどおりのカジュアルアップデートで以下のような感じにコケた
問題はこの後で、以下のエラーで pacman, yaourt などヘルパー含めてパッケージ管理が使えなくなった
The text was updated successfully, but these errors were encountered: