linux - 在 Linux Mint 上删除 libcurl3

标签 linux git libcurl

最近我的git开始不能用了,查了下原因好像和libcurl3-gnutls有关,建议降级。当我尝试安装以前的版本时,安装程​​序自然会提示系统中已经有更新的版本。因此,我决定先使用 sudo apt-get remove libcurl3-gnutls 删除以前的版本,但是,我收到一个警告,让我三思而后行;

The following packages were automatically installed and are no longer required:
  git-man liberror-perl ocl-icd-libopencl1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  apt-transport-https brasero brasero-cdrkit evolution-data-server
  gir1.2-gdata-0.0 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 git
  gstreamer0.10-plugins-bad gstreamer1.0-plugins-bad kdepim-runtime
  kerneloops-daemon libbrasero-media3-1 libcmis-0.4-4 libcurl3-gnutls
  libgdata13 libgrilo-0.2-1 libkolab0 libkolabxml1 liboauth0 libquvi7
  libraptor2-0 librasqal3 librdf0 libreoffice-base-core
  libreoffice-base-drivers libreoffice-calc libreoffice-core libreoffice-draw
  libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-impress
  libreoffice-math libreoffice-ogltrans libreoffice-pdfimport
  libreoffice-presentation-minimizer libreoffice-sdbc-hsqldb
  libreoffice-writer libslv2-9 libtotem-plparser18 libtotem0
  mint-meta-cinnamon mint-meta-codecs mint-meta-core mintsources python-pycurl
  python3-pycurl python3-uno thin-client-config-agent totem totem-mozilla
  totem-plugins totem-plugins-extra transmission-gtk
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  mintsources python-pycurl (due to mintsources)
0 upgraded, 0 newly installed, 55 to remove and 53 not upgraded.
After this operation, 297 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

关于如何进行的任何建议?

最佳答案

按照“How do I force my Debian system to update GnuTLS?”中的建议,一种方法是:

  • 不卸载
  • 改为升级

即:

apt-get update; apt-cache policy libgnutls26
apt-get update; apt-cache policy libgnutls27

关于linux - 在 Linux Mint 上删除 libcurl3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33516496/

相关文章:

windows - Windows 上的 git (git-bash) 即使完成后也会锁定文件夹数量

git - 如何在 NFS 分区中拥有 git 存储库,在本地分区中拥有工作树?

linux - libcurl,没有root权限的cpuminer安装

linux - Shell 脚本计算字符串出现次数

Linux 中的 C 段错误(核心转储)错误

linux - 使用 PowerShell 测试与 Unix 服务器的连接

Linux查找同名文件复制到目标文件夹不覆盖

git - 如何克服 git 错误 `Unknown SSL protocol error in connection`

c - 我想编译一个libcurl程序

c - 如何使用 libcurl 登录安全网站并获取登录后的 html