Looks like I've added this to a duplicate bug, so here it is again:

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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/541595

Title:
  [Master] package failed to install/upgrade: package is already
  installed and configured

To manage notifications about this bug go to:
https://bugs.launchpad.net/dpkg/+bug/541595/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to