Giter VIP home page Giter VIP logo

upgrade_debian's Introduction

upgrade_debian

mod for upgrade debian

First, ensure your system is up-to-date in it's current release.

$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get full-upgrade

If you haven't already, ensure all backups are up-to-date.

In a text editor, replace the codename of your release with that of the next release in APT's package sources

For instance, the line

should be replaced with

$ sudo nano /etc/apt/sources.list /etc/apt/sources.list.d/*

If you are migrating to Bookworm or later, then a new repo for non-free firmware is available.

If you wish, you can add non-free and non-free-firmware, depending on your specific needs.

For instance, the line

deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

or

deb https://deb.debian.org/debian/ stable main contrib non-free non-free-firmware

Clean and update package lists

$ sudo apt-get clean $ sudo apt-get update

Perform the major release upgrade, removing packages if required

Interrupting this step after downloading has completed is an excellent way to stress-test your backups

$ sudo apt-get upgrade $ sudo apt-get full-upgrade

Remove packages that are not required anymore

Be sure to review this list: you may want to keep some of them

$ sudo apt-get autoremove

Reboot to make changes effective (optional, but recommended)

$ sudo shutdown -r now

upgrade_debian's People

Contributors

shadowruge avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.