LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   kde lib for compiling broken package (https://www.linuxquestions.org/questions/debian-26/kde-lib-for-compiling-broken-package-237349/)

qwertyuiop 09-30-2004 11:02 PM

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.

HappyTux 10-01-2004 12:49 AM

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.

qwertyuiop 10-01-2004 05:16 PM

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.

HappyTux 10-01-2004 06:00 PM

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


qwertyuiop 10-01-2004 06:20 PM

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!

HappyTux 10-01-2004 06:31 PM

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.


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