there seems to be problem with linux-headers, when I try to reinstall everything, I am stuck on
Code: Select all
sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-3.13.0-139
The following NEW packages will be installed
linux-headers-3.13.0-139 linux-headers-3.13.0-139-generic
0 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 9,604 kB of archives.
After this operation, 77.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-139 all 3.13.0-139.188 [8,906 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-139-generic amd64 3.13.0-139.188 [697 kB]
Fetched 9,604 kB in 2s (3,336 kB/s)
Selecting previously unselected package linux-headers-3.13.0-139.
(Reading database ... 209420 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-139_3.13.0-139.188_all.deb ...
Unpacking linux-headers-3.13.0-139 (3.13.0-139.188) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb (--unpack):
unable to open '/usr/src/linux-headers-3.13.0-139/arch/mips/include/asm/abi.h.dpkg-new': Operation not permitted
Selecting previously unselected package linux-headers-3.13.0-139-generic.
Preparing to unpack .../linux-headers-3.13.0-139-generic_3.13.0-139.188_amd64.deb ...
Unpacking linux-headers-3.13.0-139-generic (3.13.0-139.188) ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.13.0-139
The following NEW packages will be installed
linux-headers-3.13.0-139
0 to upgrade, 1 to newly install, 0 to remove and 1 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/8,906 kB of archives.
After this operation, 63.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 219001 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-139_3.13.0-139.188_all.deb ...
Unpacking linux-headers-3.13.0-139 (3.13.0-139.188) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb (--unpack):
unable to open '/usr/src/linux-headers-3.13.0-139/include/linux/lockd/share.h.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.13.0-139_3.13.0-139.188_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)