在Linux Mint上删除libcurl3

在Linux Mint上删除libcurl3,linux,git,libcurl,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 li

最近我的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!'
关于如何进行的任何建议?

如“”中所建议,一种方法是:

  • 未卸载
  • 改为升级
即:

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

你能尝试升级它而不是卸载它吗?()似乎有效=)首先尝试通过发出命令
sudo apt get autoremove
摆脱不必要的软件包,然后再次尝试安装一次。我记得尝试过,但结果是一样的。