[SOLVED] 2 questions - How do i find the version i`m using & can upgrade be done w/o new install
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2 questions - How do i find the version i`m using & can upgrade be done w/o new install
2 questions - How do i find the version of debian i`m using & can upgrade be done w/o new install / Remember folk`s i`m a newbie just learning & getting used to linux. Very happy with Linux so far though.
For the second you edit the /etc/apt/sources.list file to change the version you want.
Code:
root@haswell:/home/seeder1# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 NETINST 20190427-10:30]/ stretch main
#deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 NETINST 20190427-10:30]/ stretch main
deb http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
# stretch-backports, previously on backports.debian.org
deb http://ftp.de.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-backports main contrib non-free
# For SAB
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu bionic main
deb-src http://ppa.launchpad.net/jcfp/ppa/ubuntu bionic main
For my file I would change the stretch to buster then apt-get update and apt-get dist-upgrade. The first to get the new packages then second to install and of course a reboot all commands run as root in terminal.
For the second you edit the /etc/apt/sources.list file to change the version you want.
Code:
root@haswell:/home/seeder1# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 NETINST 20190427-10:30]/ stretch main
#deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official amd64 NETINST 20190427-10:30]/ stretch main
deb http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
# stretch-backports, previously on backports.debian.org
deb http://ftp.de.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-backports main contrib non-free
# For SAB
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu bionic main
deb-src http://ppa.launchpad.net/jcfp/ppa/ubuntu bionic main
For my file I would change the stretch to buster then apt-get update and apt-get dist-upgrade. The first to get the new packages then second to install and of course a reboot all commands run as root in terminal.
This is very confusing to me / All i want to do is UpDate to the current version "Buster 10.3" i only want the official debian site debian.org / ReMember only UpGrade to current version not a clean install / I want to keep what i have on it now. Thank`s also / REmember i`m a newbie so go easy on me.
This is very confusing to me / All i want to do is UpDate to the current version "Buster 10.3" i only want the official debian site debian.org / ReMember only UpGrade to current version not a clean install / I want to keep what i have on it now. Thank`s also / REmember i`m a newbie so go easy on me.
First open a terminal, enter this command, and post the results:
Code:
cat /etc/debian_version
If you get 10.something then you're already on Buster and don't need to change your sources.list file.
If you get 9.something you need to change your sources.list from Stretch to Buster.
If you get a lower number, you need to upgrade each major version incrementally.
But again, before worrying about sources.list, post the version you're on from the above command.
First open a terminal, enter this command, and post the results:
Code:
cat /etc/debian_version
If you get 10.something then you're already on Buster and don't need to change your sources.list file.
If you get 9.something you need to change your sources.list from Stretch to Buster.
If you get a lower number, you need to upgrade each major version incrementally.
But again, before worrying about sources.list, post the version you're on from the above command.
Ok, thank`s i`ll get back to you later with the result.
Sorry for taking so long but it returned debian 10.2
Newest version ?
That means you're on Buster, but there was a v10.3 released as couple of weeks back - (you can see that at https://www.debian.org/ if you scroll down to news section).
Since you're already on a Buster (10.x) release, it means you do not need to change your sources.list
You just need to run the relevant apt commands to update your local package lists then upgrade your distribution.
That means you're on Buster, but there was a v10.3 released as couple of weeks back - (you can see that at https://www.debian.org/ if you scroll down to news section).
Since you're already on a Buster (10.x) release, it means you do not need to change your sources.list
You just need to run the relevant apt commands to update your local package lists then upgrade your distribution.
Seems easy enough for debian but the packages already installed can they be updated in a batch or individual ? I installed very little extra packages 4-5 at most the rest are default.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.