[Bug 1198586] Re: /etc/kernel/postinst.d/apt-auto-removal: uname: not found

Daniel Hartwig mandyke at gmail.com
Fri Jul 19 07:39:23 UTC 2013


On 19 July 2013 14:27, Toby Lambert <tlambert165 at gmail.com> wrote:
> toby at toby-VPCCB15FG:~$ ls -l /bin/uname
> ls: cannot access /bin/uname: No such file or directory

Uh oh.

> Is that what you wanted?

It is.  Please try:

$ sudo apt-get install --reinstall uname

or otherwise use dpkg to reinstall that package.  A subsequent run of
apt-get may then work without the apt-auto-removal error.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1198586

Title:
  /etc/kernel/postinst.d/apt-auto-removal: uname: not found

Status in “apt” package in Ubuntu:
  Incomplete

Bug description:
  Continuous problems installing variety of apps and updates.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.5.0-36-generic 3.5.0-36.57~precise1
  ProcVersionSignature: Ubuntu 3.5.0-32.53~precise1-generic 3.5.7.11
  Uname: Linux 3.5.0-32-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  Date: Sun Jul  7 09:11:34 2013
  DuplicateSignature: package:linux-image-3.5.0-36-generic:3.5.0-36.57~precise1:run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 127
  ErrorMessage: run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 127
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
  MarkForUpload: True
  SourcePackage: apt
  Title: package linux-image-3.5.0-36-generic 3.5.0-36.57~precise1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 127
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1198586/+subscriptions




More information about the foundations-bugs mailing list