【问题标题】:Removing libcurl3 on Linux Mint在 Linux Mint 上删除 libcurl3
【发布时间】:2015-11-04 07:56:47
【问题描述】:

最近我的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!'

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

【问题讨论】:

  • 您可以尝试升级它而不是卸载它吗? (serverfault.com/a/580997/783)
  • 好像成功了 =)
  • 首先尝试通过发出命令sudo apt-get autoremove 删除不必要的软件包,然后再次尝试安装
  • 我记得试过但结果是一样的。

标签: linux git libcurl


【解决方案1】:

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

  • 不卸载
  • 改为升级

即:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-08-02
    • 1970-01-01
    • 2017-01-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-03
    • 2014-07-15
    相关资源
    最近更新 更多