PDA

View Full Version : [ubuntu] "E: I wasn't able to locate a file..."



kpod73
May 27th, 2013, 02:33 PM
Hi all,

After removing the package ardour, I am getting the following error message when I try to install new packages or upgrade.

No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: I wasn't able to locate a file for the linux-headers-3.5.0-27 package. This might mean you need to manually fix this package.
E: I wasn't able to locate a file for the linux-headers-3.5.0-27 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download

Why I try via software updater I am told that not all updates can be installed so I do a partial upgrade. But I get the following:
"unable to securely remove '/usr/src/linux-headers-3.5.0-27/include/linux/tc_ematch/tc_em_text.h': Not a directory"

Then

Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).

Upgrade complete
The upgrade has completed but there were errors during the upgrade process.

What went wrong?
Many thanks for your help,
Peter