Ubuntu upgrade or update a single package using apt-get

$ sudo apt update The apt update command not just update the repository index but also tells if and how many new versions of the software are available in the repository. Let us see some more apt commands which replaced the apt-get. To view these commands, you can type apt help or visit the apt man page by typing apt man in the Terminal. linux - apt-get update not working in parrot OS - Stack sudo apt-get --download-only --reinstall install resolvconf sudo dpkg --purge --force-depends resolvconf sudo apt-get install resolvconf Good luck! it worked for me. P.S. Dont do while logged as root What is Apt-get upgrade and dist-upgrade - Linux Hint

command line - What does "sudo apt-get update" do? - Ask

apt-get is the command-line tool for handling packages for Debian Linux which is use to: Install/manage individual packages. Upgrade packages. Apply security patch(s) Keep Debian system up to date. Download source .deb files. Has many GUI and other utilities as front-ends.

Use apt-get to fix missing and broken packages – Linux Hint

Jan 30, 2014 command line - how to update an individual app through An update must be performed first so that apt-get knows that new versions of packages are available. 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.