I'm not sure how I came to this error, but whatever it was I am stuck now. I have run the following commands:
sudo apt-get autoremove sudo dpkg --configure -a sudo apt-get install -f
All of which were in different orders.
The error may have occurred while installing/removing skype. Not skypeforlinux beta, but skype v4.XXX
dustin@dustin-laptop:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: linux-headers-4.8.0-45 The following NEW packages will be installed: linux-headers-4.8.0-45 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/10.4 MB of archives. After this operation, 73.0 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 213275 files and directories currently installed.) Preparing to unpack .../linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb ... Unpacking linux-headers-4.8.0-45 (4.8.0-45.48~16.04.1) ... dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb (--unpack): unable to open '/usr/src/linux-headers-4.8.0-45/arch/sh/include /asm/addrspace.h.dpkg-new': Operation not permitted Errors were encountered while processing: /var/cache/apt/archives/linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) dustin@dustin-laptop:~$
Note that I am new to linux and everything it encompasses...
Usually I would just format the HDD and re-install, but I am getting tired of this procedure.
If more information is needed, just let me know and I'll put it on here if my status on this site allows it.