LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2005, 02:46 PM   #1
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Rep: Reputation: 0
Kpilot dependency problems APT-GET


Hi All I'm having some puzzling problems with apt-get installing kpilot. Here's the output:

Code:
 sean@insp4100:~$ sudo apt-get install kpilot
Password:
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: 
kpilot: Depends: kdelibs4 (>= 4:3.4.0) but it is not going to be installed 
Depends: libqt3c102-mt (>= 3:3.3.3) but it is not going to be installed 
E: Broken packages
Then, I try to install kdelibs4 and it gives me a laundry list of other "dependencies" I need to install. Does this have anything to do with kdelibs4 being a "metapackage?" Thanks in advance for the help.

Edit:
Distro is Ubuntu 5.10. Here's my sources.list:
Code:
## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse

## Backports
#deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
#deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted

Last edited by woodsy934; 12-16-2005 at 02:52 PM.
 
Old 12-17-2005, 11:27 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Looks like you have two different version of KDE available to be installed and apt is getting confused. What is the output of apt-cache policy kpilot?
 
Old 12-17-2005, 03:03 PM   #3
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for getting back to me...here's the output:

Code:
kpilot:
  Installed: (none)
  Candidate: 4:3.4.0-0ubuntu10
  Version table:
     4:3.4.0-0ubuntu10 0
        500 us.archive.ubuntu.com hoary/main Packages
     4:3.3.2-3 0
        100 /var/lib/dpkg/status
Note: there's an "http..." before "us.archive.ubuntu...", of course. I just get an error when I put that into the thread because I haven't made enough posts to put links in.
 
Old 12-17-2005, 06:33 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Try sudo apt-get -s install kpilot kdelibs4 and if you get any warnings the use apt-cache search kdelibs4 to make sure that the library name has not changed as it has in Debian. If it has then it will most likely have a c2 you would need to add to the name of the kdelibs4 to install. Sometimes it can be necessary to add the extra packages it warns about to the end of the install line until it will install cleanly but do not do this with the libqt3c102-mt package it is too old for it to be needed. Also you may need to use apt-cache policy package_needed then take the version number which in your case here would be apt-get -s install kpilot=4:3.4.0-0ubuntu10 kdelibs4=?????? next_package=??????? ...... just keep adding the package_name=version_number for the packages it says it needs and you will get them all to install eventually then remove the -s from line to do the actual install.
 
Old 12-17-2005, 11:24 PM   #5
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the help...I think I am making progress. However, I am still having problems:

Example 1
Code:
sean@insp4100:~$ sudo apt-get -s install kpilot=4:3.4.0-0ubuntu10 kdelibs4c2=4:3.4.3-0ubuntu1 libarts1=1.4.0-0pre1ubuntu3 libopenexr2=1.2.1-2 libqt3c102-mt kdelibs-bin=4:3.4.0-0ubuntu3.4 libkcal2a=4:3.4.3-0ubuntu3 libktnef1=4:3.4.3-0ubuntu3 kdelibs4=4:3.4.0-0ubuntu3.4 kdelibs-bin=4:3.4.3-0ubuntu1
Reading package lists... Done
Building dependency tree... Done
kdelibs4c2 is already the newest version.
libkcal2a is already the newest version.
libktnef1 is already the newest version.
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kdelibs4: Depends: kdelibs-bin (= 4:3.4.0-0ubuntu3.4) but 4:3.4.3-0ubuntu1 is to be installed
  kdelibs4c2: Conflicts: kdelibs4 but 4:3.4.0-0ubuntu3.4 is to be installed
  libarts1c2: Conflicts: libarts1 but 1.4.0-0pre1ubuntu3 is to be installed
  libopenexr2c2: Conflicts: libopenexr2 but 1.2.1-2 is to be installed
  libqt3-mt: Conflicts: libqt3c102-mt but 3:3.3.3-7ubuntu3 is to be installed
  libqt3c102-mt: Conflicts: libqt3-mt but 3:3.3.4-8ubuntu5 is to be installed
E: Broken packages
[Example 2]
Code:
sean@insp4100:~$ sudo apt-get -s install kpilot=4:3.4.0-0ubuntu10 kdelibs4c2=4:3.4.3-0ubuntu1 libarts1=1.4.0-0pre1ubuntu3 libopenexr2=1.2.1-2 libqt3c102-mt kdelibs-bin=4:3.4.0-0ubuntu3.4 libkcal2a=4:3.4.3-0ubuntu3 libktnef1=4:3.4.3-0ubuntu3 kdelibs4=4:3.4.0-0ubuntu3.4 kdelibs-bin=4:3.4.0-0ubuntu3.4
Reading package lists... Done
Building dependency tree... Done
kdelibs4c2 is already the newest version.
libkcal2a is already the newest version.
libktnef1 is already the newest version.
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kdelibs4c2: Depends: kdelibs-bin (= 4:3.4.3-0ubuntu1) but 4:3.4.0-0ubuntu3.4 is to be installed
              Conflicts: kdelibs4 but 4:3.4.0-0ubuntu3.4 is to be installed
  libarts1c2: Conflicts: libarts1 but 1.4.0-0pre1ubuntu3 is to be installed
  libopenexr2c2: Conflicts: libopenexr2 but 1.2.1-2 is to be installed
  libqt3-mt: Conflicts: libqt3c102-mt but 3:3.3.3-7ubuntu3 is to be installed
  libqt3c102-mt: Conflicts: libqt3-mt but 3:3.3.4-8ubuntu5 is to be installed
E: Broken packages
There are numerous conflicts, as you can see - especially between the kdelibs4c2 and kdelibs4 packages. Any ideas?
 
Old 12-18-2005, 12:11 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
For your second example take the kdelibs4=4:3.4.0-0ubuntu3.4, libarts1=1.4.0-0pre1ubuntu3 out of the line and use the kdelibs4c2, libarts1c2, libopenexr2c2 and libqt3-mt packages in the line. When adding the next packages if any are needed you want the highest version number for the package=???? that you would put on the line always taking the c2 version if available. With you trying to install both the kdelibs4c2 and kdelibs4 packages at the same time you are actually installing both the new (c2) and old versions at the same time it will not work this way.
 
Old 12-18-2005, 01:43 AM   #7
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Whew. OK, I tried your suggestions and am making progress. I have two outstanding issues:

Code:
sean@insp4100:~$ sudo apt-get -s install kpilot=4:3.4.0-0ubuntu10 kdelibs4c2=4:3.4.3-0ubuntu1 libarts1c2 libopenexr2c2 libqt3-mt kdelibs-bin=4:3.4.0-0ubuntu3.4 libkcal2a=4:3.4.3-0ubuntu3 libktnef1=4:3.4.3-0ubuntu3 kdelibs-bin=4:3.4.0-0ubuntu3.4
Reading package lists... Done
Building dependency tree... Done
kdelibs4c2 is already the newest version.
libarts1c2 is already the newest version.
libopenexr2c2 is already the newest version.
libqt3-mt is already the newest version.
libkcal2a is already the newest version.
libktnef1 is already the newest version.
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kdelibs-bin: Depends: kdelibs4 (>= 4:3.4.0) but it is not going to be installed
               Depends: libqt3c102-mt (>= 3:3.3.3) but it is not going to be installed
  kdelibs4c2: Depends: kdelibs-bin (= 4:3.4.3-0ubuntu1) but 4:3.4.0-0ubuntu3.4 is to be installed
  kpilot: Depends: kdelibs4 (>= 4:3.4.0) but it is not going to be installed
          Depends: libqt3c102-mt (>= 3:3.3.3) but it is not going to be installed
E: Broken packages
This shows two unmet dependencies, kdelibs4 and libqt3c102-mt.

kdelibs4 - I am using kdelibs4c2, which you said conflicts with kdelibs4 (makes sense). So why is it asking for this?

libqt3c102-mt - I tried installing this independently, and I get this output:

Code:
sean@insp4100:~$ sudo apt-get install libqt3c102-mt
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gcc-3.3-base libstdc++5
Suggested packages:
  libqt3c102-mt-psql libqt3c102-mt-mysql libqt3c102-mt-odbc
The following packages will be REMOVED:
  adept akode akregator amarok amarok-gstreamer ark arts artsbuilder gtk2-engines-gtk-qt gwenview k3b k3blibs kaddressbook kaffeine kaffeine-gstreamer kamera kappfinder
  karm katapult kate kaudiocreator kcontrol kcron kde-guidance kde-style-lipstik kde-systemsettings kdeadmin-kfile-plugins kdebase-bin kdebase-kio-plugins kdebluetooth
  kdegraphics-kfile-plugins kdelibs-bin kdelibs4c2 kdemultimedia-kappfinder-data kdemultimedia-kfile-plugins kdemultimedia-kio-plugins kdenetwork-filesharing
  kdenetwork-kfile-plugins kdepasswd kdepim-kio-plugins kdepim-wizards kdeprint kdesktop kfind kghostview khelpcenter kicker kio-apt kio-locate klaptopdaemon klipper
  kmail kmenuedit kmilo kmix knetworkconf knotes koffice-data koffice-libs konq-plugins konqueror konqueror-nsplugins konserve konsole kontact konversation kooka
  korganizer kpdf kpf kppp krdc krfb krita kscd kscreensaver ksmserver ksnapshot ksplash ksvg ksysguard ksystemlog kubuntu-default-settings kubuntu-docs
  kubuntu-konqueror-shortcuts kuser kwalletmanager kwifimanager kwin libarts1c2 libdbus-qt-1-1c2 libkcal2a libkcddb1 libkdepim1 libkipi0 libkleopatra0a libkonq4
  libkpimexchange1 libkpimidentities1 libkscan1 libksieve0 libktnef1 libmimelib1a libqt3-mt openoffice.org2-kde python-kde3 python2.4-kde3 python2.4-qt3
  python2.4-sip4-qt3 qca-tls qobex sanekonsole speedcrunch
The following NEW packages will be installed:
  gcc-3.3-base libqt3c102-mt libstdc++5
0 upgraded, 3 newly installed, 113 to remove and 0 not upgraded.
Need to get 3402kB of archives.
After unpacking 323MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
I am hesitant about removing all of these packages, since many of them seem to be critical to the usability of the system
(Openoffice, k3b, kate, python, etc etc) Ideally, I don't want to remove the packages.

Ideas?
 
Old 12-18-2005, 11:48 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
This here.
Code:
kdelibs4c2: Depends: kdelibs-bin (= 4:3.4.3-0ubuntu1) but 4:3.4.0-0ubuntu3.4 is to be installed
Is telling you kdelibs4c2 needs exactly version 4:3.4.3-0ubuntu1 of kdelibs-bin which is the older version. You should look at the output of apt-cache search kdelibs4c2 to see if there is a newer version because it looks like it has changed again and look at the apt-cache policy of every package you are trying to put on the line and choose the version= number that is at the same or higher number. Another thing to check it the libkcal package here on my install (Debian) it has changed from libkcal2a to libkcal2b so use the apt-cache search libkcal.
 
Old 12-18-2005, 03:13 PM   #9
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for all your help Stephen, but I ended up uninstalling the c2 version of kdelibs4 and just reinstalling a bunch of kde applications. Works now. Thanks again.
 
Old 12-18-2005, 04:36 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by woodsy934
Thanks for all your help Stephen, but I ended up uninstalling the c2 version of kdelibs4 and just reinstalling a bunch of kde applications. Works now. Thanks again.
Good to hear it is working again you should figure out which one of the lines in your sources.list the c2 versions are coming from and comment it out so you do not have these problems in your next install/upgrade. Use the apt-cache policy to find the offending line like this.

Code:
HappyTux:/home/stephen# apt-cache policy kdelibs4c2a
kdelibs4c2a:
  Installed: 4:3.5.0-1
  Candidate: 4:3.5.0-1
  Version table:
 *** 4:3.5.0-1 0
        500 http://pkg-kde.alioth.debian.org ./ Packages
        100 /var/lib/dpkg/status
     4:3.4.3-2 0
        600 http://ftp.de.debian.org sid/main Packages
HappyTux:/home/stephen# apt-cache policy kdelibs4c2
kdelibs4c2:
  Installed: (none)
  Candidate: 4:3.4.2-4
  Version table:
     4:3.4.2-4 0
        990 http://ftp.de.debian.org testing/main Packages
        100 /var/lib/dpkg/status
As you can see I have a couple of options for the package in the 3.4.? version so if the 3.4.3-2 version was causing the problem I would comment out the sid line in the sources.list then apt-get update to refresh the package cache.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependancy Problems dratix Ubuntu 2 06-03-2005 01:01 PM
rpm dependancy problems chow-stl Mandriva 5 01-16-2005 08:21 PM
FC3 apt dependancy problem mmc Fedora 2 01-05-2005 01:01 PM
apt - failed dependancy: linux-kernel-headers shack Linux - Software 0 12-19-2003 08:09 AM
dia problems -> dependancy issues mehesque Linux - Newbie 2 11-14-2003 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration