

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. Packages currently installed with new versions available are retrieved and upgraded under no circumstances are currently installed packages removed, nor are packages that are not already installed retrieved and installed. Used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list (5). An update should always be performed before an upgrade or dist-upgrade.


The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list (5). Used to re-synchronize the package index files from their sources. If that doesn't work, then try re-building your sources.list using this tool: Ubuntu Sources List Generator Command Sudo apt -y upgrade & sudo apt autoremove -y Processing triggers for libc-bin (2.23-0ubuntu11). Processing triggers for man-db (2.7.5-1). Selecting previously unselected package libpcre2-8-0:amd64. Done The following additional packages will be installed: git-man libpcre2-8-0 Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn The following NEW packages will be installed: libpcre2-8-0 The following packages will be upgraded: git git-man.

Done Building dependency tree Reading state information. $ sudo apt-get install git -yes Reading package lists. $ sudo add-apt-repository ppa:git-core/ppa -yes -update gpg: keyring `/tmp/tmpk8m4os6a/secring.gpg' created gpg: keyring `/tmp/tmpk8m4os6a/pubring.gpg' created gpg: requesting key E1DF1F24 from hkp server gpg: /tmp/tmpk8m4os6a/trustdb.gpg: trustdb created gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
