apt full-upgrade versus apt-get dist-upgrade

21

De acuerdo con las páginas man:

  • apt tiene el parámetro full-upgrade
  • apt-get tiene el parámetro dist-upgrade .

¿Ambos son el mismo comando?

btw: ¿cuál es oficialmente el comando recomendado en Ubuntu 16.04? apt o apt-get ?

    
pregunta a903user 10.05.2016 - 08:01

1 respuesta

13

apt full-upgrade realiza la misma función que apt-get dist-upgrade .

hombre apto

   full-upgrade (apt-get(8))
       full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.

man apt-get

   dist-upgrade
       dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system,
       and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore 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.
    
respondido por el schod 10.05.2016 - 08:11

Lea otras preguntas en las etiquetas