You are not logged in.
I can't install libqt3-dev. I'm trying to follow the KDE tutorial (http://developer.kde.org/~larrosa/tutorial/index.html) and apparently I need libqt3-dev in order to compile a program, but every time I run
sudo apt-get install libqt3-dev
I get this error:
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libqt3-dev: Depends: libqt3-headers (= 3:3.3.4.3-1) but 3:3.3.7-4 is to be installed
Depends: qt3-dev-tools (= 3:3.3.4.3-1) but 3:3.3.7-4 is to be installed
E: Broken packagesHow do I resolve this mis-match? Incidentally, I have installed libqt3-headers and qt3-dev-tools already. I also have libqt3-mt-dev. Can I use that instead??
Offline
Well you probably need to update the repository.
sudo apt-get update
then try again.
Offline
cybeee wrote:
Well you probably need to update the repository.
sudo apt-get update
then try again.
Well, I did that but it didn't help. I think it's a bit more complicated than to fix. I need to get a particular set of header files that this tutorial needs, but it's just a matter of working out what the right package to install is.
Offline
Well, the problem is you don't have the right versions installed or available, in that repository, so the repository is not 100% sane.
If you have these installed already then some ways of solving the problem will leave you with a broken system, unless the OS supports sloting of multiple versions.
If they are not installed though you can hunt down the source files and install by hand.
This is why you are being asked to file a bug report, overtime these normally get found, and after an update they will start to work.
Offline
cybeee wrote:
Well, the problem is you don't have the right versions installed or available, in that repository, so the repository is not 100% sane.
If you have these installed already then some ways of solving the problem will leave you with a broken system, unless the OS supports sloting of multiple versions.
If they are not installed though you can hunt down the source files and install by hand.
This is why you are being asked to file a bug report, overtime these normally get found, and after an update they will start to work.
Where do I report bugs? Somewhere on the Asus website? Or is it a Xandros bug?
Offline
I installed QT4 from the Trolltech website. Took decades to compile, but I have it. no need to worry about the source.list file, plus I get the latest version.
You can download a compressed tarfile from www.trolltech.com, and this includes the lovely documentation in html, so when you're programming on the move, it's all with you. If you already installed build-essential, this is all you need to do.
qt4 has backward compatibility options for qt3 I believe.
Offline
I saw one guide of one user when trying to install kopete it asked you for a lib that was also broken package. You had to edit the settings like taking out the incompatibilities and then adding it...
If I remember I will post 'em
Offline
CCG wrote:
I saw one guide of one user when trying to install kopete it asked you for a lib that was also broken package. You had to edit the settings like taking out the incompatibilities and then adding it...
If I remember I will post 'em
Thanks for that.
In the meantime, I have been digging and I have found that I have libqt3-mt-dev installed. This is the multi-threaded version (hence the "mt"), and I pointed my configure script at that:
./configure --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/qt3/
The configure script happily finds Qt, but now throws up another error. Apparently, I am missing the KDE headers. My research says that these are part of the package kdelibs4-dev but it won't let me install is giving similar errors as before:
/home/user/My Documents/kdetutorial-1.2> sudo apt-get -s install kdelibs4-dev
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kdelibs4-dev: Depends: kdelibs4 (= 4:3.4.2.94-1) but 4:3.4.2.100-1 is to be installed
Depends: kdelibs-bin (= 4:3.4.2.94-1)
E: Broken packagesBoth packages kdelibs4 and kdelibs-bin seem to come from http://update.eeepc.asus.com. So does that mean Asus haven't done their stuff? I've run
sudo apt-get update
and its not made any difference. Any ideas?
Offline
to be frank, it's probably more trouble than it's worth.
You are better off leaving Xandros a lilly white virgin, and install ubuntu on an SD card, you then get libqt3 for free, along with gcc and all the other good dev tools.
You can trash the Ubu install and know you have good old xandros for surfing mail etc
Offline
http://www.3eportal.com/index.php?optio … p;Itemid=1
There it is, sublimeporte made it, and it is... sublime xD
To begin, you will need to open a terminal, and backup some files. Type/paste these following commands to do so.
sudo cp /var/lib/dpkg/available /var/lib/dpkg/available.bkup
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.bkup
1. Edit dpkg files. "sudo kate /var/lib/dpkg/available" and then find the section that starts with "Package: libqt3-mt". From the "Replaces" and "Conflicts" lines of that section, remove the reference to "libqt3c102-mt" (Note: those lines have several entries each seperated by a comma, so make sure when you remove "libqt3c102-mt" that you leave the correct amount of commas). After removing those, copy the entire "Package: libqt3-mt" section (ie. up until the next package definition) and then paste it at the end of the file, then rename the first line from "Package: libqt3-mt" to "Package: libqt3c102-mt". Also make sure that there is a blank space after the last line of the file.
2. Repeat same as step 1, but this time in the file /var/lib/dpkg/status
Offline
I'm going to look into getting the source code for the kdelibs4-dev package and building it (and making a .deb) myself. That seems the logical thing to do.
Offline
I would go to the trolltech website www.trolltech.com and download the free open source version of qt4.
Takes ages to compile, but you do get all the documentation and example programs on your eeepc. And it has a qt3 compatibility mode...
Offline
Thanks Jon. I'll give Qt a go. I still think that Asus should supply those files!!
Offline
So after more tinkering around and thinking, I worked out that I needed to downgrade the packages kdelibs4 and kdelibs-bin which were at version 4:3.4.2.100-1 (from the 900 repository).
The newest available version of the kdelibs4-dev package was 4:3.4.2.94-1 (in any of the Asus repositories). The dependencies between these packges were set up in such a way that the packages needed an exact version match. So to install version 4:3.4.2.94-1 of kdelibs4-dev, it was necessary to downgrade the other two, like this:
sudo apt-get install kdelibs4=4:3.4.2.94-1 kdelibs-bin=4:3.4.2.94-1
Once this has been done, it's possible to install the kdelibs4-dev
sudo apt-get install kdelibs4-dev
each time running apt-get with the -s option first, to ensure that no packages were removed. The general rule seems to be that it's OK to add packages, but if any are marked for removal, then that could break things.
Anyhow, I have successfully compiled the KDE tutorial now, and I can play with it to my heart's content :-)
Last edited by Eee4me (2008-05-26 11:28:55 am)
Offline
holy cow. i hate to say this, but i don't understand hardly a thing on this thread. i was linked here from wiki on enabling advanced desktop on the 901. what am i supposed to do before adding the pimpmyeee script?
Offline
Steve - I share your views !
The additional line below appeared at the start of the advanced desktop wiki without any explanation of why this complex edit of some files is needed. Since advanced desktop activation is one of the first changes a new 900/901 owner will seek to do then a much more detailed set of instructions is required if the edit really is needed.
If you're doing this from a 900, you must first do this: http://forum.eeeuser.com/viewtopic.php? … 62#p264162
Last edited by danMdan (2008-07-26 4:59:12 am)
Offline
danMdan wrote:
Steve - I share your views !
The additional line below appeared at the start of the advanced desktop wiki without any explanation of why this complex edit of some files is needed. Since advanced desktop activation is one of the first changes a new 900/901 owner will seek to do then a much more detailed set of instructions is required if the edit really is needed.If you're doing this from a 900, you must first do this: http://forum.eeeuser.com/viewtopic.php? … 62#p264162
That's precisely the kind of thing I didn't want to get involved with, hence all that messing around with downgrading certain packages.
Those instructions are basically telling you how to manually remove some dependency information from those obscure files. I'd definitely recommend against it.
I didn't have to do anything like that to enable advanced mode on my Eee PC 900!! *Goes to look at wiki page*
Offline
When installing the advanced desktop on the Eee PC 900, why don't people just the instructions on the thread I started about it:
http://forum.eeeuser.com/viewtopic.php? … 56#p240656
Offline
This is exactly why Windows is used so much. Every time someone asks how to do something, you get a whole set of command line code. I didn't have to do that on my 128K Mac and not in 21 yrs of windows but have to do it in 2008 with Linux???? So much for progress.
I have full disk and no file mgr so how do I dump some stuff with out becoming a programer???
Offline
pedro848 wrote:
to be frank, it's probably more trouble than it's worth.
You are better off leaving Xandros a lilly white virgin, and install ubuntu on an SD card, you then get libqt3 for free, along with gcc and all the other good dev tools.
You can trash the Ubu install and know you have good old xandros for surfing mail etc
Pedro,
How do you install ubuntu for eeepc 901 on a SD card? I agree that booting an "ubuntu for eeepc" from
an SD would be the safest. I would do it to run QGIS, for example, and let the machine with its own native
OS for the more conventional tasks.
Gracias
Offline
thank you
Offline
Bad-Tat wrote:
Every time someone asks how to do something, you get a whole set of command line code. I didn't have to do that on my 128K Mac and not in 21 yrs of windows but have to do it in 2008 with Linux???? So much for progress.
Every time you have to do something in Windows you get an enumerated list of 15-20 pulldown menus to click through and widgets to twiddle. If you miss something on any step of the way because the text doesn't describe the widget properly then you either at worst mess up your system or at best have to start over.
I can't begin to tell you how many times I've been trying to configure something on a supposed Windows server and wished I could reliably do everything with a command line rather than try to follow somebody's idea of clear instructions on how to use a GUI. The command line is at least 100 times better for communicating with somebody about how to use their computer.
Offline
All 900 users are referred to this thread, yet instructions are incomplete. Specifically, there needs to be a fool-proof method of adding advanced desktop mode without using much harddrive space. With new 900s, they default to download automatically any updates, which fills the harddrive and renders the computer useless since the Easy Mode does not allow for uninstalling anything -- updates, factory loaded programs, anyting. There are no easy ways to seitch to advanced deskttop mode either. This is one of several attempts to post htis info since firefox keeps crashing due to full HD. Please someone provide step-by-step instructions to access full dektop, and/or a way to delete the updates adn other programs. I was sent here by Asus tech support, who provide no other asssisteance on this issue. Apologize for typos -- small keyboard...
Offline
ochoha wrote:
The command line is at least 100 times better for communicating with somebody about how to use their computer.
A little late, but it had to be said. I couldn't agree more.
Offline
You people just don't get it, do you? Most people buy a computer to use it, not to learn an operating system. I have spent the past four hours going from thread to contradictory thread to try and find out how to install advanced mode on a P900.
We just need ONE thread, or better still, a section in the Wiki, telling us how to do it. Instead, we are directed all over this vast and disorganised site where strange pointy-headed people say "you should have done this, that, or the other" in a superior tone. None of this gets us anywhere fast.
There are some very helpful people here; and I am duly grateful. However, please read through the acres of verbiage on this subject and try to see it from the point of view of those who don't know Linux, and don't WANT to know Linux. We just want to use our computers. And since you people are telling us that Linux is wonderful, and so much better than Windows, why don't you make it easy for us to USE Linux?
Thank you.
Offline