Search code examples
apachedebiandpkgmod-pagespeed

How do I update DPKG itself on Debian?


I have a very old version of it and it refuses to install new .deb files

This is the original problem:

Trying to install Google's mod_pagespeed for Apache.

Result:

dpkg: regarding mod-pagespeed-beta_current_i386.deb
containing mod-pagespeed-beta, pre-dependency problem: mod-pagespeed-beta pre-depends on dpkg (>= 1.14.0) dpkg is installed, but is version 1.13.26.


Solution

  • Get the .deb for dpkg and install it (but you should really be doing it via apt-get or aptitude). Your problem is not that your version of dpkg would not install anything, but that the particular package requires being installed by newer version.