I'm trying to resolve an issue that I posted here. I'm basically trying to successfully run this script. To do that, I believe (and I its very possible that I'm wrong) I need to install the linux-headers-3.13.0-27-generic package. But the installation command is always failingmg@MG-7520SE:~$ sudo apt-get install linux-headers-3.13.0-27-genericReading package lists... DoneBuilding dependency tree       Reading state information... DonePackage linux-headers-3.13.0-27-generic is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'linux-headers-3.13.0-27-generic' has no installation candidateSearching using apt-cache search doesn't return a valid result because none of the returned results match the version I need, which is 3.13.0-27apt-cache search linux-headerslinux-headers-3.16.0-23 - Header files related to Linux kernel version 3.16.0linux-headers-3.16.0-23-generic - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPlinux-headers-3.16.0-23-lowlatency - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPlinux-headers-generic - Generic Linux kernel headerslinux-headers-lowlatency - lowlatency Linux kernel headerslinux-headers-virtual - Transitional package.linux-libc-dev - Linux Kernel Headers for developmentlinux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)linux-libc-dev-ppc64el-cross - Linux Kernel Headers for development (for cross-compiling)linux-source-3.16.0 - Linux kernel source for version 3.16.0 with Ubuntu patcheslinux-virtual - Minimal Generic Linux kernel and headerslinux-headers-3.4.0-4-goldfish - Linux kernel headers for version 3.4.0 on Android touch emulationlinux-headers-goldfish - Linux kernel headers for the goldfish kernel.linux-headers-3.16.0-24 - Header files related to Linux kernel version 3.16.0linux-headers-3.16.0-24-generic - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPlinux-headers-3.16.0-24-lowlatency - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPlinux-headers-3.16.0-25 - Header files related to Linux kernel version 3.16.0linux-headers-3.16.0-25-generic - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPlinux-headers-3.16.0-25-lowlatency - Linux kernel headers for version 3.16.0 on 64 bit x86 SMPMy system informationmg@MG-7520SE:~$ uname -aLinux MG-7520SE 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linuxmg@MG-7520SE:~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 14.10Release:    14.10Codename:   utopic
Package 'linux-headers-3.13.0-27-generic' has no installation candidate
apt;linux kernel
Well, from the apt-cache search linux-headers the cause should be obvious:Simply stated, the package isn't available in Ubuntu 14.10. You should instead install linux-headers-3.16.0-24, linux-headers-3.16.0-25 or save yourself from all problems and use linux-headers-generic which is a meta-package that depends on the latest available kernels (going by your other question in Ask Ubuntu, you seem to be using 14.10 with the kernel of 14.04, which is a big no-no, install also the linux-image-generic package, or better yet, linux-generic which assures you to have the latest available kernel-header pair, and restart the system).