Scrounger / ioBroker.linux-control

Controlling Linux devices and information about your system
https://forum.iobroker.net/topic/35870/test-adapter-linux-control-v0-x-x
MIT License
10 stars 5 forks source link

command not found bei cmdAptUpdate #60

Closed Klaus-Lucas closed 9 months ago

Klaus-Lucas commented 9 months ago

Nach dem Start des Adapters kommen solche Fehlermeldungen:

2023-12-19 12:36:40.526 - error: linux-control.0 (875761) [cmdAptUpdate] flosk (192.168.178.44:22): response error: bash: line 1: column: command not found, stack: ResponseError: [cmdAptUpdate] flosk (192.168.178.44:22): bash: line 1: column: command not found
at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:886:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:721:18)
at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:621:5)
at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:79:5)
at async Promise.allSettled (index 1)
at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:53:4)

Update funktioniert:

klu@flosk:~$ sudo apt update
[sudo] password for klu:
Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
klu@flosk:~$

klu@flosk:~$ sudo apt-get update
[sudo] password for klu:
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Fetched 110 kB in 0s (350 kB/s)
Reading package lists... Done

Meine Einstellungen: grafik

klu_031

klu_032

klu_033

klu_034

klu_035 klu_036

Fehler ist weg, wenn ich updates.all auf die Blacklist schiebe.

Versions:

Klaus-Lucas commented 9 months ago

Problem gefunden: This system has been minimized by removing packages and content that are not required on a system that users do not log into. To restore this content, you can run the 'unminimize' command.

unminimize abgesetzt, Problem weg.