apt tam yükseltmeye karşı apt-get dist-upgrade

21

Adam sayfalarına uygun olarak:

  • apt parametresi full-upgrade değerine sahip
  • apt-get parametresinde dist-upgrade var.

Her ikisi de aynı komut mu?

btw: Ubuntu 16.04'te resmi olarak önerilen komut hangisidir? apt veya apt-get ?

    
sordu a903user 10.05.2016 10:01

1 cevap

13

apt full-upgrade , apt-get dist-upgrade işleviyle aynı işlevi gerçekleştirir.

erkek apt

   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.

adam 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.
    
verilen cevap schod 10.05.2016 10:11

Etiketlerdeki diğer soruları oku