I had flushed the cache before trying an update of only "apt", and
that's the only package which I now saw in the cache.

Very well, I first tried:

$ sudo dpkg -i --force-overwrite apt_0.7.25.3ubuntu9.5_amd64.deb
(Reading database ... 39902 files and directories currently installed.)
Preparing to replace apt 0.7.25.3ubuntu9.4 (using 
apt_0.7.25.3ubuntu9.5_amd64.deb) ...
Unpacking replacement apt ...
dpkg: error processing apt_0.7.25.3ubuntu9.5_amd64.deb (--install):
 unable to create `/usr/bin/apt-cache.dpkg-new' (while processing 
`./usr/bin/apt-cache'): Invalid argument
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 apt_0.7.25.3ubuntu9.5_amd64.deb

Well, that doesn't seem to have worked.  Maybe it depends upon having
several related updates.

$ sudo apt-get upgrade
(yeah, there are several things to upgrade.. it fetched them... the name at the 
bottom is "libpam-modules".
Using "libpam-modules" wasn't appreciated by dpkg.  Instead gave it the file 
name.

$ sudo dpkg -i --force-overwrite libpam-modules_1.1.1-2ubuntu5.3_amd64.deb
(Reading database ... 39902 files and directories currently installed.)
Preparing to replace libpam-modules 1.1.1-2ubuntu5 (using 
libpam-modules_1.1.1-2ubuntu5.3_amd64.deb) ...
Unpacking replacement libpam-modules ...
dpkg: error processing libpam-modules_1.1.1-2ubuntu5.3_amd64.deb (--install):
 unable to create `/lib/security/pam_localuser.so.dpkg-new' (while processing 
`./lib/security/pam_localuser.so'): Invalid argument
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 libpam-modules_1.1.1-2ubuntu5.3_amd64.deb

That looks overly familiar.  Well, on with the next step.

$ sudo dpkg --configure -a
$

OK, no error.

$ sudo dpkg -i --force-overwrite libpam-modules_1.1.1-2ubuntu5.3_amd64.deb
(Reading database ... 39902 files and directories currently installed.)
Preparing to replace libpam-modules 1.1.1-2ubuntu5 (using 
libpam-modules_1.1.1-2ubuntu5.3_amd64.deb) ...
Unpacking replacement libpam-modules ...
dpkg: error processing libpam-modules_1.1.1-2ubuntu5.3_amd64.deb (--install):
 unable to create `/lib/security/pam_localuser.so.dpkg-new' (while processing 
`./lib/security/pam_localuser.so'): Invalid argument
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 libpam-modules_1.1.1-2ubuntu5.3_amd64.deb

Nope.  dpkg seems as confused as before.  dpkg is the underlying tool,
so should dpkg be added to the list of broken things for this bug?

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

Title:
  apt updates fail with invalid argument

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

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

Reply via email to