after I install xfce4 with
sudo apt-get install xfce4
in the middle of way my net is disconnected and I try to install again but I got error like this:
W: Not using locking for read only lock file /var/lib/dpkg/lock-fronted
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
after i ran dpkg --configure -a
I got this error:
dpkg: error: unable to access the dpkg database directory /var/lib/dpkg: Read-only file system
I reinstall my Linux after login on my Linux but still I cant install any app on my OS I uploaded dmesg.txt file you can download in below link
and when I use the sudo mount / -o remount,rw
command I got that:
mount: /: cannot remount /dev/sda7 read-write, is write-protected.
dmesg
. – FliegendeWurst Mar 27 '20 at 20:03dmesg
(orsudo dmesg
) and post the output of that program. – FliegendeWurst Mar 27 '20 at 20:13less
(dmesg | less
) and post at least the last five pages of output (navigate using the page up/down keys). – FliegendeWurst Mar 27 '20 at 20:41You need at least 10 reputation to post images
– Amir ESH Mar 27 '20 at 21:09/tmp
:dmesg > /tmp/dmesg_out.txt
. You can then copy that to a USB drive:cp /tmp/dmesg_out.txt /media/<username>/<usbstick>/
– FliegendeWurst Mar 28 '20 at 08:03sudo mv /lib/udev/rules.d/71-nvidia.rules ~
but I got Read only problem:mv: cannot move '/lib/udev/rules.d/71-nvidia.rules' to '/root/71-nvidia.rules': Read-only file system
– Amir ESH Mar 28 '20 at 08:08