[Qgis-user] QGIS install fail on Ubuntu 12.04

Alex Mandel tech_dev at wildintellect.com
Mon Mar 18 18:38:55 PDT 2013


You need to take several steps back.

My suspicion, and likely no fault of your own, precise-proposed repos 
are turned on. The hint is that qt of this version (4:4.8.1-0ubuntu4.2) 
is only in precise-proposed.

So to unstick the system you're going to have rollback all packages that 
came from proposed, and stick to precise-security and precise-updates. 
Not proposed or backports. If you do that then you should be able to get 
it all working as expected.

Longer explanantion, QGIS is built against the main ubuntu repos, not 
the proposed repo which can shift versions unexpectedly. Your other 
option here is to compile it yourself against whatever versions you 
have, but even that might not work if qt is too new and doesn't work 
with the python you have.

This link demonstrates the concept:
http://ubuntuforums.org/showthread.php?t=432636

Good Luck,
Alex

On 03/18/2013 01:03 PM, Lee wrote:
> On attempting to manually install qt4 through the software center, the
> following error is generated:
>
> Package dependencies cannot  be resolved
> This error could be caused by required additional software packages which
> are missing or not installable. Furthermore there could be a conflict
> between software packages which are not allowed to be installed at the same
> time.
> The following packages have unmet dependencies:
>
> python-qt4: Depends: python (< 2.8) but 2.7.3-0ubuntu2 is to be installed
>              Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be
> installed
>              Depends: libqt4-dbus (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2 is
> to be installed
>              Depends: libqt4-declarative (>= 4:4.8.0-1~) but
> 4:4.8.1-0ubuntu4.2 is to be installed
>              Depends: libqt4-designer (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4
> is to be installed
>              Depends: libqt4-help (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4 is to
> be installed
>              Depends: libqt4-network (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2
> is to be installed
>              Depends: libqt4-script (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2
> is to be installed
>              Depends: libqt4-scripttools (>= 4:4.8.0-1~) but
> 4:4.8.1-0ubuntu4 is to be installed
>              Depends: libqt4-svg (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2 is
> to be installed
>              Depends: libqt4-test (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4 is to
> be installed
>              Depends: libqt4-xml (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2 is
> to be installed
>              Depends: libqt4-xmlpatterns (>= 4:4.8.0-1~) but
> 4:4.8.1-0ubuntu4.2 is to be installed
>              Depends: libqtcore4 (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2 is
> to be installed
>              Depends: libqtgui4 (>= 4:4.8.0-1~) but 4:4.8.1-0ubuntu4.2 is to
> be installed
>              Depends: sip-api-8.1 but it is a virtual package
>
>
> --
> All the best,
> Lee
> ISA Certified Arborist MI-4148A
> Registered Forester #46043
>
>
> On Mon, Mar 18, 2013 at 3:37 PM, Andre Joost <andre+joost at nurfuerspam.de>wrote:
>
>> Am 18.03.2013 19:57, schrieb Lee:
>>
>>   In general, the error messages are generated upon launch of QGIS. I cannot
>>> even get to a point where I have the option of installing plugins. There
>>> is
>>> no option to "fetch python plugins."
>>>
>>
>> Yes, this is a follow.up to the missing python package.
>>
>>
>> Try this:
>> Open Ubuntu software center
>> Edit -> Software package sources
>> "Other Software" tab
>> There should be two entries for ubuntugis-unstable (and nothing from
>> ubuntugis-stable)
>> close the window
>>
>> click on "AllSoftware", and enter qt4 in the search field
>> You should have installed python-qt4 4.9.1-2ubuntu1
>> If not, you should do it manually.
>>
>> click on the dropdown box next to "All Software", and select
>> ubuntugis-unstable. You should have QGIS, and a note that 177 files are
>> hidden. Click on that link. You should get a list of all packages from
>> ubuntugis, including python-qgis. Clicking on that, you should get
>> information on the version python-qgis 1.8.0-1~precise3, and if it is
>> installed or not.
>>
>>
>> Greetings,
>> André Joost
>>




More information about the Qgis-user mailing list