This causes that specific version to be located and installed. These annotation features can override decisions made by apt-get's default conflict resolution system.Ī specific version of a package can be selected for installation by following the package name with an equals and the version of the package to select. Similarly, a plus sign can designate a package to install. If a hyphen is appended to the package name (with no intervening space), the identified package is removed if it's installed. The /etc/apt/sources.list file can locate the desired packages. All packages required by the package(s) specified for installation are also retrieved and installed. Packages are specified by their package name, not a fully qualified file name (for instance, in a Debian system, "apt-utils" would be the argument provided, not "apt-utils_0.9.7.7ubuntu4_b"). Installs one or more packages desired for installation or upgrading. dselect-upgrade follows the changes made by dselect to the Status field of available packages, and performs the actions necessary to achieve that state (for instance, the removal of old and the installation of new packages). Used in conjunction with the traditional Debian packaging front-end, dselect. See also apt_preferences for a mechanism that overrides the general settings for individual packages. The /etc/apt/sources.list file contains the list of locations from where package files will be retrieved. The dist-upgrade command may therefore remove some packages. In addition to performing the function of upgrade, dist-upgrade also intelligently handles changing dependencies with new versions of packages apt-get has a "smart" conflict resolution system, and it attempts to upgrade the most important packages at the expense of less important ones if necessary. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version.Īn update should always be performed first so that apt-get knows which new versions of packages are available. Under no circumstances are installed packages removed, or packages not already installed retrieved. If a package is currently installed and a new version is available, it is retrieved and upgraded. Installs the newest versions of all packages currently installed on the system, using the sources in /etc/apt/sources.list. The indexes are fetched from the location(s) specified in /etc/apt/sources.list.Īn update should always be performed before an upgrade or dist-upgrade. Resynchronizes the local index of packages files, updating information about new and updated packages that are available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |