First of all, the version of wkhtmltopdf in the repositories is very
old. The package manager told you: You might want to run 'apt-get -f
install' but you ran "apt-get -f install wkhtmltopdf" -- there is a
difference between the two commands.
It is advisable to upgrade to Wheezy and use the official binaries for
it -- I don't think squeeze is really updated that often. If you do
want to compile your own version, you can follow the steps below:
1. Install build dependencies
apt-get install build-essential xz-utils libssl-dev libpng-dev
libjpeg62-dev zlib1g-dev libfontconfig1-dev libfreetype6-dev
libx11-dev libxext-dev libxrender-dev
2. Download the source code from
http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1.tar.bz2
and run "scripts/build.py posix-local".
On Mon, Jul 7, 2014 at 8:31 PM, Andrew Ylasevich <
andru...@gmail.com> wrote:
> with "apt-get -f install"
>
> root@bill:~# apt-get -f install wkhtmltopdf
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> wkhtmltopdf is already the newest version.
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> wkhtmltopdf : Depends: libqt4-network (>= 4:4.5.3) but it is not going to
> be installed
> Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not going to
> be installed
> Depends: libqtgui4 (>= 4:4.5.3) but it is not going to be
> installed
> Depends: libqtwebkit4 (>= 2.1.0~2011week13) but it is not
> installable
> wkhtmltox : Depends: fontconfig but it is not going to be installed
> Depends: libfontconfig1 but it is not going to be installed
> Depends: libpng12-0 but it is not going to be installed
> Depends: libjpeg8 but it is not going to be installed
> Depends: libssl1.0.0 but it is not installable
> Depends: libxrender1 but it is not going to be installed
> Conflicts: wkhtmltopdf
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
> a solution).
> root@bill:~#
>
> I understand a problem in QT libraries. But I can't find the good
> installation instruction of QT in Debian 6
>
> понедельник, 7 июля 2014 г., 17:27:19 UTC+3 пользователь Andrew Ylasevich
> написал: