If you may get a below error when you update packages or install any packges in Debian,

Error:


Do you want to continue [Y/n]? y
Setting up google-chrome-stable (36.0.1985.143-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing google-chrome-stable (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solution:

For example,
 
# dpkg -i --force-all your-package-name.deb

Now,  can install the package using below command,
 
# dpkg -i --force-all google-chrome-stable_current_i386.deb