ubuntu 18.04 LTS just released..

Moderators: odroid, mdrjr

ubuntu 18.04 LTS just released..

Unread postby abnoeh » Sat Apr 28, 2018 12:07 pm

can I update this in Debian way? (edit /etc/apt/source.list) kernel is new enough to support this.
http://deb.odroid.in/5422-s/dists has bionic folder and while http://ppa.launchpad.net/saiarcot895/myppa/ubuntu doesn't have bionic folder but only thing it has is apt-fast and collectd
abnoeh
 
Posts: 1
Joined: Fri Apr 27, 2018 8:09 pm
languages_spoken: english
ODROIDs: XU4

Re: ubuntu 18.04 LTS just released..

Unread postby odroid » Sat Apr 28, 2018 12:43 pm

We are preparing a new 18.04 LTS image for XU4/XU3 series now.
viewtopic.php?f=146&t=30769
It is right around the corner and will be released within a week.

We will also check a possible way to upgrade instead of fresh flashing.
User avatar
odroid
Site Admin
 
Posts: 27744
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: ubuntu 18.04 LTS just released..

Unread postby szafran » Sat Apr 28, 2018 11:17 pm

Great news.
Upgrade path for MATE flavour would also be very nice.
Best regards
Szafran
szafran
 
Posts: 17
Joined: Tue Feb 14, 2017 1:16 am
languages_spoken: english, polish
ODROIDs: XU4

Re: ubuntu 18.04 LTS just released..

Unread postby PowerBeef » Sun Apr 29, 2018 5:40 am

Will the gimp bug, libre office white icons and Welcome screen will be fixed? I've seen somewhere that Welcome screen have issues on arm but it's working flawlessly in Armbian.
PowerBeef
 
Posts: 2
Joined: Thu Mar 15, 2018 5:39 am
languages_spoken: English, French
ODROIDs: Xu4

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Tue May 01, 2018 10:56 pm

odroid wrote:We will also check a possible way to upgrade instead of fresh flashing.

On April 22nd, I upgraded by installing the "update-manager-core" package and then running "do-release-upgrade -d" (the "-d" was necessary as 18.04 was still in the development phase then). Everything went OK, but the kernel stayed 4.14.5-92. Is it possible to update to 4.15 now by installing the "linux-image-generic" package, or one must wait a bit? (Haven't tried it yet, lest I "break" something.)
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby mad_ady » Wed May 02, 2018 2:43 am

The kernel is custom and comes from hardkernel, not Ubuntu.
User avatar
mad_ady
 
Posts: 3660
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

Re: ubuntu 18.04 LTS just released..

Unread postby odroid » Wed May 02, 2018 11:36 am

Create odroid.list file in /etc/apt/sources.list.d.
Code: Select all
odroid@odroid:~$ cat /etc/apt/sources.list.d/odroid.list                       
deb http://deb.odroid.in/5422-s bionic main


And, update the system with "sudo apt update && sudo apt dist-upgrade".
You will have the latest LTS Kernel 4.14.37.
User avatar
odroid
Site Admin
 
Posts: 27744
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Wed May 02, 2018 3:35 pm

Thanks, I saw that this line was commented out by the upgrade system. Re-added it as you suggested, and then "sudo apt update" offered upgrading of the following 3 packages:
bootini/unknown 20180417-2 armhf [upgradable from: 20180116-39]
odroid-platform-5422/unknown 20180423-6 armhf [upgradable from: 20180226-17]
uboot/unknown 20180417-1 armhf [upgradable from: 20170824-9]

Upgraded them and rebooted. Everything went OK, but the kernel stayed the same – 4.14.5-92, with "sudo apt update" saying that all packages are up-to-date.
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby odroid » Wed May 02, 2018 3:42 pm

Try "sudo apt dist-upgrade".

Anyway, I will check the upgrade process tomorrow.
User avatar
odroid
Site Admin
 
Posts: 27744
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: ubuntu 18.04 LTS just released..

Unread postby tobetter » Wed May 02, 2018 8:50 pm

luchezar wrote:Thanks, I saw that this line was commented out by the upgrade system. Re-added it as you suggested, and then "sudo apt update" offered upgrading of the following 3 packages:
bootini/unknown 20180417-2 armhf [upgradable from: 20180116-39]
odroid-platform-5422/unknown 20180423-6 armhf [upgradable from: 20180226-17]
uboot/unknown 20180417-1 armhf [upgradable from: 20170824-9]

Upgraded them and rebooted. Everything went OK, but the kernel stayed the same – 4.14.5-92, with "sudo apt update" saying that all packages are up-to-date.

I guess a package needed to be updated to load up to date Linux kernel v4.14.37. You can download the package directly from http://deb.odroid.in/5422-s/pool/main/l/linux-source-4.14.37-130/linux-image-4.14.37-130_20180430_armhf.deb and install with dpkg. But it would be a good idea try later and install with sudo apt-distupgrade for sure.
tobetter
 
Posts: 2159
Joined: Mon Feb 25, 2013 10:55 am
Location: Kitchener, ON, Canada
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Thu May 03, 2018 12:09 am

Thanks! And what about http://deb.odroid.in/5422-s/pool/main/l/linux-odroid-5422/linux-odroid-5422_4.14.37-135_armhf.deb ? What is the difference between it and what you suggest (besides being 135 vs 130 and larger size)? It can also be installed with "sudo apt install linux-odroid-5422" and "apt show linux-odroid-5422" gives Mauro Ribeiro as the maintainer and describes it as "Linux kernel for ODROID boards based on Exynos 5422". However, the attempt to install it results in the following error:
Unpacking linux-odroid-5422 (4.14.37-135) ...
dpkg: error processing archive /var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb (--unpack):
trying to overwrite '/boot/exynos5422-odroidxu3-lite.dtb', which is also in package linux-image-4.14.5-92 20171211
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

After which I removed the residual /var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb file.

odroid wrote:Try "sudo apt dist-upgrade".

Same result. Nothing is upgraded.
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby tobetter » Thu May 03, 2018 12:27 am

luchezar wrote:Thanks! And what about http://deb.odroid.in/5422-s/pool/main/l/linux-odroid-5422/linux-odroid-5422_4.14.37-135_armhf.deb ? What is the difference between it and what you suggest (besides being 135 vs 130 and larger size)? It can also be installed with "sudo apt install linux-odroid-5422" and "apt show linux-odroid-5422" gives Mauro Ribeiro as the maintainer and describes it as "Linux kernel for ODROID boards based on Exynos 5422". However, the attempt to install it results in the following error:
Unpacking linux-odroid-5422 (4.14.37-135) ...
dpkg: error processing archive /var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb (--unpack):
trying to overwrite '/boot/exynos5422-odroidxu3-lite.dtb', which is also in package linux-image-4.14.5-92 20171211
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

After which I removed the residual /var/cache/apt/archives/linux-odroid-5422_4.14.37-135_armhf.deb file.

odroid wrote:Try "sudo apt dist-upgrade".

Same result. Nothing is upgraded.

As you see in the log, installation is failed due to a DTB file which is included in 4.14.5 package. You can try to install 4.14.37 after removing 4.14.5 package which might be risky. I'd recommend to wait a bit if it's not quite urgent. As I understand, the number 130 and 135 are the incremental build number by Mauro's build machine. Higher one is the latest.
tobetter
 
Posts: 2159
Joined: Mon Feb 25, 2013 10:55 am
Location: Kitchener, ON, Canada
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Thu May 03, 2018 1:05 am

I agree. It's better to wait for kernel version 4.15. As far as I understand, the "lunux-odroid-5422" and "linux-image" packages are incompatible with each other and one should deal with "linux-image" packages, not the "linux-odroid-5422" packages, whose role I don't understand yet.
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby tobetter » Thu May 03, 2018 1:08 am

luchezar wrote:I agree. It's better to wait for kernel version 4.15. As far as I understand, the "lunux-odroid-5422" and "linux-image" packages are incompatible with each other and one should deal with "linux-image" packages, not the "linux-odroid-5422" packages, whose role I don't understand yet.

These packages are maintained by Mauro, I believe he is going to figure out soon.
tobetter
 
Posts: 2159
Joined: Mon Feb 25, 2013 10:55 am
Location: Kitchener, ON, Canada
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Sat May 05, 2018 1:43 am

OK. Meanwhile, I see that the linux-image-4.14.37-130 package isn't included in http://deb.odroid.in/5422-s/dists/bionic/main/binary-armhf/Packages, unlike the linux-odroid-5422 package. Why not include it there too? Maybe it's not that simple as I imagine or there are reasons not to do so?
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby stevewi » Wed May 09, 2018 1:42 am

In https://forum.odroid.com/viewtopic.php?f=95&t=30888, one can read the following statement:

There is no way to upgrade from 16.04 to 18.04 smoothly at this moment.
We are trying to find a workaround now.


Any progress on this?
stevewi
 
Posts: 9
Joined: Fri Nov 10, 2017 2:28 am
languages_spoken: English
ODROIDs: HC1

Re: ubuntu 18.04 LTS just released..

Unread postby mdrjr » Wed May 09, 2018 2:04 am

Sort of, I have almost a good way to do it.. only Mali isn't working ATM..
mdrjr
Site Admin
 
Posts: 11663
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Thu May 17, 2018 2:52 am

Thanks! There is a version 4.14.40 kernel package at http://oph.mdrjr.net/meveric/pool/xu3/l/linux-4.14.40+/ by Tobias Schaaf. What's the difference between your kernels and his?
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby meveric » Thu May 17, 2018 4:46 am

I activate per default more gaming controller, and sound support, for example HK activated SND_SEQ recently on the 4.14 Kernel I have that ever since the first Kernel came out.
And I make a few other modifications that I think are useful you can compare the config on both to see the main differences.
I also make some small code changes to make sure certain hardware is better supported (Xin Mo devices for example are found as two separate controllers instead of a single one), but very rarely and also check for known security issues on older Kernels that might not have been patched by HardKernel.
As I use the same modifications for all Kernel of all boards that I have, these Kernels are closer to each other through out different boards, and provide the same capabilities throughout all boards.
I also provide working kernel-header packages for all boards so you can build your own DKMS modules, something that rarely worked in the past on images/kernels from HardKernel, although they fixed a few in the last couple weeks.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8642
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Fri May 18, 2018 12:32 am

Thanks! I added your *.list file to /etc/apt/sources.list.d/, and when I tried to install your "linux-image-4.14-armhf-odroid-xu4" meta-package, an error occured. So I understood that I need to remove my previous "linux-image-*" package. A scary warning urged me not to do so, but I went on anyway. When I did this, the installation of your kernel went OK. Then I did a reboot and... it worked! :)

On "sudo apt autoremove" I was told that the "kernel-common" package would be removed. Is it safe to do that?
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby meveric » Fri May 18, 2018 5:38 am

should be fine to remove.. on my Ubuntu 18.04 Laptop the package is not installed either and everything works fine.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8642
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Sat May 19, 2018 11:32 pm

OK. By the way, I think that I figured out the main difference between the "linux-image" and the "linux-odroid-5422" packages (e.g. between linux-image-4.14.40-131_20180514_armhf.deb and linux-odroid-5422_4.14.40-137_armhf.deb) that I was wondering about. This difference is that the "linux-odroid-5422" package includes also the headers.
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby ulfben » Mon May 21, 2018 7:26 am

mdrjr wrote:Sort of, I have almost a good way to do it.. only Mali isn't working ATM..


Is this happening? Would be great to be able to dist-upgrade the minimal Ubuntu 16.04 to 18.04.
ulfben
 
Posts: 88
Joined: Thu Jul 20, 2017 11:56 pm
languages_spoken: english
ODROIDs: XU4Q

Re: ubuntu 18.04 LTS just released..

Unread postby stevewi » Mon May 21, 2018 10:57 am

Would be great to be able to dist-upgrade the minimal Ubuntu 16.04 to 18.04.


Yes...it would be great! I'm waiting for news on that too. My HC1 is headless and has no X Windows stuff on it at all (except whatever minimal stubs/other stuff you might need).
stevewi
 
Posts: 9
Joined: Fri Nov 10, 2017 2:28 am
languages_spoken: English
ODROIDs: HC1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Mon May 21, 2018 4:24 pm

As far as I understand, Mauro was meaning that only the graphics (Mali) isn't working. So for a minimal Ubuntu on a XU4, HC1 or HC2, there shouldn't be any problems. Which I proved, by the way, as I managed to upgrade smoothly (see above).

By the way, how is porting the 4.15 kernel going? (Not that I'm impatient, just asking.)
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby meveric » Mon May 21, 2018 6:02 pm

luchezar wrote:By the way, how is porting the 4.15 kernel going? (Not that I'm impatient, just asking.)

4.14 is a LTS Kernel having several years of support 4.15 is already out of support, why would you want to port your system to an unsupported Kernel?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8642
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Tue May 22, 2018 12:56 am

Sorry, I asked that because I know that Ubuntu 18.04 LTS ships with 4.15 kernel. I wasn't aware that the term "LTS" (Long Time Support) relates not only to the Ubuntu versions, but also to the Linux kernels, and not every LTS release of Ubuntu automatically has an LTS kernel. (Such a mess in my head!) For the Ubuntu versions, I know that only the April releases in even year numbers are LTS and so only every 4th release is LTS. Is there a sumilar dependence or formula for the Linux kernel versions, or a table where one can look up whether a particular kernel version is LTS or not?
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby meveric » Tue May 22, 2018 1:07 am

you can check here if you want: https://en.wikipedia.org/wiki/Linux_ker ... y_releases
There are the official support cycles... as of Linux Kernel developers.
Some distros such as Ubuntu or RedHat might extend the support of certain Kernels for their own needs but this is then maintained by the developers of that linux version and no longer by the Kernel development team under Linus Torvalds.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8642
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby luchezar » Tue May 22, 2018 3:04 am

Thanks! I was surprised to find out that the life of the non-LTS kernels is only a few months. But I also saw that the last 3 LTS kernels are by 5 subversions apart (4.4–4.9–4.14). If this tendency goes on, the next LTS kernel will be 4.19. Last question – At what stage a particular kernel version is decided to be LTS or non-LTS?
luchezar
 
Posts: 12
Joined: Tue May 01, 2018 10:35 pm
Location: Varna, Bulgaria
languages_spoken: Bulgarian, Russian, English
ODROIDs: XU4, HC1

Re: ubuntu 18.04 LTS just released..

Unread postby mad_ady » Tue May 22, 2018 3:30 am

I think it is designated LTS from the beginning.
User avatar
mad_ady
 
Posts: 3660
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 4 guests