build icon indicating copy to clipboard operation
build copied to clipboard

[Bug]: First login without internet: sed: -e expression #1, char 0: no previous regular expression

Open tosiara opened this issue 6 months ago • 3 comments

What happened?

When booting for the first time without internet, sed error is printed on the welcome screen:

Generating locales: en_US.UTF-8
    _             _    _                                         _ _
   /_\  _ _ _ __ | |__(_)__ _ _ _    __ ___ _ __  _ __ _  _ _ _ (_) |_ _  _
  / _ \| '_| '  \| '_ \ / _` | ' \  / _/ _ \ '  \| '  \ || | ' \| |  _| || |
 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|_\__\___/_|_|_|_|_|_\_,_|_||_|_|\__|\_, |
                                 |___|                                 |__/
 v25.8 rolling for radxa cubie a5e running Armbian Linux 6.14.0-rc1-dev-sun55iw3

 Packages:     Debian stable (bookworm)
 Updates:      Kernel upgrade enabled and 2 packages available for upgrade
 Support:      for advanced users (rolling release)
sed: -e expression #1, char 0: no previous regular expression

 Performance:

 Load:         6%                Uptime:       17 min
 Memory usage: 7% of 1.93G
 CPU temp:     54°C                Usage of /:   15% of 6.7G

 Commands:

 Configuration : armbian-config
 Upgrade       : armbian-upgrade
 Monitoring    : htop

How to reproduce?

  1. Flash fresh Armbian
  2. Bring down internet access
  3. Log in for the first time
  4. Error printed

When logging for the second time - no error

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Debian 12 Bookworm

Are you building on Windows WSL2?

  • [ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

tosiara avatar Jul 17 '25 11:07 tosiara

Jira ticket: AR-2710

github-actions[bot] avatar Jul 17 '25 11:07 github-actions[bot]

also discussed in the forum

leggewie avatar Jul 18 '25 19:07 leggewie

Using Jun 26's Sid_vendor_server-kali

Debian Sid nor this hardware are supported, so this is more like an uncharted territory with unfinished software support. However this bug was noticed also elsewhere and I think we need to rewrite /etc/update-motd.d/10-armbian-header

https://github.com/armbian/build/blob/main/packages/bsp/common/etc/update-motd.d/10-armbian-header#L195-L226

This error pops up if IP is not recognized / not recognized fast enough.

I'm caught in a login loop where I can't confirm the root password

This must be related to some package missing or its broken in the Sid package repository. As sid packages are in alfa state, chasing bugs here is doing (endless and pointless) upstream job ... which is not something we will ever be able to do. This is Debian's / Ubuntu's package maintainers job.

igorpecovnik avatar Jul 20 '25 07:07 igorpecovnik