![]() These are mainly just issues reported by our customers so you’ll want to monitor the debian-announce mailing list for more comprehensive information, and the lists of any third party packages you will install. Remove old and unused packages: sudo apt-get autoremoveīelow are some known issues you may encounter when upgrading Debian. Your Linode is now running the newest version of Debian Stable. Monitor the Linode’s console output for errors as the system shuts down and reboots. Reboot your system when the upgrade completes. Once the minimal upgrade above is completed, start the main upgrade: sudo apt dist-upgrade Errors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) See the troubleshooting section of this page to fix before proceeding further. ![]() If your system is running Fail2ban, the upgrade will end with the error shown below. N or O : keep your currently-installed versionĭ : show the differences between the versions Y or I : install the package maintainer's version What would you like to do about it ? Your options are: => Package distributor has shipped an updated version. => Modified (by you or by a script) since installation. An example: Configuration file '/etc/mysql/my.cnf' GRUB is not needed in your disk MBR because your Linode boots from a GRUB installation provided by Linode’s host servers.ĭuring the upgrade process, you’ll be prompted to review configuration files which you’ve modified to decide whether to keep or replace them with the upstream default file. Further prompts about installing GRUB should be answered with installing to /dev/sda, then Continue without installing GRUB. The example of upgrading from Debian 8 (Jessie) to Debian 9 (Stretch) is used below, so jessie is changed to stretch (or, alternatively from jessie to stable).Ĭhoose Keep the local version currently installed. View all currently running services: sudo systemctl list-units -state=runningĮdit your sources.list file to change all instances of the current codename to the new release codename. You can view all enabled services with: sudo systemctl list-unit-files -state=enabled To stop a service, enter the following command, replacing mariadb with the name of the service you want to stop: sudo systemctl stop mariadb This would be to ensure a graceful shutdown of the service to prevent data loss or system locks from causing problems. You may want to stop services which are non-essential to the system but important to your setup, such as a database service. If you’ve set APT to pin any packages to a specific Debian version other than stable, You’ll need to disable APT pinning for those packages if you want them upgraded to those offered in the newest release. Install all available updates for your current Debian system: sudo apt update & sudo apt upgrade Lish will give you continuous access to your Linode whereas SSH could disconnect during the upgrade. We recommend you use the distribution-supplied kernel unless you have a specific reason not to.Įxit the SSH session if you’re currently logged in to one and instead open a Lish session to your Linode. Verify that you are booting with Debian’s kernel using the GRUB 2 boot setting in the Linode Cloud Manager. See our backup guides for more information. ![]() You may also want to back up your configuration files (usually located in /etc/) in case they have changed in later versions of the software you are using. This is the safest option and you can still manually upgrade to a newer Debian codename or release status name at any time. On the other hand, if you’re currently tracking repositories by codename, as Debian does by default, you will never upgrade beyond that codename release. For example, if you’re tracking the stable release of Debian 8 and it reaches its end of life, your system will make available a number of new packages which will upgrade you to Debian 9. When exclusively tracking the stable releases with APT, your system will upgrade whenever the stable release reaches its end of life. Linode offers Debian’s stable and oldstable releases. Debian stable releases are eventually managed by the Debian Long Term Support (LTS) team for a total lifespan of about 5 years. For example, Debian 9 Stretch is the stable release at the time of this writing the status of Debian 8 (Jessie) is oldstable. Debian repositories can be tracked either by codename (Wheezy, Jessie, etc.), or by status name (stable, testing, etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |