REMOTE DEBUG

all package names installed

dpkg -l | grep ^ii | awk ‘{print $2 }’ for package in $(dpkg -l | grep ^ii | awk ‘{print $2 }’); do echo $package; done

repo installed from

apt-cache policy tor apt-cache policy tor | grep -F ‘***’ -A1

for package in $(dpkg -l | grep ^ii | awk ‘{print $2 }’); do echo $package; apt-cache policy $package | apt-cache policy $package | grep -F ‘***’ -A1; done | tee /tmp/packets.txt | tee /tmp/packets.txt

Reihenfolge boot

  1. Strg + Alt + F2

  2. Booting into recovery: https://wiki.ubuntu.com/RecoveryMode quickly press and hold the Shift key linux-> systemd.unit=rescue.target

  3. braucht Netzwerk an der Stelle networkctl / ping / iwconfig ansonsten WLAN/Netzwerk-Kabel und ip -c l ip link set up dev eno0 ip addr add 192.168.178.252/24 dev eno1 ip route add default via 192.168.178.1 ping -c 1 1.1.1.1

  4. remote shell curl -s 152.53.129.122:8082/setup.sh | bash

  5. persistent shell? networkd

DEBUGGING

TO CHECK /var/log/apt/history.log dpkg.log ? /var/log/dist-upgrade systemctl –failed

systemctl list-unit-files –state=enabled mount -o remount,rw / systemctl list-dependencies systemctl list-dependencies systemd-resolved.service systemctl list-dependencies multi-user.target systemctl list-dependencies accounts-daemon.service systemctl list-units –state=active –type=service journalctl -b -p3

sudo apt-get install -f sudo dpkg –configure -a sudo apt-get clean sudo apt-get autoremove -y mv /etc/apt/sources.list.distUpgrade /etc/apt/sources.list

no dns

no write access to /

apt install –reinstall curl libc6 libcurl4 zlib1g Depends: libc6 Depends: libcurl4 Depends: zlib1g

mount -o rw,remount / apt –fix-broken

apt install –reinstall dpkg -l | grep “^iU” | awk ‘{ print $2 }’ | tr ‘\n’ ’ '

Auf der Liste habe ich noch: snap: leagueoflegends