I've had some trouble installing a dual-boot system on my laptop. I used Boot-Repair and now both systems (Windows 10 and Kali Linux 2.0) are showing up in Grub.
My problem is that, whenever I start Linux it just starts a terminal. I've tried to check if the desktop environment is still installed but I just get:
W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened.