
apt - "The following packages have been kept back:" Why and …
To my knowledge, there are 3 categories of reasons for packages being kept back during apt upgrade. 1) It is marked as held back. apt-mark can do this: sudo apt-mark hold <package> …
Can I rollback an apt-get upgrade if something goes wrong?
Thus the need for a rollback. The short answer - you could use the following command: if it does what you want remove the -s (aka --dry-run) and run it again. Here are the steps I took to get …
How can I undo or rollback an "apt-get upgrade" command on …
Jun 14, 2012 · When using Debian there is a tool apt-revert where you have a CLI to select which apt call should be reverted. This can, of course, only work in general, if all old package …
How To rollback an apt-get/apt upgrade on Debian/Ubuntu Linux - nixCraft
Jan 19, 2016 · My misadventures on Debian/Ubuntu Linux created a messy situation. Here is how applied rollback to an apt-get upgrade.
apt-get hold back packages on Ubuntu / Debian Linux - nixCraft
Aug 5, 2020 · Explain how to hold back (blacklist) packages on an Ubuntu / Debian Linux to prevent updating a specific package when using apt/apt-get.
Snapshot and rollback of apt-installed packages - Ask Ubuntu
Feb 26, 2020 · Is there a way to take a snapshot of the packages installed with apt/apt-get on a Debian/Ubuntu system, and to roll back to that snapshot later? My use case is the following: …
What is the correct way to downgrade apt package and …
Oct 9, 2019 · apt refuses to downgrade packages which you already have installed, unless you ask to do it explicitly. One way to do this, as you found out, is to specify each version manually …
Forcing Installation of Held-Back Packages in Ubuntu/Debian
Sep 20, 2023 · $ sudo apt install unattended-upgrades $ sudo dpkg-reconfigure unattended-upgrades; Forcing a specific package upgrade: If you want to manually override the kept back …
How to fix apt’s “the following packages have been kept back” …
Mar 1, 2021 · Jack Wallen shows you how to get around an apt issue that, if handled incorrectly, could cause you problems down the road. Have you ever run sudo apt-get upgrade, only to be …
Linux apt-mark command - Computer Hope
May 4, 2019 · Using apt-mark, you can change how a package is marked, protecting it from (or making it eligible for) auto-removal. If a package is marked "hold", it is held back: The package …