Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

Upgrade v.4.9 to 5.7.1 ?

Started by piotrfr, April 24, 2019, 09:55:32 AM

Previous topic - Next topic


Hello all

Is it possible to upgrade from the version "Linux 4.9.0-8-amd64 # 1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU / Linux" to the latest, version 5.7.1 ?

I would like to know if I can make this Sparky system update without "losing" my entire configuration?
thanks for the help and the answers to come

have a good day

bonjour à toutes et tous

Est-il possible de passer de la version "Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU/Linux" à la dernière, version 5.7.1 ?

J'aimerais savoir si je peux faire cette mise à jour du système Sparky sans "perdre" tout ma configuration ?

merci pour l'aide et les réponses à venir

bonne journée


Short answer is yes, you very well might upgrade.  It will involve editing some items in /etc/apt/sources.list     and also editing some files in /etc/apt/sources.list.d/

There are version numbers for Distributions, i.e. Sparky, Debian, Ubuntu.  Sparky rolling is 5.7, the seventh update Sparky 5 (I believe 7th upgrade.)  Stable Sparky is at 4.9.2

The kernel for all of linux has version numbers now also.  The standard kernel versions for Sparky 4 (stable) and Sparky 5 (rolling, following Debian Testing) is about 4.19 depending on  what you are following.  I believe Debian stable is at 4.09, which is not that old.

The kernels have just changed to version 5, you can find kernels of 5.01, 5.02 and 5.03 around.  The writer of the first linux kernel and still very involved decades later stated that there is not a big difference between the the last 4.x kernels and the new 5.0x kernels.  It was just a good time to change. 

Many believe that for older motherboards, cpu's, and especially certain video cards, etc. , that there is not a huge reason to go to newer kernels unless you need or really want a specific function.

Newer hardware will often benefit or even need newer kernels. 

One request.  If you have not installed it, please install "inxi"  and then from a terminal post the output of
"inxi -Fxx"

Also helpful would be to post your /etc/apt/sources.list   files contents.   Please mark up as code via the # button

Examples follow
root@raunes:/etc/apt# inxi -Fxx
System:    Host: raunes Kernel: 4.15.0-0.bpo.2-amd64 x86_64 (64 bit gcc: 6.3.0) Desktop: N/A dm: lightdm
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop System: Gigabyte product: H81M-S2H GSM Chassis: type: 3
           Mobo: Gigabyte model: H81M-S2H GSM v: x.x UEFI: American Megatrends v: F2 date: 08/11/2015
Battery    hidpp__0: charge: N/A condition: NA/NA Wh volts: NA
           model: Logitech Wireless Mouse M215 2nd Gen serial: 401b-3c-fd-bf-a9 status: Discharging
CPU:       Dual core Intel Core i3-4170 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14766
           clock speeds: min/max: 800/3700 MHz 1: 1069 MHz 2: 1182 MHz 3: 1107 MHz 4: 1025 MHz
Graphics:  Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:041e
           Display Server: 1.19.2 driver: intel tty size: 271x67 Advanced Data: N/A for root
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0c0c
           Sound: Advanced Linux Sound Architecture v: k4.15.0-0.bpo.2-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 40:8d:5c:72:9d:65
Drives:    HDD Total Size: 2508.5GB (22.7% used)
           ID-1: /dev/sda model: CT500MX500SSD1 size: 500.1GB serial: 1905E1E7D8CB temp: 35C
           ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB serial: Z4Z53REP temp: 34C
           ID-3: USB /dev/sdc model: USB_Flash_Drive size: 8.0GB serial: 930049D214FFFF45-0:0 temp: 0C
Partition: ID-1: / size: 9.1G used: 8.0G (94%) fs: ext4 dev: /dev/dm-0
           ID-2: /boot size: 237M used: 183M (82%) fs: ext2 dev: /dev/sdb2
           ID-3: /home size: 1.5T used: 510G (37%) fs: ext4 dev: /dev/dm-2
           ID-4: swap-1 size: 12.88GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 202 Uptime: 20:29 Memory: 3298.5/11471.2MB
           Init: systemd v: 232 runlevel: 5 Gcc sys: 6.3.0 alt: 5
           Client: Shell (bash 4.4.121 running in server) inxi: 2.3.5

Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.


hello to you Paxmark1
and of course thank you for your help and your explanations!
Super interesting! the story is that I downloaded the latest live versions of sparky and during testing, I realized that my browser (waterfox) had no problem with these latest versions ... Selling sites that refuse basket, etc ..., saying that my browser is too old? With the new versions of sparky it works, hence my idea to think that it is not waterfox that is "too old" but can be the system ... seeing what you explain, that's not it either!

thanks again for your help have a good day

salut à toi Paxmark1
et bien sur grand merci pour ton aide et tes explications !
Super intéressant !
l'histoire est que j'ai téléchargé les dernieres versions live de sparky et lors des tests, je me suis rendu compte que mon navigateur (waterfox) n'avait plus de souci avec ces dernieres versions...
Sites de vente qui refuse les mises au panier, etc..., soit disant que mon navigateur est trop vieux ?
Avec les nouvelles versions de sparky cela fonctionne, d'où mon idée de penser que ce n'est pas waterfox qui est "trop vieux" mais peut etre le systeme...
vu ce que tu expliques, ce n'est pas cela non plus !

encore grand merci pour ton aide
bonne journée

View the most recent posts on the forum