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