Errors during LXDE & TigerVNC dietpi-software install?

I would like to run the Discord client or webapp on LXDE so I have a persistent presence on a server I use but I have received errors during the installation of LXDE and TigerVNC. There was a dialogue which I was about to screenshot but I pressed a key by accident and it disappeared bringing me back to the terminal.

Please review the errors here and tell me how I can resolve this:

https://pastebin.com/raw/R3VsPNYa

Hi,

looks like your file system has issues as it is set to read/only

dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only file system

This could indicate some file system corruption. Let’s have a look

lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
cat /etc/fstab
dmesg -l err,crit,alert,emerg
mount

I was going to try post the errors I receive when trying the testdisk and other method to recover Jackett settings from this thread:

https://dietpi.com/forum/t/dietpi-survey-information/32/1

but it just seem down a path of suggested fixes from terminal and then more errors, perhaps it is all related to read only.

Since posting, on the reboot command failing, I closed my SSH connection and attempted to relog but my copied and pasted password was rejected repeatedly - now accepted after a hard reset.

Please find errors output when trying the commands you suggested:

dietpi@DietPi:~$ lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
-bash: lsblk: command not found
dietpi@DietPi:~$ cat /etc/fstab
-bash: cat: command not found
dietpi@DietPi:~$ dmesg -l err,crit,alert,emerg
-bash: dmesg: command not found
dietpi@DietPi:~$ sudo lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
Bus error
dietpi@DietPi:~$ sudo cat /etc/fstab
Bus error

Also stuck again unable to reboot:

dietpi@DietPi:~$ dietpi@DietPi:~$ reboot
-bash: dietpi@DietPi:~$: command not found
dietpi@DietPi:~$ -bash: reboot: command not found
-bash: -bash:: command not found
dietpi@DietPi:~$ sudo reboot
Bus error

Pls try to login as user root. Your system seems to have serious issues.

I could not login again as either root or dietpi, but on hard reset this fixed that. I confirmed dietpi now allows login, then I logged out and back in as root to paste the commands:

root@DietPi:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL  SIZE RO TYPE MOUNTPOINT PARTUUID                                                                                                                                                                                   UUID
mmcblk0
│                 29.7G  0 disk
├─mmcblk0p1
│    vfat   boot   256M  0 part /boot      2fed7fee-01                                                                                                                                                                                592B-C92C
└─mmcblk0p2
     ext4   rootfs
                  29.5G  0 part /          2fed7fee-02                                                                                                                                                                                706944a6-7d0f-4a45-9f8c-7fb07375e9f7
root@DietPi:~# cat /etc/fstab
# Please use "dietpi-drive_manager" to setup mounts
#----------------------------------------------------------------
# NETWORK
#----------------------------------------------------------------


#----------------------------------------------------------------
# TMPFS
#----------------------------------------------------------------
tmpfs /tmp tmpfs size=1024M,noatime,lazytime,nodev,nosuid,mode=1777

#----------------------------------------------------------------
# MISC: ecryptfs, vboxsf (VirtualBox shared folder), gluster, bind mounts
#----------------------------------------------------------------


#----------------------------------------------------------------
# SWAPFILE
#----------------------------------------------------------------


#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
PARTUUID=2fed7fee-02 / auto noatime,lazytime,rw 0 1
PARTUUID=2fed7fee-01 /boot auto noatime,lazytime,rw 0 2
/var/swap none swap sw 0 0
tmpfs /var/log tmpfs size=50M,noatime,lazytime,nodev,nosuid,mode=1777
root@DietPi:~# dmesg -l err,crit,alert,emerg
root@DietPi:~# mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime,lazytime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=465280k,nr_inodes=116320,mode=7                                                                                                                                                      55)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relat                                                                                                                                                      ime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmod                                                                                                                                                      e=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,                                                                                                                                                      nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xa                                                                                                                                                      ttr,name=systemd)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatim                                                                                                                                                      e,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpu                                                                                                                                                      set)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,re                                                                                                                                                      latime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,fr                                                                                                                                                      eezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime                                                                                                                                                      ,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,de                                                                                                                                                      vices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blki                                                                                                                                                      o)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,time                                                                                                                                                      out=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,lazytime,size=1048576k)
tmpfs on /var/log type tmpfs (rw,nosuid,nodev,noatime,lazytime,size=51200k)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime,lazytime,fmask=0022,dmask=0022,cod                                                                                                                                                      epage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

Ok looks system booted correct. At least no errors at the moment. Can you do following to perform a basic check

> /forcefsck
reboot
# after reboot
journalctl -t systemd-fsck
root@DietPi:~# /forcefsck
-bash: /forcefsck: No such file or directory
root@DietPi:~# ./forcefsck
-bash: ./forcefsck: No such file or directory
root@DietPi:~# forcefsck
-bash: forcefsck: command not found
root@DietPi:~# /forcefsck
-bash: /forcefsck: No such file or directory
root@DietPi:~# sudo /forcefsck
sudo: /forcefsck: command not found

Should I try reboot (hard reset if necessary) again, or is there something else I should try while it is in this state?

you missed the first character >

> /forcefsck

Sorry my bad, I took that for a prompt! :slight_smile:

root@DietPi:~# journalctl -t systemd-fsck
-- Logs begin at Thu 2019-02-14 10:11:58 GMT, end at Tue 2021-06-01 15:53:49 BST
. --
Jun 01 15:49:49 DietPi systemd-fsck[128]: Please pass 'f
sck.mode=force' on the kernel command line rather than creating /forcefsck on th
e root file system.
Jun 01 15:49:49 DietPi systemd-fsck[128]: e2fsck 1.44.5 (15-Dec-2018)
Jun 01 15:49:49 DietPi systemd-fsck[128]: Pass 1: Checking inodes, blocks, and s
izes
Jun 01 15:50:11 DietPi systemd-fsck[128]: Pass 2: Checking directory structure
Jun 01 15:50:13 DietPi systemd-fsck[128]: Pass 3: Checking directory connectivit
y
Jun 01 15:50:13 DietPi systemd-fsck[128]: Pass 4: Checking reference counts
Jun 01 15:50:14 DietPi systemd-fsck[128]: Pass 5: Checking group summary informa
tion
Jun 01 15:50:16 DietPi systemd-fsck[128]: rootfs: 50297/1899328 files (0.7% non-
contiguous), 849727/7725184 blocks
Jun 01 15:50:18 DietPi systemd-fsck[215]: Please pass 'f
sck.mode=force' on the kernel command line rather than creating /forcefsck on th
e root file system.
Jun 01 15:50:19 DietPi systemd-fsck[215]: fsck.fat 4.1 (2017-01-24)
Jun 01 15:50:19 DietPi systemd-fsck[215]: /dev/mmcblk0p1: 324 files, 101092/5161
90 clusters

ok could you try running following now

apt update && apt upgrade

With the extra characters where I input Y I tried it again and the same occured, still it aborts, without the extra characters.

root@DietPi:~# apt update && apt upgrade
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@DietPi:~# dpkg --configure -a
Setting up libxml2:armhf (2.9.4+dfsg1-7+deb10u1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
root@DietPi:~# apt update && apt upgrade
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  shared-mime-info
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 762 kB of archives.
After this operation, 4933 kB of additional disk space will be used.
Do you want to continue? [Y/n] ^[[28~Y
Abort.

you could try following

apt update && apt upgrade -y

That seemed to work:

root@DietPi:~# apt update && apt upgrade -y
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  shared-mime-info
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 762 kB of archives.
After this operation, 4933 kB of additional disk space will be used.
Get:1 http://ftp.heanet.ie/mirrors/raspbian/raspbian buster/main armhf shared-mime-info armhf 1.10-1 [762 kB]
Fetched 762 kB in 2s (380 kB/s)
(Reading database ... 23976 files and directories currently installed.)
Preparing to unpack .../shared-mime-info_1.10-1_armhf.deb ...
Unpacking shared-mime-info (1.10-1) over (1.10-1) ...
Setting up shared-mime-info (1.10-1) ...

If that works, try to install your software

Worked until lightdm. If relevant I am still logged in as root:

Unpacking lightdm (1.26.0-4) ...
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/102-lightdm_1.26.0-4                                                                              _armhf.deb (--unpack):
 unable to stat './usr/share/locale/tl/LC_MESSAGES' (which I was about to instal                                                                              l): Input/output error
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/th/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/tg/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/te/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ta/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sv/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sr/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sq/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sl/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sk/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/si/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/shn/LC_MESSAGES/                                                                              lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/shn/LC_MESSAGES'                                                                              : Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/shn': Read-only                                                                               file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sd/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/sc/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/sc/LC_MESSAGES':                                                                               Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/sc': Read-only f                                                                              ile system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ru/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ro/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/pt_BR/LC_MESSAGE                                                                              S/lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/pt/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/pl/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/pa/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/oc/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/nn/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/nl/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/nb/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/my/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ms/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/mr/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ml/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/mi/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/mhr/LC_MESSAGES/                                                                              lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/lv/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/lt/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/lb/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ku/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ko/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/kn/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/km/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/kk/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ja/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/it/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/is/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/id/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ia/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/hu/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/hr/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/hi/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/he/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/gu/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/gl/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/gd/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/fy/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/fr/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/fo/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/fi/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/fa/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/eu/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/et/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/es/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/eo/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/en_GB/LC_MESSAGE                                                                              S/lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/en_CA/LC_MESSAGE                                                                              S/lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/en_AU/LC_MESSAGE                                                                              S/lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/el/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/de/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/da/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/cs/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ckb/LC_MESSAGES/                                                                              lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/ckb/LC_MESSAGES'                                                                              : Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/locale/ckb': Read-only                                                                               file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ca@valencia/LC_M                                                                              ESSAGES/lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ca/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/bs/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/br/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/bo/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/bn/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/bg/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/be/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/az/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ast/LC_MESSAGES/                                                                              lightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/ar/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/an/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/locale/af/LC_MESSAGES/l                                                                              ightdm.mo': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/lintian/overrides/light                                                                              dm': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/lightdm/lightdm.conf.d/                                                                              01_debian.conf': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/lightdm/lightdm.conf.d'                                                                              : Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/xdmcp.pa                                                                              ge': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/write-gr                                                                              eeter.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/vnc.page                                                                              ': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/user-swi                                                                              tching.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/user-lis                                                                              t.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/standard                                                                              -authentication.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/seat.pag                                                                              e': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/remote-s                                                                              essions.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/local-se                                                                              ssions.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/legal.xm                                                                              l': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/index.pa                                                                              ge': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/guest.pa                                                                              ge': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/diagnost                                                                              ics.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/default-                                                                              session.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/default-                                                                              greeter.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/config.p                                                                              age': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/help/C/lightdm/autologi                                                                              n.page': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/help/C/lightdm': Read-o                                                                              nly file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/help/C': Read-only file                                                                               system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/help': Read-only file s                                                                              ystem
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/doc/lightdm/copyright':                                                                               Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/doc/lightdm/changelog.g                                                                              z': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/doc/lightdm/changelog.D                                                                              ebian.gz': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/doc/lightdm': Read-only                                                                               file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/dbus-1/interfaces/org.f                                                                              reedesktop.DisplayManager.AccountsService.xml': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/dbus-1/interfaces': Rea                                                                              d-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/bash-completion/complet                                                                              ions/lightdm': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/share/bash-completion/complet                                                                              ions/dm-tool': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/accountsservice/interfa                                                                              ces': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/share/accountsservice': Read-                                                                              only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/sbin/lightdm': Read-only file                                                                               system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/lib/arm-linux-gnueabihf/light                                                                              dm/lightdm-guest-session': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/usr/lib/arm-linux-gnueabihf/light                                                                              dm': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/usr/bin/dm-tool': Read-only file                                                                               system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/lib/systemd/system/lightdm.servic                                                                              e': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/pam.d/lightdm-greeter': Read-                                                                              only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/pam.d/lightdm-autologin': Rea                                                                              d-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/pam.d/lightdm': Read-only fil                                                                              e system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/lightdm/users.conf': Read-onl                                                                              y file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/lightdm/lightdm.conf': Read-o                                                                              nly file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/lightdm/keys.conf': Read-only                                                                               file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/init.d/lightdm': Read-only fi                                                                              le system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/dbus-1/system.d/org.freedeskt                                                                              op.DisplayManager.conf': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/apparmor.d/lightdm-guest-sess                                                                              ion': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/apparmor.d/abstractions/light                                                                              dm_chromium-browser': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-extracted version of '/etc/apparmor.d/abstractions/light                                                                              dm': Read-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/etc/apparmor.d/abstractions': Rea                                                                              d-only file system
dpkg: error while cleaning up:
 unable to remove newly-installed version of '/etc/apparmor.d': Read-only file s                                                                              ystem
dpkg: error while cleaning up:
 unable to securely remove '/var/lib/dpkg/tmp.ci': Read-only file system
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/103-light-locker_1.8                                                                              .0-3_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/104-lsb-release_10.2                                                                              019051400+rpi1_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/105-lxappearance_0.6                                                                              .3-1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/106-lxappearance-obc                                                                              onf_0.2.3-1+rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/107-lxpanel-data_0.1                                                                              0.0-2_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/108-lxpanel_0.10.0-2                                                                              _armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/109-pcmanfm_1.3.1-1_                                                                              armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/110-lxde-common_0.99                                                                              .2-3_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/111-lxsession-data_0                                                                              .5.4-1+rpt1_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/112-policykit-1_0.10                                                                              5-25+rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/113-lxpolkit_0.5.4-1                                                                              +rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/114-lxlock_0.5.4-1+r                                                                              pt1_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/115-lxsession-logout                                                                              _0.5.4-1+rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/116-lxsession_0.5.4-                                                                              1+rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/117-openbox_3.6.1-8+                                                                              rpt5_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/118-openbox-lxde-ses                                                                              sion_0.99.2-3_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/119-lxde-core_10_all                                                                              .deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/120-lxde-icon-theme_                                                                              0.5.1-2_all.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/121-lxhotkey-core_0.                                                                              1.0-1+b1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/122-lxhotkey-gtk_0.1                                                                              .0-1+b1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/123-xinput_1.6.2-1_a                                                                              rmhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/124-lxinput_0.3.5-1+                                                                              rpi9_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/125-lxrandr_0.3.2-1_                                                                              armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/126-lxsession-edit_0                                                                              .5.4-1+rpt1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/127-lxterminal_0.3.2                                                                              -1+rpt4_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/128-xarchiver_1%3a0.                                                                              5.4.14-1_armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/129-lxde_10_all.deb                                                                               (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error processing archive /tmp/apt-dpkg-install-yYo48P/130-upower_0.99.10-1                                                                              _armhf.deb (--unpack):
 error ensuring '/var/lib/dpkg/reassemble.deb' doesn't exist: Read-only file sys                                                                              tem
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only fil                                                                              e system
E: Sub-process /usr/bin/dpkg returned an error code (2)
[FAILED] DietPi-Software | APT install for: lxde upower dbus-user-session
 - Command: apt-get -qq --allow-change-held-packages install lxde upower dbus-us                                                                              er-session
/boot/dietpi/func/dietpi-globals: line 822:  5972 Bus error               pgrep                                                                               -cf 'dietpi-config' &> /dev/null
/boot/dietpi/func/dietpi-globals: line 822:  5982 Segmentation fault      cat $f                                                                              p_error_report
[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminat                                                                              e.

Hmm probably an issue with the SD card. Hope you did not reboot yet. Can you check for kernel errors

dmesg -l err,crit,alert,emerg

I have not rebooted but:

root@DietPi:~# dmesg -l err,crit,alert,emerg
-bash: dmesg: command not found

This doesn’t sounds healthy.

MichaIng
Can you have a look please

Okay, I appreciate your efforts!

Other than Jackett I have not really been using my DietPi. I set it up a few months ago to run Jackett, which has been working perfectly until very recently I noticed Jackett was missing indexers and it occurred to me how useful running a Discord client on the Pi could be.

As it took considerable time to configure my indexers with Jackett, if there is a chance I can recover the config with either of the methods in the thread I linked in the OP I would like to keep trying, but if you guys think I should start over with a new install I will.

Give time to the developer to join the discussion. Usually he has good ideas on such issues.