Jump to content

luisfmrosa

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by luisfmrosa

  1. On 8/1/2022 at 9:31 PM, Igor said:


    Because software support is difficult, complex and expensive :huh: I am glad you noticed the critical difference and get it sorted out.

     

    What if what we as users of free software got is already beyond reasonable?

    https://docs.armbian.com/User-Guide_FAQ/#why-is-armbian-constantly-asking-for-money-free-software-should-be-free

    Igor, really sorry, I didn't mean to be rude. This error with ZFS really put me out of my comfort zone! But thanks to this forum, all is solved now.

  2. Hello,

     

    ==> UPDATE: I finally managed to fix the issue by moving away from current kernel and installing the edge one:

    • on armbian-config, install "edge" kernel (5.17.5-meson64)
    • install manually the kernel header (armbian-config only install "current" kernel header, i.e., 5.10.*): sudo apt install linux-headers-edge-meson64
    • sudo apt remove zfs-dkms
    • sudo apt install zfs-dkms
    • sudo apt install zfsutils-linux

    Then I managed to recover my zfs pool with:

    • sudo zpool import -f mypool
    • sudo zpool upgrade mypool

    Now it's working again! 🥰

     

    It's me again. I have been busy since my last attempt to fix my ZFS issues, but now I found some time to start from zero:

     

    1. grabbed the latest version from https://redirect.armbian.com/odroidhc4/Jammy_current,
    2. installed on my SD card with Balena Etcher,
    3. and recreated my system from zero.

     

    I installed the kernel headers with armbian-config, as it was not activated by default, and then, I followed the same steps as described above in @Igor's post:

     

    Spoiler
    odroidhc4:~:% sudo apt update
    [sudo] password for luis: 
    Hit:1 http://ports.ubuntu.com jammy InRelease
    Get:2 http://ports.ubuntu.com jammy-security InRelease [110 kB]             
    Get:3 http://ports.ubuntu.com jammy-updates InRelease [114 kB]              
    Get:5 http://ports.ubuntu.com jammy-backports InRelease [99.8 kB]           
    Get:7 http://deb.volian.org/volian scar InRelease [15.5 kB]                 
    Get:4 https://ryanfortner.github.io/box64-debs/debian ./ InRelease [2,115 B]
    Get:6 https://armbian.site-meganet.com/apt jammy InRelease [22.0 kB]        
    Get:8 http://ports.ubuntu.com jammy-security/restricted arm64 Packages [61.7 kB]
    Get:9 http://ports.ubuntu.com jammy-security/universe arm64 Packages [108 kB]
    Get:10 http://ports.ubuntu.com jammy-security/main armhf Packages [176 kB]
    Get:11 http://ports.ubuntu.com jammy-security/main arm64 Packages [269 kB]
    Get:12 http://ports.ubuntu.com jammy-security/universe armhf Packages [67.5 kB]
    Get:13 http://ports.ubuntu.com jammy-updates/universe armhf Packages [193 kB]
    Get:14 http://ports.ubuntu.com jammy-updates/multiverse arm64 Packages [1,250 B]
    Get:15 http://ports.ubuntu.com jammy-updates/main armhf Packages [462 kB]
    Get:16 http://ports.ubuntu.com jammy-updates/restricted arm64 Packages [81.1 kB]
    Get:17 http://ports.ubuntu.com jammy-updates/universe arm64 Packages [234 kB]
    Get:18 http://ports.ubuntu.com jammy-updates/main arm64 Packages [580 kB]
    Get:19 http://ports.ubuntu.com jammy-updates/multiverse armhf Packages [1,019 B]
    Get:20 http://ports.ubuntu.com jammy-backports/universe armhf Packages [5,807 B]
    Get:21 http://ports.ubuntu.com jammy-backports/universe arm64 Packages [5,812 B]
    Get:22 http://deb.volian.org/volian scar/main arm64 Packages [4,076 B]
    Get:23 http://deb.volian.org/volian scar/main armhf Packages [4,077 B]
    Get:24 https://ryanfortner.github.io/box64-debs/debian ./ Packages [6,887 B]
    Get:25 https://armbian.site-meganet.com/apt jammy/main arm64 Packages [381 kB]
    Get:26 https://armbian.site-meganet.com/apt jammy/jammy-desktop armhf Packages [14.3 kB]
    Get:27 https://armbian.site-meganet.com/apt jammy/main armhf Packages [230 kB]
    Get:28 https://armbian.site-meganet.com/apt jammy/jammy-utils armhf Packages [25.4 kB]
    Get:29 https://armbian.site-meganet.com/apt jammy/jammy-utils arm64 Packages [26.5 kB]
    Get:30 https://armbian.site-meganet.com/apt jammy/jammy-desktop arm64 Packages [59.4 kB]
    Fetched 3,361 kB in 2s (1,844 kB/s)                           
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    50 packages can be upgraded. Run 'apt list --upgradable' to see them.
    odroidhc4:~:%

     

     

     

    Then started apt upgrade:

     

    Spoiler
    odroidhc4:~:% sudo apt upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      apt apt-utils base-files dirmngr git git-man gnupg gnupg-l10n gnupg-utils
      gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv
      isc-dhcp-client libapt-pkg6.0 libc-bin libc-dev-bin libc6 libc6-dev
      libgstreamer1.0-0 libnetplan0 libnss-myhostname libpam-systemd
      libpython3.10 libpython3.10-minimal libpython3.10-stdlib libssl-dev
      libssl3 libsystemd0 libtirpc-common libtirpc-dev libtirpc3 libudev1
      locales netplan.io openssl python-apt-common python3-apt python3-gi
      python3-jwt python3.10 python3.10-minimal systemd systemd-sysv udev
      wireless-regdb
    50 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 39.1 MB of archives.
    After this operation, 4,096 B disk space will be freed.
    Do you want to continue? [Y/n] Y
    Get:1 http://ports.ubuntu.com jammy-updates/main arm64 libc6-dev arm64 2.35-0ubuntu3.1 [1,544 kB]
    Get:2 http://ports.ubuntu.com jammy-updates/main arm64 libc-dev-bin arm64 2.35-0ubuntu3.1 [19.6 kB]
    Get:3 http://ports.ubuntu.com jammy-security/main arm64 libtirpc-common all 1.3.2-2ubuntu0.1 [7,766 B]
    Get:4 http://ports.ubuntu.com jammy-security/main arm64 libtirpc-dev arm64 1.3.2-2ubuntu0.1 [199 kB]
    Get:5 http://ports.ubuntu.com jammy-security/main arm64 libtirpc3 arm64 1.3.2-2ubuntu0.1 [82.4 kB]
    Get:6 http://ports.ubuntu.com jammy-updates/main arm64 libc6 arm64 2.35-0ubuntu3.1 [2,706 kB]
    Get:7 http://ports.ubuntu.com jammy-updates/main arm64 base-files arm64 12ubuntu4.2 [62.6 kB]
    Get:8 http://ports.ubuntu.com jammy-updates/main arm64 libc-bin arm64 2.35-0ubuntu3.1 [600 kB]
    Get:9 http://ports.ubuntu.com jammy-updates/main arm64 systemd-sysv arm64 249.11-0ubuntu3.4 [10.5 kB]
    Get:10 http://ports.ubuntu.com jammy-updates/main arm64 libpam-systemd arm64 249.11-0ubuntu3.4 [205 kB]
    Get:11 http://ports.ubuntu.com jammy-updates/main arm64 libsystemd0 arm64 249.11-0ubuntu3.4 [312 kB]
    Get:12 http://ports.ubuntu.com jammy-updates/main arm64 systemd arm64 249.11-0ubuntu3.4 [4,420 kB]
    Get:13 http://ports.ubuntu.com jammy-updates/main arm64 udev arm64 249.11-0ubuntu3.4 [1,541 kB]
    Get:14 http://ports.ubuntu.com jammy-updates/main arm64 libudev1 arm64 249.11-0ubuntu3.4 [73.7 kB]
    Get:15 http://ports.ubuntu.com jammy-security/main arm64 libssl-dev arm64 3.0.2-0ubuntu1.6 [2,294 kB]
    Get:16 http://ports.ubuntu.com jammy-security/main arm64 libssl3 arm64 3.0.2-0ubuntu1.6 [1,772 kB]
    Get:17 http://ports.ubuntu.com jammy-updates/main arm64 libapt-pkg6.0 arm64 2.4.6 [866 kB]
    Get:18 http://ports.ubuntu.com jammy-updates/main arm64 apt arm64 2.4.6 [1,344 kB]
    Get:19 http://ports.ubuntu.com jammy-updates/main arm64 apt-utils arm64 2.4.6 [205 kB]
    Get:20 http://ports.ubuntu.com jammy-security/main arm64 gpg-wks-client arm64 2.2.27-3ubuntu2.1 [61.4 kB]
    Get:21 http://ports.ubuntu.com jammy-security/main arm64 dirmngr arm64 2.2.27-3ubuntu2.1 [289 kB]
    Get:22 http://ports.ubuntu.com jammy-security/main arm64 gnupg-utils arm64 2.2.27-3ubuntu2.1 [304 kB]
    Get:23 http://ports.ubuntu.com jammy-security/main arm64 gpg-wks-server arm64 2.2.27-3ubuntu2.1 [56.8 kB]
    Get:24 http://ports.ubuntu.com jammy-security/main arm64 gpg-agent arm64 2.2.27-3ubuntu2.1 [204 kB]
    Get:25 http://ports.ubuntu.com jammy-security/main arm64 gpg arm64 2.2.27-3ubuntu2.1 [506 kB]
    Get:26 http://ports.ubuntu.com jammy-security/main arm64 gpgconf arm64 2.2.27-3ubuntu2.1 [92.5 kB]
    Get:27 http://ports.ubuntu.com jammy-security/main arm64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB]
    Get:28 http://ports.ubuntu.com jammy-security/main arm64 gnupg all 2.2.27-3ubuntu2.1 [315 kB]
    Get:29 http://ports.ubuntu.com jammy-security/main arm64 gpgsm arm64 2.2.27-3ubuntu2.1 [192 kB]
    Get:30 http://ports.ubuntu.com jammy-security/main arm64 gpgv arm64 2.2.27-3ubuntu2.1 [133 kB]
    Get:31 http://ports.ubuntu.com jammy-security/main arm64 libpython3.10 arm64 3.10.4-3ubuntu0.1 [1,891 kB]
    Get:32 http://ports.ubuntu.com jammy-security/main arm64 python3.10 arm64 3.10.4-3ubuntu0.1 [488 kB]
    Get:33 http://ports.ubuntu.com jammy-security/main arm64 libpython3.10-stdlib arm64 3.10.4-3ubuntu0.1 [1,826 kB]
    Get:34 http://ports.ubuntu.com jammy-security/main arm64 python3.10-minimal arm64 3.10.4-3ubuntu0.1 [2,264 kB]
    Get:35 http://ports.ubuntu.com jammy-security/main arm64 libpython3.10-minimal arm64 3.10.4-3ubuntu0.1 [806 kB]
    Get:36 http://ports.ubuntu.com jammy-updates/main arm64 isc-dhcp-client arm64 4.4.1-2.3ubuntu2.1 [229 kB]
    Get:37 http://ports.ubuntu.com jammy-updates/main arm64 netplan.io arm64 0.104-0ubuntu2.1 [90.6 kB]
    Get:38 http://ports.ubuntu.com jammy-updates/main arm64 libnetplan0 arm64 0.104-0ubuntu2.1 [84.8 kB]
    Get:39 http://ports.ubuntu.com jammy-updates/main arm64 locales all 2.35-0ubuntu3.1 [4,249 kB]
    Get:40 http://ports.ubuntu.com jammy-security/main arm64 openssl arm64 3.0.2-0ubuntu1.6 [1,161 kB]
    Get:41 http://ports.ubuntu.com jammy-updates/main arm64 python-apt-common all 2.3.0ubuntu2.1 [15.2 kB]
    Get:42 http://ports.ubuntu.com jammy-updates/main arm64 python3-apt arm64 2.3.0ubuntu2.1 [162 kB]
    Get:43 http://ports.ubuntu.com jammy-updates/main arm64 python3-gi arm64 3.42.1-0ubuntu1 [228 kB]
    Get:44 http://ports.ubuntu.com jammy-security/main arm64 git-man all 1:2.34.1-1ubuntu1.4 [952 kB]
    Get:45 http://ports.ubuntu.com jammy-security/main arm64 git arm64 1:2.34.1-1ubuntu1.4 [3,169 kB]
    Get:46 http://ports.ubuntu.com jammy-updates/main arm64 libgstreamer1.0-0 arm64 1.20.3-0ubuntu1 [931 kB]
    Get:47 http://ports.ubuntu.com jammy-security/main arm64 python3-jwt all 2.3.0-1ubuntu0.1 [17.1 kB]
    Get:48 http://ports.ubuntu.com jammy-security/main arm64 wireless-regdb all 2022.06.06-0ubuntu1~22.04.1 [10.3 kB]
    Get:49 http://ports.ubuntu.com jammy-security/universe arm64 gnupg2 all 2.2.27-3ubuntu2.1 [5,548 B]
    Get:50 http://ports.ubuntu.com jammy-updates/universe arm64 libnss-myhostname arm64 249.11-0ubuntu3.4 [52.1 kB]
    Fetched 39.1 MB in 4s (9,789 kB/s)              
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libc6-dev_2.35-0ubuntu3.1_arm64.deb ...
    Unpacking libc6-dev:arm64 (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ...
    Preparing to unpack .../libc-dev-bin_2.35-0ubuntu3.1_arm64.deb ...
    Unpacking libc-dev-bin (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ...
    Preparing to unpack .../libtirpc-common_1.3.2-2ubuntu0.1_all.deb ...
    Unpacking libtirpc-common (1.3.2-2ubuntu0.1) over (1.3.2-2build1) ...
    Setting up libtirpc-common (1.3.2-2ubuntu0.1) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libtirpc-dev_1.3.2-2ubuntu0.1_arm64.deb ...
    Unpacking libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) over (1.3.2-2build1) ...
    Preparing to unpack .../libtirpc3_1.3.2-2ubuntu0.1_arm64.deb ...
    Unpacking libtirpc3:arm64 (1.3.2-2ubuntu0.1) over (1.3.2-2build1) ...
    Setting up libtirpc3:arm64 (1.3.2-2ubuntu0.1) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libc6_2.35-0ubuntu3.1_arm64.deb ...
    Unpacking libc6:arm64 (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ...
    Setting up libc6:arm64 (2.35-0ubuntu3.1) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../base-files_12ubuntu4.2_arm64.deb ...
    Unpacking base-files (12ubuntu4.2) over (12ubuntu4.1) ...
    Setting up base-files (12ubuntu4.2) ...

     

     

    While doing apt upgrade, I had 2 issues appeared, saying /etc/issue and /etc/issue.net were different from maintainers. I assume it's not a big deal, installed from the maintainer and continued:

     

    Spoiler
    
    Configuration file '/etc/issue'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** issue (Y/I/N/O/D/Z) [default=N] ? y
    Installing new version of config file /etc/issue ...
    
    Configuration file '/etc/issue.net'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** issue.net (Y/I/N/O/D/Z) [default=N] ? y
    Installing new version of config file /etc/issue.net ...
    
    

     

     

    Then it continued the upgrade without noticeable issue:

     

    Spoiler
    Installing new version of config file /etc/lsb-release ...
    motd-news.timer is a disabled or a static unit not running, not starting it.
    motd-news.service is a disabled or a static unit not running, not starting it
    .
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libc-bin_2.35-0ubuntu3.1_arm64.deb ...
    Unpacking libc-bin (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ...
    Setting up libc-bin (2.35-0ubuntu3.1) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../systemd-sysv_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking systemd-sysv (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
    Preparing to unpack .../libpam-systemd_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking libpam-systemd:arm64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) .
    ..
    Preparing to unpack .../libsystemd0_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking libsystemd0:arm64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
    Setting up libsystemd0:arm64 (249.11-0ubuntu3.4) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../systemd_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking systemd (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
    Preparing to unpack .../udev_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking udev (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
    Preparing to unpack .../libudev1_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking libudev1:arm64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
    Setting up libudev1:arm64 (249.11-0ubuntu3.4) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.6_arm64.deb ...
    Unpacking libssl-dev:arm64 (3.0.2-0ubuntu1.6) over (3.0.2-0ubuntu1.5) ...
    Preparing to unpack .../libssl3_3.0.2-0ubuntu1.6_arm64.deb ...
    Unpacking libssl3:arm64 (3.0.2-0ubuntu1.6) over (3.0.2-0ubuntu1.5) ...
    Setting up libssl3:arm64 (3.0.2-0ubuntu1.6) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../libapt-pkg6.0_2.4.6_arm64.deb ...
    Unpacking libapt-pkg6.0:arm64 (2.4.6) over (2.4.5) ...
    Setting up libapt-pkg6.0:arm64 (2.4.6) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../archives/apt_2.4.6_arm64.deb ...
    Unpacking apt (2.4.6) over (2.4.5) ...
    Setting up apt (2.4.6) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../00-apt-utils_2.4.6_arm64.deb ...
    Unpacking apt-utils (2.4.6) over (2.4.5) ...
    Preparing to unpack .../01-gpg-wks-client_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../02-dirmngr_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking dirmngr (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../03-gnupg-utils_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gnupg-utils (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../04-gpg-wks-server_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../05-gpg-agent_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpg-agent (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../06-gpg_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../07-gpgconf_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpgconf (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../08-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ...
    Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../09-gnupg_2.2.27-3ubuntu2.1_all.deb ...
    Unpacking gnupg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../10-gpgsm_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpgsm (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../11-gpgv_2.2.27-3ubuntu2.1_arm64.deb ...
    Unpacking gpgv (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Setting up gpgv (2.2.27-3ubuntu2.1) ...
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../00-libpython3.10_3.10.4-3ubuntu0.1_arm64.deb ...
    Unpacking libpython3.10:arm64 (3.10.4-3ubuntu0.1) over (3.10.4-3) ...
    Preparing to unpack .../01-python3.10_3.10.4-3ubuntu0.1_arm64.deb ...
    Unpacking python3.10 (3.10.4-3ubuntu0.1) over (3.10.4-3) ...
    Preparing to unpack .../02-libpython3.10-stdlib_3.10.4-3ubuntu0.1_arm64.deb .
    ..
    Unpacking libpython3.10-stdlib:arm64 (3.10.4-3ubuntu0.1) over (3.10.4-3) ...
    Preparing to unpack .../03-python3.10-minimal_3.10.4-3ubuntu0.1_arm64.deb ...
    Unpacking python3.10-minimal (3.10.4-3ubuntu0.1) over (3.10.4-3) ...
    Preparing to unpack .../04-libpython3.10-minimal_3.10.4-3ubuntu0.1_arm64.deb 
    ...
    Unpacking libpython3.10-minimal:arm64 (3.10.4-3ubuntu0.1) over (3.10.4-3) ...
    Preparing to unpack .../05-isc-dhcp-client_4.4.1-2.3ubuntu2.1_arm64.deb ...
    Unpacking isc-dhcp-client (4.4.1-2.3ubuntu2.1) over (4.4.1-2.3ubuntu2) ...
    Preparing to unpack .../06-netplan.io_0.104-0ubuntu2.1_arm64.deb ...
    Unpacking netplan.io (0.104-0ubuntu2.1) over (0.104-0ubuntu2) ...
    Preparing to unpack .../07-libnetplan0_0.104-0ubuntu2.1_arm64.deb ...
    Unpacking libnetplan0:arm64 (0.104-0ubuntu2.1) over (0.104-0ubuntu2) ...
    Preparing to unpack .../08-locales_2.35-0ubuntu3.1_all.deb ...
    Unpacking locales (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ...
    Preparing to unpack .../09-openssl_3.0.2-0ubuntu1.6_arm64.deb ...
    Unpacking openssl (3.0.2-0ubuntu1.6) over (3.0.2-0ubuntu1.5) ...
    Preparing to unpack .../10-python-apt-common_2.3.0ubuntu2.1_all.deb ...
    Unpacking python-apt-common (2.3.0ubuntu2.1) over (2.3.0ubuntu2) ...
    Preparing to unpack .../11-python3-apt_2.3.0ubuntu2.1_arm64.deb ...
    Unpacking python3-apt (2.3.0ubuntu2.1) over (2.3.0ubuntu2) ...
    Preparing to unpack .../12-python3-gi_3.42.1-0ubuntu1_arm64.deb ...
    Unpacking python3-gi (3.42.1-0ubuntu1) over (3.42.0-3build1) ...
    Preparing to unpack .../13-git-man_1%3a2.34.1-1ubuntu1.4_all.deb ...
    Unpacking git-man (1:2.34.1-1ubuntu1.4) over (1:2.34.1-1ubuntu1.2) ...
    Preparing to unpack .../14-git_1%3a2.34.1-1ubuntu1.4_arm64.deb ...
    Unpacking git (1:2.34.1-1ubuntu1.4) over (1:2.34.1-1ubuntu1.2) ...
    Preparing to unpack .../15-libgstreamer1.0-0_1.20.3-0ubuntu1_arm64.deb ...
    Unpacking libgstreamer1.0-0:arm64 (1.20.3-0ubuntu1) over (1.20.1-1) ...
    Preparing to unpack .../16-python3-jwt_2.3.0-1ubuntu0.1_all.deb ...
    Unpacking python3-jwt (2.3.0-1ubuntu0.1) over (2.3.0-1) ...
    Preparing to unpack .../17-wireless-regdb_2022.06.06-0ubuntu1~22.04.1_all.deb
     ...
    Unpacking wireless-regdb (2022.06.06-0ubuntu1~22.04.1) over (2021.08.28-0ubun
    tu1) ...
    Preparing to unpack .../18-gnupg2_2.2.27-3ubuntu2.1_all.deb ...
    Unpacking gnupg2 (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
    Preparing to unpack .../19-libnss-myhostname_249.11-0ubuntu3.4_arm64.deb ...
    Unpacking libnss-myhostname:arm64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3
    ) ...
    Setting up apt-utils (2.4.6) ...
    Setting up python3-jwt (2.3.0-1ubuntu0.1) ...
    Setting up wireless-regdb (2022.06.06-0ubuntu1~22.04.1) ...
    Setting up isc-dhcp-client (4.4.1-2.3ubuntu2.1) ...
    Installing new version of config file /etc/apparmor.d/sbin.dhclient ...
    Setting up libnetplan0:arm64 (0.104-0ubuntu2.1) ...
    Setting up systemd (249.11-0ubuntu3.4) ...
    Setting up locales (2.35-0ubuntu3.1) ...
    Generating locales (this might take a while)...
      C.UTF-8... done
      en_US.UTF-8... done
      fr_FR.UTF-8... done
    Generation complete.
    Setting up netplan.io (0.104-0ubuntu2.1) ...
    Setting up libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) ...
    Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ...
    Setting up python3-gi (3.42.1-0ubuntu1) ...
    Setting up libssl-dev:arm64 (3.0.2-0ubuntu1.6) ...
    Setting up udev (249.11-0ubuntu3.4) ...
    Setting up libpython3.10-minimal:arm64 (3.10.4-3ubuntu0.1) ...
    Setting up libnss-myhostname:arm64 (249.11-0ubuntu3.4) ...
    Setting up python-apt-common (2.3.0ubuntu2.1) ...
    Setting up gpgconf (2.2.27-3ubuntu2.1) ...
    Setting up git-man (1:2.34.1-1ubuntu1.4) ...
    Setting up libc-dev-bin (2.35-0ubuntu3.1) ...
    Setting up openssl (3.0.2-0ubuntu1.6) ...
    Setting up gpg (2.2.27-3ubuntu2.1) ...
    Setting up libgstreamer1.0-0:arm64 (1.20.3-0ubuntu1) ...
    Setcap worked! gst-ptp-helper is not suid!
    Setting up gnupg-utils (2.2.27-3ubuntu2.1) ...
    Setting up systemd-sysv (249.11-0ubuntu3.4) ...
    Setting up gpg-agent (2.2.27-3ubuntu2.1) ...
    Setting up python3-apt (2.3.0ubuntu2.1) ...
    Setting up gpgsm (2.2.27-3ubuntu2.1) ...
    Setting up python3.10-minimal (3.10.4-3ubuntu0.1) ...
    Setting up libpython3.10-stdlib:arm64 (3.10.4-3ubuntu0.1) ...
    Setting up dirmngr (2.2.27-3ubuntu2.1) ...
    Setting up git (1:2.34.1-1ubuntu1.4) ...
    Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ...
    Setting up libpam-systemd:arm64 (249.11-0ubuntu3.4) ...
    Setting up libc6-dev:arm64 (2.35-0ubuntu3.1) ...
    Setting up libpython3.10:arm64 (3.10.4-3ubuntu0.1) ...
    Setting up python3.10 (3.10.4-3ubuntu0.1) ...
    Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ...
    Setting up gnupg (2.2.27-3ubuntu2.1) ...
    Setting up gnupg2 (2.2.27-3ubuntu2.1) ...
    Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
    Processing triggers for man-db (2.10.2-1) ...
    Processing triggers for cracklib-runtime (2.9.6-3.4build4) ...
    Processing triggers for dbus (1.12.20-2ubuntu4) ...
    Processing triggers for initramfs-tools (0.140ubuntu13) ...
    update-initramfs: Generating /boot/initrd.img-5.10.123-meson64
    update-initramfs: Converting to u-boot format
    odroidhc4:~:% 

     

     

    Then I tried to install zfs... and it doesn't work:

     

    sudo apt install zfs-dkms

     

    It starts by showing a message about licence incompatibility. I select 'OK' to continue... and then, it crashes!

     

    It says "Unable to build an empty module":

     

    Spoiler
    odroidhc4:~:% sudo apt install zfs-dkms
    [sudo] password for luis: 
    Sorry, try again.
    [sudo] password for luis: 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Suggested packages:
      debhelper
    Recommended packages:
      zfs-zed zfsutils-linux linux-libc-dev
    The following NEW packages will be installed:
      zfs-dkms
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 2,346 kB of archives.
    After this operation, 18.0 MB of additional disk space will be used.
    Get:1 http://ports.ubuntu.com jammy-updates/universe arm64 zfs-dkms all 2.1.4-0ubuntu0.1 [2,346 kB]
    Fetched 2,346 kB in 0s (6,735 kB/s)
    Preconfiguring packages ...
    Selecting previously unselected package zfs-dkms.
    (Reading database ... 67502 files and directories currently installed.)
    Preparing to unpack .../zfs-dkms_2.1.4-0ubuntu0.1_all.deb ...
    Unpacking zfs-dkms (2.1.4-0ubuntu0.1) ...
    Setting up zfs-dkms (2.1.4-0ubuntu0.1) ...
    Loading new zfs-2.1.4 DKMS files...
    Building for 5.10.123-meson64
    Building initial module for 5.10.123-meson64
    configure: error: 
    	*** Unable to build an empty module.
    			
    Error! Bad return status for module build on kernel: 5.10.123-meson64 (aarch6
    4)
    Consult /var/lib/dkms/zfs/2.1.4/build/make.log for more information.
    dpkg: error processing package zfs-dkms (--configure):
     installed zfs-dkms package post-installation script subprocess returned erro
    r exit status 10
    Processing triggers for initramfs-tools (0.140ubuntu13) ...
    update-initramfs: Generating /boot/initrd.img-5.10.123-meson64
    update-initramfs: Converting to u-boot format
    Errors were encountered while processing:
     zfs-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    odroidhc4:~:% 
    

     

     

    What did I do wrong?!

     

    I would be grateful if someone could help me to solve it. All my NAS data is bricked. 🥵

     

    I don't understand why it's so difficult to have ZFS running on my ODROID HC4 (but it worked in the past with an older version) ... this raises another question: shall I move away from ZFS for peace of mind?

     

    Thank you, guys! And sorry to bother you again.

     

    Luis

  3. Hi,

    Sorry for the silly question: is there a way to move to Jammy straight from armbian-config? Or another simple way through ssh without a hard full reinstallation?

     

    Let me explain my issue first. This is my current situation:

     

      ___      _           _     _   _   _  ____ _  _
     / _ \  __| |_ __ ___ (_) __| | | | | |/ ___| || |
    | | | |/ _` | '__/ _ \| |/ _` | | |_| | |   | || |_
    | |_| | (_| | | | (_) | | (_| | |  _  | |___|__   _|
     \___/ \__,_|_|  \___/|_|\__,_| |_| |_|\____|  |_|
    
    Welcome to Armbian 21.02.3 Buster with Linux 5.17.5-meson64
    
    System load:   5%               Up time:       20 min
    Memory usage:  9% of 3.70G      IP:            192.168.1.96
    CPU temp:      47°C             Usage of /:    5% of 58G
    
    [ General system configuration (beta): armbian-config ]
    
    Last login: Wed Jun  8 23:16:48 2022 from 192.168.1.86
    root@odroidhc4:~#

     

    My issue:

     

    root@odroidhc4:~/sys-oled-hc4# apt install zfs-dkms zfsutils-linux
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     zfsutils-linux : Depends: libnvpair3linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed
                      Depends: libuutil3linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed
                      Depends: libzfs4linux (= 2.1.4-1~bpo11+1) but 2.0.3-9 is to be installed
    E: Unable to correct problems, you have held broken packages.

     

    This issue happened while upgrading my OMV5 to OMV6, when I suddenly realised for my dispair that I had lost zfs (and of course, my access to my disks).
    I was on stable version of kernel (5.10.102) and since then, I tried several things, like adding backports repository, without success.


    Then I moved to the current kernel version through armbian-config System / Other...
     

    ... so I assume that if I get to move to the same exact version as yours, it will work. But how? 🙂
     

    Thank you for your help!

    NOTE: Just in case, thank you for the tips for the LCD: I had lost it on the migration, now working again.


     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines