Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

General situation:

I need to port a Qt project from MS Visual Studio 2010 to Linux (Debian). In VS 2010 I have Qt v.4.8.1, but in Debian it is Qt v.4.6.1. This difference prevents me from porting, as some features are not present in 4.6.1.

In Debian I am using the stable Squeeze repository. My experience with this OS, and Linux in general, is zero.

The Issue:

Because the highest available version of Qt in the Squeeze repo is 4.6.1, I decided to enable multiple repositories, and get the more recent package from Wheezy instead.

To add Wheezy I performed the following actions:

  1. Edited /etc/apt/sources.list, where I included:

    • deb http:// ftp.debian.org/debian/ wheezy main deb-src http://
    • ftp.debian.org/debian/ wheezy main
  2. Edited /etc/apt/apt.conf.d*:

    • APT::Default-Release "stable"
    • APT::Cache-Limit "50000000"

However, it hasn't worked. I can't select the needed package from Wheezy because when I open Synaptic I get this error:

Wow, you exceeded the number of descriptions this APT is capable of

I don`t know how to solve with this problem.

All I need is to upgrade Qt in Debian. Am I doing this the hard way? Is there a much simpler solution?

share|improve this question
add comment

1 Answer 1

First of all, you can take a look at the versions available for the package you want to upgrade with this command :

apt-cache show qt4-desiger | grep Version

You can also use http://packages.debian.org/search?keywords=qt4-designer

You can then force the installation of a given version by doing :

apt-get -uVf install qt-designer=4:4.8.2+dfsg-2

or

apt-get -uVf -t wheezy install qt-designer

Both options should display the packages that will be upgraded, take care to see if the list is not too long (if it is consider upgrading your whole system to wheezy - or finding a squeeze backport for your package).

share|improve this answer
    
Actually I don`t need qt-designer. Maybe you mean Qt creator? You partly answered my question by giving semantics for installing package from given repository. I can`t try it out because, as I figured out to update Qt by this way I have to install all elements such as qtcore, qtcreator, and a lot of other qt... So I found it easier to download Qt SDK from qt site and install all needed staff at once. Back to issue I addressed here, do you know how to solve one with "Wow, you exceeded the number of descriptions this APT is capable of" ?? –  spin_eight Sep 28 '12 at 4:44
    
I found in web information that this message is result of bug in apt implementation, but there were know usefull info for me how to deal with it –  spin_eight Sep 28 '12 at 4:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.