Skip to content

[Bug]: armbian-config just "uninstalled" =deleted my whole OS. 😨 #712

@pjotrek-b

Description

@pjotrek-b

What happened?

I'm glad, this was a fresh-from-image new install:
I followed these official Armbian on Odroid HC4 Instructions to setup my 2nd HC4.

All well, until I ran armbian-config and selected the option to disable automatic updates.
Suddenly, the terminal refreshed to show me an ncurses-style apt-manager, showing me that it now uninstalls /all/ system-relevant packages of my system.

I'm left with this:

root@odroidhc4:~# ls
-bash: /usr/bin/ls: Input/output error

Here's the complete, uncut commandline and console output:

[email protected]'s password: 

    _             _    _           
   /_\  _ _ _ __ | |__(_)__ _ _ _  
  / _ \| '_| '  \| '_ \ / _` | ' \ 
 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|
                                   
 v25.11.1 for Odroid HC4 running Armbian Linux 6.12.58-current-meson64

 Packages:     Debian rolling (bookworm)
 Updates:      Kernel upgrade disabled and 1 package available for upgrade 
 IPv4:         (LAN) 10.0.0.243 (WAN) 213.162.84.236 
 IPv6:         2001:4bc9:803:a46b:21e:6ff:fe49:2250 (WAN) 2001:4bc9:803:a46b:8a45:fb62:f3a9:be5b 

 Performance:  

 Load:         2%           	 Uptime:       17 minutes	
 Memory usage: 6% of 3.69G  	
 CPU temp:     45°C           	 Usage of /:   4% of 57G    	

 Tips:

 What’s new in Armbian v25.11? https://tinyurl.com/5bdupwwk

 Commands: 

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

root@odroidhc4:~# armbian-config 
Initializing script
Loaded Runtime variables...
Check distro
Loaded Dialog...
Loaded Docs...
Loaded System helpers...
Loaded Network helpers...
Loaded Software helpers...
Loaded Runtime conditions...
sed: can't read /etc/apt/apt.conf.d/50unattended-upgrades: No such file or directory

/usr/bin/../lib/armbian-config/config.functions.sh: line 1026: /usr/bin/apt-get: Input/output error
/usr/bin/../lib/armbian-config/config.functions.sh: line 92: /usr/bin/jq: Input/output error
/usr/bin/../lib/armbian-config/config.functions.sh: line 175: /usr/bin/jq: Input/output error
/usr/bin/../lib/armbian-config/config.functions.sh: line 211: /usr/bin/jq: Input/output error
/usr/bin/../lib/armbian-config/config.functions.sh: line 219: /usr/bin/jq: Input/output error
/usr/bin/../lib/armbian-config/config.functions.sh: line 348: /usr/bin/../lib/armbian-config/config.functions.sh:: No such file or directory
User canceled. exiting
root@odroidhc4:~# df -h
-bash: /usr/bin/df: Input/output error
root@odroidhc4:~# ls
-bash: /usr/bin/ls: Input/output error
root@odroidhc4:~# 

What kind of booby-trap did I step on here? 💣 😁

How to reproduce?

I have not YET tried to reproduce it, as I still need to re-flash the armbian v25.11.1 image onto my SD card, but all I did (AFAIK) was this:

  1. login as root per ssh
  2. run: armbian-config
  3. de-select the options to auto-update the kernel or install security updates
  4. select the last menu option to disable automated updates
  5. continue.

On which OS are you observing this problem? (for easier diagnosis please provide logs with armbianmonitor -u)

Armbian Ubuntu 24.04 Noble

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it shouldGood first issueFeel free to contribute :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions