Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

upgrade to 4.3

Started by ElQuia, April 02, 2016, 09:31:56 PM

Previous topic - Next topic

ElQuia

Will 4.2 be upgradeable to 4.3 final :o or will clean install be required?

pavroo

Never required, if you keep your installation up to date.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

ElQuia

OK, thanks. Yes all my sparky installs are up to date  8)

ElQuia

I see 4.3 is out. on my notebook install installation is up to date, full system upgrade done, apt get finds no more packages to upgrade.
uname -mrs gives me kernel as : Linux 4.4.0-1 - amd64 x86_64 NOT 4.5.1
cat /etc/*-release gives me:   ID Sparky, Release = 4, Codename=Tyche

Am I doing something wrong? ran system upgrade applet, ran apt-get update && apt-get dist-upgrade ....

pavroo

Make sure you have 'linux-image-amd64' meta package installed.
If so, you will always get a kernel update as default.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

ElQuia

apt-get install linux-image-amd64
linux-image-amd64 is already the newest version (4.5+72)
uname -msr
Linux 4.4.0-1-amd64 x86:64

ElQuia

this is physical intallation of 4.2 KDE on a dell
in VBox with a 4.2 LXQT on first dist-upgrade I got 4.5.1 kernel

pavroo

Do:
sudo apt-get update
and show me:
apt-cache policy linux-image*amd64*
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

ElQuia


root@sparkynetb:/home/pablo# apt-cache policy linux-image*amd64*
linux-image-4.0.0-2-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.0.8-2 0
        100 /var/lib/dpkg/status
linux-image-4.1.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.1.3-1 0
        100 /var/lib/dpkg/status
linux-image-4.4.0-1-amd64:
  Installed: 4.4.6-1
  Candidate: 4.4.6-1
  Version table:
*** 4.4.6-1 100
        100 /var/lib/dpkg/status
linux-image-4.1.0-2-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.1.6-1 0
        100 /var/lib/dpkg/status
linux-image-4.5.0-1-amd64-dbg:
  Installed: (none)
  Candidate: 4.5.1-1
  Version table:
     4.5.1-1 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
linux-image-4.5.0-1-amd64:
  Installed: 4.5.1-1
  Candidate: 4.5.1-1
  Version table:
*** 4.5.1-1 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-amd64:
  Installed: 4.5+72
  Candidate: 4.5+72
  Version table:
*** 4.5+72 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-4.2.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.2.6-1 0
        100 /var/lib/dpkg/status
linux-image-3.16.0-4-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     3.16.7-ckt11-1 0
        100 /var/lib/dpkg/status
linux-image-amd64-dbg:
  Installed: (none)
  Candidate: 4.5+72
  Version table:
     4.5+72 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
linux-image-4.3.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.3.5-1 0
        100 /var/lib/dpkg/status
root@sparkynetb:/home/pablo#
[Code]

pavroo

linux-image-4.5.0-1-amd64:
Installed: 4.5.1-1
Candidate: 4.5.1-1

Everything is fine, you have Linux kernel 4.5 installed.
Refresh grub list:
sudo update-grub
and reboot your machine, starting the system with the 4.5 kernel.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

ElQuia


root@sparkynetb:/home/pablo# apt-cache policy linux-image*amd64*
linux-image-4.0.0-2-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.0.8-2 0
        100 /var/lib/dpkg/status
linux-image-4.1.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.1.3-1 0
        100 /var/lib/dpkg/status
linux-image-4.4.0-1-amd64:
  Installed: 4.4.6-1
  Candidate: 4.4.6-1
  Version table:
*** 4.4.6-1 100
        100 /var/lib/dpkg/status
linux-image-4.1.0-2-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.1.6-1 0
        100 /var/lib/dpkg/status
linux-image-4.5.0-1-amd64-dbg:
  Installed: (none)
  Candidate: 4.5.1-1
  Version table:
     4.5.1-1 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
linux-image-4.5.0-1-amd64:
  Installed: 4.5.1-1
  Candidate: 4.5.1-1
  Version table:
*** 4.5.1-1 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-amd64:
  Installed: 4.5+72
  Candidate: 4.5+72
  Version table:
*** 4.5+72 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-4.2.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.2.6-1 0
        100 /var/lib/dpkg/status
linux-image-3.16.0-4-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     3.16.7-ckt11-1 0
        100 /var/lib/dpkg/status
linux-image-amd64-dbg:
  Installed: (none)
  Candidate: 4.5+72
  Version table:
     4.5+72 500
        500 http://ftp.debian.org/debian testing/main amd64 Packages
linux-image-4.3.0-1-amd64:
  Installed: (none)
  Candidate: (none)
  Version table:
     4.3.5-1 0
        100 /var/lib/dpkg/status
root@sparkynetb:/home/pablo#

ElQuia


root@sparkynetb:/home/pablo# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found background image: /opt/artwork/sparky-grub.png
Found linux image: /boot/vmlinuz-4.5.0-1-amd64
Found initrd image: /boot/initrd.img-4.5.0-1-amd64
Found linux image: /boot/vmlinuz-4.4.0-1-amd64
Found initrd image: /boot/initrd.img-4.4.0-1-amd64
Found Windows 10 (loader) on /dev/sda1
Found Ubuntu 14.04.4 LTS (14.04) on /dev/sdb2
done
root@sparkynetb:/home/pablo# uname -msr
Linux 4.4.0-1-amd64 x86_64
root@sparkynetb:/home/pablo# ^C
root@sparkynetb:/home/pablo#

pavroo

#12
You have to reboot your machine and choose Linux kernel 4.5 if it doesn't launch the upper one from grub list.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

ElQuia

OK. I think we may have a problem, I am triple booting this notebook: windows , sparky KDE and LXLE (ubuntu based), Windows on one  HDD, both linuxes on other (dual hdd notebook by dell). Will have to investigate some more, Multiboot by Easy BCD
Just rebooted:
pablo@sparkynetb:~$ uname -mrs
Linux 4.4.0-1-amd64 x86_64
pablo@sparkynetb:~$


pavroo

If you installed LXLE after Sparky, run LXLE and run:
sudo update-grub

Otherwise, if you are on Sparky now, you can run Synaptic, search 'grub' package, mark all 4 installed grub packages to re-install, then reinstall them.

Both operations will update/refresh grub correctly.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

View the most recent posts on the forum