ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.69k stars 1.83k forks source link

is the ubuntu 22.04 on the way ? #217

Closed lxf1992521 closed 2 years ago

lxf1992521 commented 2 years ago

I can't wait to taste ubuntu 22.04, 20.04 have some old software which few bugs make me uncomfortable.

ophub commented 2 years ago

It will be officially released in a month.

Currently supported are: RELEASE ( stretch | buster | bullseye | bionic | focal | hirsute )

https://docs.armbian.com/Developer-Guide_Build-Options/

JFLim1 commented 2 years ago

It will be officially released in a month.

Hi @ophub Ubuntu released Jammy Beta 2 days ago and if not mistaken the Official Armbian Branch do have Jammy Firmware image build.

Many TV Box users would be interested in your Jammy pre-built firmwares just like your pre-built Bullseye. Looking forward to your new Jammy and Bullseye pre-built firmwares. Thanks.

ophub commented 2 years ago

Add branch option for building armbian system: https://github.com/ophub/amlogic-s9xxx-armbian/commit/56508b4d36e4427d15ba2ecac6aa1c677b73d51d

Can be customized according to Armbian's official options: https://github.com/armbian/build/blob/master/config/targets.conf#L107

This is to call the upstream code for real-time compilation, as long as it can be compiled in the official configuration. Whether it can be compiled depends on the current situation of the upstream: Snip20220402_1

JFLim1 commented 2 years ago

Hi @ophub,

Noticed that you have pre-build Jammy firmware for Odroid N2. Would you also be building for S922X? Thanks.

ophub commented 2 years ago

have it This branch officially released the official version at the end of April. It is still a beta version. There may be many problems. Those who want to try it can test it.

JFLim1 commented 2 years ago

have it This branch officially released the official version at the end of April. It is still a beta version. There may be many problems. Those who want to try it can test it.

Hi @ophub

Thanks. Just a feedback.

Downloaded Armbian_22.05.0_Aml_s922x-reva_jammy_5.15.32_2022.04.03.1940.img.gz and installed on USB 8GB Flash drive and boot successfully on GT King Pro.

But all is not well. Updated and proceed to install Ubuntu-Desktop and unexpected results.

First tried to use tasksel method.

"sudo apt install taskel" not issue

"sudo tasksel install ubuntu-desktop" -- Nothing happened. Just return to terminal command prompt.

"sudo taskel" -- tried using tasksel GUI. Instead of Ubuntu Desktop Environment options listed I noticed "Debian Environment" options listed. So quit this option.

Next use "sudo apt install ubuntu-desktop" -- Consider this partial success as only File Manger (Nautilus), Gnome-Terminal and Vim Editor installed. Expected the complete Ubuntu-Desktop Apps, Firefox, LibreOffice, etc to be installed but it did NOT.

Tried to installed Firefox using "sudo apt install firefox" and also "sudo snap install firefox" both NOT successful.


jfl@armbian:~$ sudo apt install firefox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apparmor snapd squashfs-tools
Suggested packages:
  apparmor-profiles-extra apparmor-utils
The following NEW packages will be installed:
  apparmor firefox snapd squashfs-tools
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 20.5 MB of archives.
After this operation, 87.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ports.ubuntu.com jammy/main arm64 apparmor arm64 3.0.4-2ubuntu2 [569 kB]
Get:2 http://ports.ubuntu.com jammy/main arm64 squashfs-tools arm64 1:4.5-3 [156 kB]
Get:3 http://ports.ubuntu.com jammy/main arm64 snapd arm64 2.55.2+22.04 [19.7 MB]
Get:4 http://ports.ubuntu.com jammy/main arm64 firefox arm64 1:1snap1-0ubuntu2 [72.3 kB]             
Fetched 20.5 MB in 8s (2,622 kB/s)                                                                   
Preconfiguring packages ...
Selecting previously unselected package apparmor.
(Reading database ... 72939 files and directories currently installed.)
Preparing to unpack .../apparmor_3.0.4-2ubuntu2_arm64.deb ...
Unpacking apparmor (3.0.4-2ubuntu2) ...
Selecting previously unselected package squashfs-tools.
Preparing to unpack .../squashfs-tools_1%3a4.5-3_arm64.deb ...
Unpacking squashfs-tools (1:4.5-3) ...
Selecting previously unselected package snapd.
Preparing to unpack .../snapd_2.55.2+22.04_arm64.deb ...
Unpacking snapd (2.55.2+22.04) ...
Setting up apparmor (3.0.4-2ubuntu2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparm
or.service.
Setting up squashfs-tools (1:4.5-3) ...
Setting up snapd (2.55.2+22.04) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/syst
em/snapd.apparmor.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/sy
stem/snapd.autoimport.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.core-fixup.service → /lib/systemd/sy
stem/snapd.core-fixup.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /
lib/systemd/system/snapd.recovery-chooser-trigger.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service → /lib/systemd/system
/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service → /lib/systemd/syst
em/snapd.seeded.service.
Unit /lib/systemd/system/snapd.seeded.service is added as a dependency to a non-existent unit cloud-fi
nal.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.
service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.snap-repair.timer → /lib/systemd/system/
snapd.snap-repair.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.sock
et.
Created symlink /etc/systemd/system/final.target.wants/snapd.system-shutdown.service → /lib/systemd/sy
stem/snapd.system-shutdown.service.
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
Selecting previously unselected package firefox.
(Reading database ... 73230 files and directories currently installed.)
Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_arm64.deb ...
=> Installing the firefox snap
==> Checking connectivity with the snap store
==> Installing the firefox snap
2022-04-04T10:14:09+08:00 INFO Waiting for automatic snapd restart...
error: cannot perform the following tasks:
- Run configure hook of "firefox" snap if present (run hook "configure": cannot perform operation: umo
unt --no-follow /var/lib/snapd/hostfs//tmp/snap.rootfs_31Sjak: Invalid argument)
dpkg: error processing archive /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb (--unpack
):
 new firefox package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Install "epiphany-browser" successfully. Epiphany-Browser launch but doesn't work in the sense that it cannot display any webpage! Just blank.

Based on what I read, Ubuntu Jammy Beta should be usable albeit with some bugs but most basic apps works and Ubuntu-Desktops (Gnome 42) works.

ophub commented 2 years ago

jammy is not an official version, it was officially released at the end of April, and there are many unknown problems. My default firmware does not have a desktop, and the software package is included by default. Custom installed packages can search for solutions on their own. If you can't solve it, don't use it. The official version is relatively stable: focal and bullseye.

jammy has been deleted, there is no need to spend time on the beta version, you can wait for the official release for a while before using it.

If you want to experience your own fork build in advance, the firmware regularly calls the current source code of armbian to compile.

Generally speaking, you need to wait for ubuntu to release the official version first, and then transplant and adapt to armbian, which takes time. At present, many software packages have not been adapted to jammy.

JFLim1 commented 2 years ago

Hi @ophub Actually I got the basic Ubuntu-Gnome-Desktop working with "sudo apt install ubuntu-desktop" just that it was not what I expected.

Later I manage to install ubuntu-desktop-mininal with:

sudo apt install ubuntu-desktop-minimal^

The symbol ^ was the key it takes about 4 hours to get installed. It has all the core ubuntu-gnome apps but does not install any of the addition packages like Firefox, LibreOffice, etc.

Still could not install Firefox on Armbian-Jammy will search the web to see whether there is any guidance how to resolve this.

The Ubuntu Session (Wayland) on Jammy is responsive and smooth so far.

Thanks for building the Jammy pre-build firmware for us to test.

ophub commented 2 years ago

Just wait another month, it will be more perfect after the official release.

JFLim1 commented 2 years ago

Hi @ophub

Ubuntu Jammy will be officially released today if not mistaken.

Looking forward to your new Armbian-Jammy pre-build firmware.

Thank you.

ophub commented 2 years ago

Snip20220421_2

Tried packing one today

JFLim1 commented 2 years ago

Tried packing one today Hi @ophub Thanks. Looking forward to download your new pre-build Jammy firmware. I think it is still in-progress?

ophub commented 2 years ago

All right. After a week or two is stable, set Jammy as the default firmware

JFLim1 commented 2 years ago

@ophub Thank you.

JFLim1 commented 2 years ago

Hi @ophub

Installed Armbian_22.05.0_Aml_s922x-reva_jammy_5.15.35_2022.04.21.1658.img.gz successfully on USB flash drive.

image image

When perform "sudo apt update" I noticed it source from two sites or repo that I am not familiar with, namely: http://deb.volian.org/volian scar InRelease https://ryanfortner.github.io/box64-debs/debian ./ InRelease

Are these two repo from your original Jammy build source? Just wanted to check and also to confirm these repo are as you intended.

Thanks for your great support.

ophub commented 2 years ago

I didn't make any changes, this is the official default on armbian

https://github.com/armbian/build/blob/7928cdd76cb00ca4d6bb76af0b6fec6b18168114/config/cli/jammy/main/sources/apt/nala.source

JFLim1 commented 2 years ago

I didn't make any changes, this is the official default on armbian

https://github.com/armbian/build/blob/7928cdd76cb00ca4d6bb76af0b6fec6b18168114/config/cli/jammy/main/sources/apt/nala.source

@ophub

Thanks for confirming the repo are from Armbian original source.