But the package lists tell apt that there are no new versions of the software that's installed on your system, and so there's nothing to upgrade. What you are seeing is apt fetching package lists from the repositories. That doesn't mean that there are packages that can be updated (as the last line explicitly says). Get:12 cosmic-backports/universe amd64 Packages Get:11 cosmic-updates/main amd64 Packages This way, it deletes the previous one and installs the latest from scratch. Switch your upgrade settings from LTS only to 'normal'. Ensure your current installation is updated. If at all practical, ensure that you are connected to the Internet via a wired connection. Get:10 cosmic-updates/universe amd64 Packages I have to run this sudo apt-get -f install then sudo apt-get -f install gradle. You will need to: Ensure your laptop is connected to power. Get:9 cosmic-updates/multiverse amd64 Packages Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.If your apt-get update looks like this: Hit:1 cosmic InRelease In this case, make the one that makes the most sense to you. Since this is Linux, you always have choices. Which route you take will depend on if you want to add more software into the mix or do things manually. This command will not remove any packages unless they are unused and will install the kept-back software.Įither route you take, you’ll get those kept-back packages installed. That command will install those packages and any dependencies they require.Ī second option is to install aptitude with: sudo apt-get install aptitude -yĪlso use the safe-upgrade command, as in: sudo aptitude safe-upgrade You could install those packages manually with the command: sudo apt-get install base-files sosreport ubuntu-server Say you have packages base-files, sosreport, and ubuntu-server being kept back. The first method would be to manually install the packages listed as kept back. SEE: Linux file and directory management commands (TechRepublic Premium) There are a couple of ways to resolve this issue. It’s an issue that can be tricky to resolve, but not really. apt-get upgrade is low-risk and you can pretty much do it without paying attention, whereas apt-get dist-upgrade might occasionally remove a program that you rely on, especially if you haven't taken care to mark all t. However, that can be dangerous, as it may remove packages to resolve rather complex dependency problems. The idea is that apt-get upgrade only upgrades individual packages, whereas apt-get dist-upgrade upgrades the whole distribution. Of course, you can always get around that by issuing the following command: sudo apt-get dist-upgrade In other words, it’s a precaution to prevent upgrades from breaking. Open source: Must-read coverageĦ Best Linux project management software in 2023Ħ best open-source kanban boards for managing projects in 2023Ħ Best Free Alternatives to Microsoft Word (2023 Update) Have you ever run sudo apt-get upgrade, only to be told there are packages that will be kept back? What this warning means is that the dependencies have changed on one of the software packages you have installed, and if upgrading that dependency would cause problems with the standard upgrade, the dependency in question is kept back.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |