← Back to team overview

touch-packages team mailing list archive

[Bug 523395] Re: Error "package $FOO failed to install/upgrade: cannot access archive: No such file or directory"

 

*** This bug is a duplicate of bug 541595 ***
    https://bugs.launchpad.net/bugs/541595

I've had this problem today, I was applying a patch to postfix, based on the following:
https://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-14.04-lts#-apply-the-quota-patch-to-postfix

After that, dpkg complained about "cannot access archive: No such file
or directory". The deb archive was postfix_2.11.0-1ubuntu1_amd64.deb.

I've run the dpkg through strace, and I found the following:
stat("postfix_2.11.0-1_amd64.deb", 0x7ffcaa79c310) = -1 ENOENT (No such file or directory)

So, I've renamed the file postfix_2.11.0-1ubuntu1_amd64.deb to
postfix_2.11.0-1_amd64.deb, and it successfully installed.

I have no idea what is causing this, but this was a "solution".

The strangest thing is that now even the first archive is installing
correctly. (dpkg -i postfix_2.11.0-1ubuntu1_amd64.deb).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/523395

Title:
  Error "package $FOO failed to install/upgrade: cannot access archive:
  No such file or directory"

Status in apport package in Ubuntu:
  Confirmed
Status in python2.6 package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python2.6

  IIRC apt-cacher-ng failed to download archives properly and then
  trying to install them (via aptitude safe-upgrade) caused this
  failure.

  Similar bug reports:
  https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=%22cannot+access+archive%22

  ProblemType: Package
  Architecture: i386
  Date: Tue Feb 16 20:36:29 2010
  DistroRelease: Ubuntu 10.04
  ErrorMessage: Kann auf das Archiv nicht zugreifen: No such file or directory
  NonfreeKernelModules: nvidia
  Package: python2.6-dev 2.6.4-6ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
  SourcePackage: python2.6
  Title: package python2.6-dev 2.6.4-6ubuntu1 failed to install/upgrade: Kann auf das Archiv nicht zugreifen: No such file or directory
  Uname: Linux 2.6.32-13-generic i686

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