LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-01-2004, 12:02 AM   #1
qwertyuiop
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
kde lib for compiling broken package


I run debian unstable.
When I try to compile a kde program I got this error message

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

So I preceded to install kdelibs4-dev, which is what I think I need for it to work (If I have the wrong package please let me know)
But when I use apt-get I get this

kdelibs4-dev: Depends: kdelibs4 (= 4:3.2.3-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.2.3-2) but 4:3.2.3-4 is to be installed
Depends: libcupsys2-dev but it is not going to be installed
Depends: libssl-dev but it is not going to be installed
E: Broken packages

Does anyone now how I can fix this?
Thanks.
 
Old 10-01-2004, 01:49 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Re: kde lib for compiling broken package

Quote:
Originally posted by qwertyuiop
I run debian unstable.
When I try to compile a kde program I got this error message

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

So I preceded to install kdelibs4-dev, which is what I think I need for it to work (If I have the wrong package please let me know)
But when I use apt-get I get this

kdelibs4-dev: Depends: kdelibs4 (= 4:3.2.3-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.2.3-2) but 4:3.2.3-4 is to be installed
Depends: libcupsys2-dev but it is not going to be installed
Depends: libssl-dev but it is not going to be installed
E: Broken packages

Does anyone now how I can fix this?
Thanks.
Your system is trying to install packages that should be for testing if they even existed.

Code:
[HappyTux:/home/stephen]# apt-cache policy kdelibs4-dev
kdelibs4-dev:
  Installed: 4:3.3.0-2
  Candidate: 4:3.3.0-2
  Version Table:
 *** 4:3.3.0-2 0
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     4:3.2.3-2 0
        990 http://ftp.de.debian.org testing/main Packages
[HappyTux:/home/stephen]# apt-cache policy kdelibs4
kdelibs4:
  Installed: 4:3.3.0-2
  Candidate: 4:3.3.0-2
  Version Table:
 *** 4:3.3.0-2 0
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     4:3.2.3-2 0
        990 http://ftp.de.debian.org testing/main Packages
[HappyTux:/home/stephen]# apt-cache policy kdelibs-bin
kdelibs-bin:
  Installed: 4:3.3.0-2
  Candidate: 4:3.3.0-2
  Version Table:
 *** 4:3.3.0-2 0
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     4:3.2.3-2 0
        990 http://ftp.de.debian.org testing/main Packages
So the first thing to check is to make sure that you are actually running unstable with only sources for it in your /etc/apt/sources.list with no lines for testing in there. Once you have removed the lines for testing then apt-get update to refresh the package cache then install the -dev package again if it complains about the libcupsys2-dev and libssl-dev again then put them on the end of the line you are using to install with to have them installed at the same time.
 
Old 10-01-2004, 06:16 PM   #3
qwertyuiop
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for helping.
This is what I got after removing testing lines.

# apt-get install kdelibs4-dev libcupsys-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcupsys2-dev instead of libcupsys-dev
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-dev: Depends: kdelibs4 (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: libarts1-dev (> 1.3.0) but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.20final+rc1-7) but 1.1.20final+rc1-5 is to be installed
Depends: libgnutls11-dev but it is not going to be installed
E: Broken packages

Any other suggestions?
Thanks.
 
Old 10-01-2004, 07:00 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally posted by qwertyuiop
Thanks for helping.
This is what I got after removing testing lines.

# apt-get install kdelibs4-dev libcupsys-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcupsys2-dev instead of libcupsys-dev
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-dev: Depends: kdelibs4 (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: libarts1-dev (> 1.3.0) but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.20final+rc1-7) but 1.1.20final+rc1-5 is to be installed
Depends: libgnutls11-dev but it is not going to be installed
E: Broken packages

Any other suggestions?
Thanks.
Can I see your /etc/apt/sources.list you still have sources in there that are getting the packages for testing that is unless you forgot to run apt-get update after having made the changes to remove them. The output of apt-cache policy kdelibs4 libgnutls11-dev libidn11-dev libarts1-dev kdelibs-bin libcupsys2-gnutls10 would be nice to see as well here is what it looks like on my machine they should all be installable at the required versions to make it work.

Code:
[HappyTux:/home/stephen/archives/tar]# apt-cache policy kdelibs4 libgnutls11-dev libidn11-dev libarts1-dev kdelibs-bin libcupsys2-gnutls10
kdelibs4:
  Installed: 4:3.3.0-2
  Candidate: 4:3.3.0-2
  Version Table:
 *** 4:3.3.0-2 0
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     4:3.2.3-2 0
        990 http://ftp.de.debian.org testing/main Packages
libgnutls11-dev:
  Installed: 1.0.16-7
  Candidate: 1.0.16-7
  Version Table:
     1.0.16-8 0
        600 http://ftp.de.debian.org unstable/main Packages
 *** 1.0.16-7 0
        990 http://ftp.de.debian.org testing/main Packages
        100 /var/lib/dpkg/status
libidn11-dev:
  Installed: 0.5.2-3
  Candidate: 0.5.2-3
  Version Table:
 *** 0.5.2-3 0
        990 http://ftp.de.debian.org testing/main Packages
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
libarts1-dev:
  Installed: 1.3.0-1
  Candidate: 1.3.0-1
  Version Table:
 *** 1.3.0-1 0
        990 http://ftp.de.debian.org testing/main Packages
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
kdelibs-bin:
  Installed: 4:3.3.0-2
  Candidate: 4:3.3.0-2
  Version Table:
 *** 4:3.3.0-2 0
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     4:3.2.3-2 0
        990 http://ftp.de.debian.org testing/main Packages
libcupsys2-gnutls10:
  Installed: 1.1.20final+rc1-7
  Candidate: 1.1.20final+rc1-7
  Version Table:
 *** 1.1.20final+rc1-7 0
        990 http://ftp.de.debian.org testing/main Packages
        600 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
 
Old 10-01-2004, 07:20 PM   #5
qwertyuiop
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
You're right, I missed a line. but it still says after apt-get update
(after I comented the line out)

# apt-get install kdelibs4-dev libcupsys-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcupsys2-dev instead of libcupsys-dev
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-dev: Depends: kdelibs4 (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: libarts1-dev (> 1.3.0) but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.20final+rc1-7) but 1.1.20final+rc1-5 is to be installed
Depends: libgnutls11-dev but it is not going to be installed
E: Broken packages

Here is my sources list

# Primary
#deb ftp://ftp.us.debian.org/debian testing main contrib non-free ##comented man##
#deb-src ftp://ftp.us.debian.org/debian testing main contrib non-free
deb ftp://ftp.us.debian.org/debian unstable main contrib non-free
#deb-src ftp://ftp.us.debian.org/debian unstable main contrib non-free
deb file:/root debs/ ##added for local apt##

# non-us
#deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free ##comented man##
#deb-src ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://download.videolan.org/pub/videolan/debian sid main

#deb file:/mnt/cdrom testing main

# extra
# mplayer site
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
# java site
deb ftp://metalab.unc.edu/pub/linux/deve...own.org/debian unstable main non-free

Thanks for all your help happytux!
 
Old 10-01-2004, 07:31 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally posted by qwertyuiop
You're right, I missed a line. but it still says after apt-get update
(after I comented the line out)

# apt-get install kdelibs4-dev libcupsys-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcupsys2-dev instead of libcupsys-dev
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-dev: Depends: kdelibs4 (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: kdelibs-bin (= 4:3.3.0-2) but 4:3.2.3-4 is to be installed
Depends: libarts1-dev (> 1.3.0) but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
libcupsys2-dev: Depends: libcupsys2-gnutls10 (= 1.1.20final+rc1-7) but 1.1.20final+rc1-5 is to be installed
Depends: libgnutls11-dev but it is not going to be installed
E: Broken packages

Here is my sources list

# Primary
#deb ftp://ftp.us.debian.org/debian testing main contrib non-free ##comented man##
#deb-src ftp://ftp.us.debian.org/debian testing main contrib non-free
deb ftp://ftp.us.debian.org/debian unstable main contrib non-free
#deb-src ftp://ftp.us.debian.org/debian unstable main contrib non-free
deb file:/root debs/ ##added for local apt##

# non-us
#deb ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free ##comented man##
#deb-src ftp://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://download.videolan.org/pub/videolan/debian sid main

#deb file:/mnt/cdrom testing main

# extra
# mplayer site
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
# java site
deb ftp://metalab.unc.edu/pub/linux/deve...own.org/debian unstable main non-free

Thanks for all your help happytux!
Well it looks like it may be getting them from the local packages then the apt-cache policy would have been nice to see this post too but there is more than one way to skin a cat try apt-get -t unstable install kdelibs4-dev libcupsys2-dev libssl-dev kdelibs4 libgnutls11-dev libidn11-dev libarts1-dev kdelibs-bin this should install them if not I am going to have the see the policy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Foobar.lib Package inescapeableus Linux - Software 2 06-21-2005 07:19 PM
which lib is in which package ? boemitsu Slackware 5 12-21-2004 07:00 PM
Installing KDE 3.2.3 w/konstruct gives Qt lib error while compiling... Intrus Mandriva 2 08-08-2004 01:08 PM
lib png package Culbert Linux - Software 0 03-16-2003 12:33 PM
How do I upgrade a package or lib without using rpm or pkgtool? purpleburple Linux - General 4 10-16-2002 09:45 PM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration