Skip to content

Instantly share code, notes, and snippets.

@cyjake
Created March 16, 2013 18:16
Show Gist options
  • Save cyjake/5177621 to your computer and use it in GitHub Desktop.
Save cyjake/5177621 to your computer and use it in GitHub Desktop.
Arch Linux 又一坑
# 2013-03-17 刚才不小心更新了一下 curl
sudo pacman -S curl
# 结果 curl 跪了,所有的 pacman 命令也是
curl: /usr/lib/libc.so.6: version `GLIBC_2.17' not found (required by curl)
curl: /usr/lib/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/libcurl.so.4)
# 于是很悲剧地连回滚 curl 都不行,幸好找到了不通过 pacman 命令回滚软件的方式
# https://bbs.archlinux.org/viewtopic.php?pid=1148260#p1148260
zcat /var/cache/pacman/pkg/curl-7.26.0-1-<arch>.pkg.tar.xz | tar xv -C /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment