Jump to content

Recommended Posts

Posted (edited)

Hi,

 

i updated my Odroid HC2 to OMV7 following posts 29 and 30 from this thread https://forum.openmediavault.org/index.php?thread/51654-seemingly-cannot-update-and-upgrade-anymore-due-to-repository-having-no-release/&postID=383747#post383747

 

Actually looks like the update completed successfully, but i noted that connecting in ssh my motd looks wrong. Attaching it.

 

I do not understand why it picks the VERSION_CODENAME "Buster" while i'm instead on "bookworm".

 

Following scripts in /etc/update-motd.d :

 

steakhutzeee@dk:/etc/update-motd.d$ grep VERSION_CODENAME /etc/os-release | cut -d"=" -f2
bookworm



steakhutzeee@dk:/etc/update-motd.d$ /usr/bin/lsb_release -c | cut -d":" -f2 | tr -d "\t"
bookworm



steakhutzeee@dk:/etc/update-motd.d$ grep CODENAME /etc/lsb-release | cut -d"=" -f2
grep: /etc/lsb-release: No such file or directory

 

How could i solve this?

Thanks!

 

after.png

Edited by steakhutzeee
Posted

For some reason the output of this file is wrong:

 

steakhutzeee@dk:/etc/update-motd.d$ ./10-armbian-header
  ___      _           _     _   _   _  ____ _
 / _ \  __| |_ __ ___ (_) __| | | | | |/ ___/ |
| | | |/ _` | '__/ _ \| |/ _` | | |_| | |   | |
| |_| | (_| | | | (_) | | (_| | |  _  | |___| |
 \___/ \__,_|_|  \___/|_|\__,_| |_| |_|\____|_|

Welcome to Armbian 24.2.1 Buster with Linux 6.1.79-current-odroidxu4

No end-user support: unsupported (buster) userspace!

steakhutzeee@dk:/etc/update-motd.d$

 

I'm trying to figure out why and where from it picks up the value Buster instead of Bookworm.

 

Any help?

Posted (edited)

So I noted that the file armbian-image-release is sourced by 10-armbian-header.

 

So I tried renaming it and the issue disappeared. Can I delete this file? Why it is so different from the one below? I see they are both sourced.

 

steakhutzeee@dk:~$ cat /etc/armbian-image-release.bak
# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidxu4
BOARD_NAME="Odroid XU4"
BOARDFAMILY=odroidxu4
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=3f998600-dirty
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=20.05.7
LINUXFAMILY=odroidxu4
BRANCH=legacy
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image
IMAGE_UUID=fb5ecd1b-019b-4ffe-8887-1f486b947dda
steakhutzeee@dk:~$

 

While I'm clearly on a newer version:

 

steakhutzeee@dk:/etc$ cat armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidxu4
BOARD_NAME="Odroid HC1"
BOARDFAMILY=odroidxu4
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=2630001fb
LINUXFAMILY=odroidxu4
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=zImage
FORCE_BOOTSCRIPT_UPDATE=
FORCE_UBOOT_UPDATE=
VENDOR="Armbian"
VENDORDOCS="https://docs.armbian.com"
VENDORURL="https://www.armbian.com"
VENDORSUPPORT="https://forum.armbian.com"
VENDORBUGS="https://www.armbian.com/bugs"
BOOTSCRIPT_FORCE_UPDATE="no"
BOOTSCRIPT_DST="boot.ini"
VERSION=24.2.1
REVISION=24.2.1
BRANCH=current
steakhutzeee@dk:/etc$

Edited by steakhutzeee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines