关于 sudo apt-get purge make 的困惑

关于 sudo apt-get purge make 的困惑

我尝试卸载 make,因为我想看到一些东西,然后我就看到了

sudo apt-get purge make

问题是,在卸载过程中它显示了一个警告,并且一些奇怪的软件包被卸载(例如一些包含名称 nvidia 的软件包)。

我是否错误地卸载了对系统至关重要的东西?

最后一条命令的内容apt-get

Start-Date: 2015-05-08  10:06:02 Commandline: apt-get purge make Install: ocl-icd-libopencl1:amd64 (2.1.3-4, automatic) Purge: make:amd64 (3.81-8.2ubuntu3), dkms:amd64 (2.2.0.3-1.1ubuntu5.14.04), equivs:amd64 (2.0.9), dpkg-dev:amd64 (1.17.5ubuntu5.4), hardening-includes:amd64 (2.5ubuntu2.1), debhelper:amd64 (9.20131227ubuntu1), nvidia-331:amd64 (331.113-0ubuntu0.0.4), nvidia-libopencl1-331:amd64 (331.113-0ubuntu0.0.4), bbswitch-dkms:amd64 (0.7-2ubuntu1), lintian:amd64 (2.5.22ubuntu1), nvidia-prime:amd64 (0.6.2), build-essential:amd64 (11.6ubuntu6), nvidia-331-uvm:amd64 (331.113-0ubuntu0.0.4) End-Date: 2015-05-08  10:07:07

Start-Date: 2015-05-08  10:07:36 Commandline: apt-get autoremove Remove: screen-resolution-extra:amd64 (0.17.1), libautodie-perl:amd64 (2.23-1), libfile-fcntllock-perl:amd64 (0.14-2build1), libgettextpo-dev:amd64 (0.18.3.1-1ubuntu3), libnet-domain-tld-perl:amd64 (1.70-1), lib32gcc1:amd64 (4.9.1-0ubuntu1), libio-string-perl:amd64 (1.08-3), libgettextpo0:amd64 (0.18.3.1-1ubuntu3), t1utils:amd64 (1.37-2ubuntu1), libcuda1-331:amd64 (331.113-0ubuntu0.0.4), nvidia-settings:amd64 (331.20-0ubuntu8), libasprintf-dev:amd64 (0.18.3.1-1ubuntu3), libnet-ip-perl:amd64 (1.26-1), libperlio-gzip-perl:amd64 (0.18-1build3), liblist-moreutils-perl:amd64 (0.33-1build3), diffstat:amd64 (1.58-1), intltool-debian:amd64 (0.35.0+20060710.1), libnet-dns-perl:amd64 (0.68-1.2build1), libipc-system-simple-perl:amd64 (1.25-2), libemail-valid-perl:amd64 (1.192-1), libdpkg-perl:amd64 (1.17.5ubuntu5.4), po-debconf:amd64 (1.0.16+nmu2ubuntu1), libapt-pkg-perl:amd64 (0.1.29build1), libsub-identify-perl:amd64 (0.04-1build3), libipc-run-perl:amd64 (0.92-1), gettext:amd64 (0.18.3.1-1ubuntu3), libarchive-zip-perl:amd64 (1.30-7), patchutils:amd64 (0.3.2-3), libc6-i386:amd64 (2.19-0ubuntu6.6), libio-pty-perl:amd64 (1.08-1build4), libclone-perl:amd64 (0.36-1), libtext-levenshtein-perl:amd64 (0.06~01-2), libvdpau1:amd64 (0.7-1), dh-apparmor:amd64 (2.8.95~2430-0ubuntu5.1), libparse-debianchangelog-perl:amd64 (1.2.0-1ubuntu1) End-Date: 2015-05-08  10:08:05

答案1

正如 ejno 指出的那样,这很好: nVidia 驱动程序依赖于make,因为make需要在安装/内核升级时针对当前内核构建模块:make如果不删除 nVidia 驱动程序,则 nVidia 驱动程序包将“损坏”,因此它们被 删除了apt-get

相关内容