install error

736 views
Skip to first unread message

Andrew Ylasevich

unread,
Jul 7, 2014, 10:27:19 AM7/7/14
to wkhtmltop...@googlegroups.com
Hi
OS Debian GNU/Linux 6.0.7 (squeeze) 

when I execute installation :

root@bill:/home/andrew# apt-get 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).


Help to solve a problem,
  1. please

Jakob Truelsen

unread,
Jul 7, 2014, 10:35:23 AM7/7/14
to wkhtmltop...@googlegroups.com
This appears to be a Debian issue not a wkhtmtopdf issue. Have you
tried the "apt-get -f install" suggested? Can you install other
packages?
> --
> ===================================================
> You received this message because you are subscribed to the "wkhtmltopdf
> General" group.
> To post to this group, send email to wkhtmltop...@googlegroups.com
> To unsubscribe from this group, send email to
> wkhtmltopdf-gen...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "wkhtmltopdf General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to wkhtmltopdf-gen...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Andrew Ylasevich

unread,
Jul 7, 2014, 11:02:42 AM7/7/14
to wkhtmltop...@googlegroups.com
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

Ashish Kulkarni

unread,
Jul 7, 2014, 12:52:08 PM7/7/14
to wkhtmltop...@googlegroups.com
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
> написал:
Reply all
Reply to author
Forward
0 new messages