apt-get update && apt-get upgradeYou might want to run 'apt-get -f install' to correct these.The following packages have unmet dependencies: libxrender1 : Breaks: libxrender1:i386 (!= 1:0.9.7-1+deb7u1) but 1:0.9.7-1+deb7u1+b1 is installed libxrender1:i386 : Breaks: libxrender1 (!= 1:0.9.7-1+deb7u1+b1) but 1:0.9.7-1+deb7u1 is installedE: Unmet dependencies. Try using -f.apt-get -f install> # apt-get -f install                                                                                                                                                                                             Reading package lists... DoneBuilding dependency tree       Reading state information... DoneCorrecting dependencies... DoneThe following packages were automatically installed and are no longer required:  libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libaudio2:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavcodec53:i386 libavutil51:i386 libcap2:i386 libcups2:i386  libdbus-1-3:i386 libdirac-encoder0:i386 libexpat1:i386 libffi5:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386 libglib2.0-0:i386 libgnutls26:i386 libgpg-error0:i386 libgsm1:i386  libgssapi-krb5-2:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libice6:i386 libjack-jackd2-0:i386 libjpeg62 libjpeg8:i386 libjson0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386  libkrb5support0:i386 liblcms1:i386 libmng1:i386 libmp3lame0:i386 libogg0:i386 libopenjpeg2:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpcre3:i386 libpng12-0:i386 libpulse0:i386 libqt4-dbus:i386  libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386 libschroedinger-1.0-0:i386 libsm6:i386 libsndfile1:i386 libspeex1:i386  libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-3:i386 libtheora0:i386 libtiff4:i386 libva1:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwrap0:i386 libx11-6:i386  libx11-xcb1:i386 libx264-123:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxi6:i386 libxml2:i386 libxrender1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386 libxvidcore4:i386Use 'apt-get autoremove' to remove them.The following extra packages will be installed:  libxrender1 libxrender1:i386The following packages will be upgraded:  libxrender1 libxrender1:i3862 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.1 not fully installed or removed.Need to get 0 B/65.4 kB of archives.After this operation, 0 B of additional disk space will be used.Do you want to continue [Y/n]? yReading changelogs... Donedpkg: warning: 'ldconfig' not found in PATH or not executabledpkg: warning: 'start-stop-daemon' not found in PATH or not executabledpkg: error: 2 expected programs not found in PATH or not executableNote: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbinE: Sub-process /usr/bin/dpkg returned an error code (2)edit: If I try: apt-get remove --purge libxrender1:i386It just gives me the same error as above.Any suggestions how I could solve that problem?Thank you
Debian dpkg error > libxrender1
debian;apt;dpkg
This is a known bug. See Debian bug report 782505.Briefly, this is a security fix gone wrong.Less briefly, the package libxrender1 for the archs i386 and amd64 have different contents for the shared changelog file/usr/share/doc/libxrender1/changelog.Debian.gz. This is of course not allowed by dpkg.https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782505#17 has a suggestion for a temporary workaround that worked for me. A possibly simpler alternative is suggested by https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782505#27, namely apt pinning.This will hopefully be fixed by the security team soon.