Reading state information...Done The following packages have been kept back:linux-headers-generic linux-image-generic wine1.5wine1.5-i386 The following packages will be upgraded:activity-log-manager-common activity-log-manager-
$ sudo apt-getpurgeapache2(or)$ sudo apt-getremove apache2 The following packages were automatically installed and are no longer required:apache2-utils linux-headers-2.6.28-11libapr1 apache2.2-common linux-headers-2.6.28-11-generic apache2-mpm-worker libpq5 libaprutil1 Use'apt-get autoremove'...
linuxtechi@localhost:~$ apt-cache search "web server" apache2 - Apache HTTP Server apache2-bin - Apache HTTP Server (binary files and modules) apache2-data - Apache HTTP Server (common files) apache2-dbg - Apache debugging symbols apache2-dev - Apache HTTP Server (development headers) apa...
linux@localhost:~$ sudo apt-get clean 上面的命令会清空apt-get所下载的包占用的磁盘空间。 我们也可以使用“autoclean”选项来代替“clean”,两者之间主要的区别是autoclean清理不再使用且没用的下载。 linux@localhost:~$ sudo apt-get autoclean Readingpackage lists...Done Building dependency tree Reading s...
Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-headers-generic linux-image-generic wine1.5 wine1.5-i386 The following packages will be upgraded: activity-log-manager-common activity-log-manager-control-center ...
linuxtechi@localhost:~$ apt-cache search"web server"apache2-ApacheHTTPServerapache2-bin-ApacheHTTPServer(binary filesandmodules)apache2-data-ApacheHTTPServer(common files)apache2-dbg-Apachedebugging symbolsapache2-dev-ApacheHTTPServer(development headers)apache2-doc-ApacheHTTPServer(on-site documentation...
pkg = apt_cache[pkg_name]if(pkg.is_installedandpkg.is_auto_removable)andre.match(r"^linux-(image|(\w+-)?headers)-.*$", pkg_name ): packages[pkg_name] = pkg.installed.versionifver_max_len < len(pkg.installed.version): ver_max_len = len(pkg.installed.version)ifpackages: ...
Linux/Ubuntu: apt-cache命令的用法, apt-get apt-cache命令 使用 示例:1 列出所有可用包 1justcode@localhost:~$ apt-cache pkgnames 2account-plugin-yahoojp 3ceph-fuse 4dvd+rw-tools 5e3 6gnome-commander-data 7grub-gfxpayload-lists 8gweled ...