apt-get update对应的就是第一步。 apt-get upgrade 与apt-get dist-upgrade对应的是第二步。 由于包与包之间存在各种依赖关系。upgrade只是简单的更新包,不管这些依赖,它不和添加包,或是删除包。而dist-upgrade可以根据依赖关系的变化,添加包,删除包。 一般在运行upgrade或dist-upgrade之间,要运行update....
apt-get update对应的就是第一步。 apt-get upgrade 与apt-get dist-upgrade对应的是第二步。 由于包与包之间存在各种依赖关系。upgrade只是简单的更新包,不管这些依赖,它不和添加包,或是删除包。而dist-upgrade可以根据依赖关系的变化,添加包,删除包。 一般在运行upgrade或dist-upgrade之间,要运行update....
expenseofless important ones if necessary. So, dist-upgrade command may removesomepackages. The/etc/apt/sources.list filecontainsa listoflocationsfromwhichtoretrieve desired package files. See also apt_preferences(5)fora mechanismforoverriding the general settingsforindividual packages. apt-get update ...
Install/manage individual packages Upgrade packages Apply security patch(s) Keep Debian system up to date Download source .deb files Front-end to many GUI and other utilities Here is quick cheat sheet you will find handy while using apt-get at shell prompt: {package} - Replace with actual pa...
changing the install status of another package will be left at their current version.Anupdate must be performed first so that apt-getknows thatnewversions of packages are available. dist-upgrade dist-upgradeinaddition to performing the function of upgrade,also intelligently handles changing dependencies...
So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages. install install is followed by ...
apt-getupdate;apt-getupgrade;apt-getdist-upgrade各自的作用 apt-getcommand cheat sheet for Debian Linuxapt-getis the command-line tool for handling packages for Debian Linux which is use to:Install/manage individual packagesUpgrade packagesApply security pa ...
apt-get - APT package handling utility -- command-line interface SYNOPSIS apt-get[-asqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {update | upgrade | dselect-upgrade | dist-upgrade | installpkg[{=pkg_version_number| /target_release}]... | re...
$>sudoapt-get installpackage-name To see the names of the packages you have installed from the MySQL APT repository, use the following command: $>dpkg-l| grep mysql | grep ii Note If you perform a system-wide upgrade usingapt-get upgrade, only the MySQL library and development packages ...
The dist-upgrade command may therefore remove some packages.The /etc/apt/sources.list file contains the list of locations from where package files will be retrieved. See also apt_preferences for a mechanism that overrides the general settings for individual packages. dselect-upgrade Used with the ...