LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-18-2005, 11:54 AM   #1
rohr
Member
 
Registered: Jan 2005
Distribution: debian
Posts: 44

Rep: Reputation: 15
Post installation of xlibs-dev


hello,
i try to install the following via
#apt-get install <package-name>
1) tcl8.3
2) tcl8.3-dev
3) tk8.3
4) tk8.3-dev

no problems with 1,2,3 but when i come up to the last i receive error message like this:

Sorry, but the following packages have unmet dependencies:
tk8.3-dev: Depends: xlibs-dev but it is not going to be installed
E: Sorry, broken packages

and prompts me again.

Any idea welcome!
 
Old 01-18-2005, 01:48 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Do you happen to run a mixed testing/unstable or stable/testing system? If so, you may need to put the "-t" flag to get all dependencies installed:
Code:
apt-get install -t testing tk8.3-dev
Otherwise, you may want to try:
Code:
apt-get install xlibs-dev
and see what error you get. You can also manually install xlibs-dev from: http://packages.debian.org/stable/devel/tk8.3-dev Just download the deb file and install with "dpkg -i xlibs-dev*.deb"
 
Old 01-19-2005, 03:32 AM   #3
rohr
Member
 
Registered: Jan 2005
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
Well, since someone else installed Debian on this pc i am working on, first of all i need to know how to check which version i am currently using of Debian, then i'll try the commands you gave me:
#apt-get install -t "my_version" tk8.3-dev
or
#dpkg -i xlibs-dev*.deb

Anyway, i also tried to run:

#apt-get install xlibs-dev

and i got the following:

Sorry, but the following packages have unmet dependencies:
xlibs-dev: Depends: xlibs (= 4.3.0-0ds2.0.0woody2) but 4.1.0-16 is to be installed
E: Sorry, broken packages

Thank you!
 
Old 01-19-2005, 11:07 AM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
You can try:
Code:
nano /etc/apt/apt.conf
and see what it says for default release. If that file doesn't exist, try:
Code:
nano /etc/apt/sources.list
and see if the sources are for "stable", "testing", or "unstable".

It looks to me like the error is because you are using xlibs from stable (version 4.1.0), but the package requires xlibs version 4.3.0 (available in testing). If you add testing sources, you can install the file. If you make your sources.list file look like:
Code:
#Stable
deb http://ftp.us.debian.org/debian stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#Testing
deb http://ftp.us.debian.org/debian testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
You will have testing and stable sources. After running:
Code:
apt-get update
the testing packages will be available to install. If you then run:
Code:
apt-get install x-window-system
it will upgrade your X windows from version 4.1 to 4.3. If you then run:
Code:
apt-get install tk8.3-dev
it will also install the required files from testing.

Note: If you do what I said above, any time you install new software, it will automatically come from the "testing" branch because packages are newer versions than stable. If you prefer to keep most things stable, you should read about pinning: http://jaqque.sbih.org/kplug/apt-pinning.html
 
Old 01-21-2005, 02:26 AM   #5
rohr
Member
 
Registered: Jan 2005
Distribution: debian
Posts: 44

Original Poster
Rep: Reputation: 15
Well, it worked fine using:

#apt-get install -t stable tk8.3-dev

Thank you!
I'm now considering to upgrade system to testing. But that's another matter.
Bye.
 
  


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
[SOLVED] how install xlibs headers? lord_didger Linux - Software 2 08-19-2005 11:12 AM
howto get Xlibs to display pixmap? SciYro Programming 0 07-31-2004 07:11 AM
link to xlibs jemmyw Programming 0 04-23-2004 10:53 AM
xlibs and libxrender problem.... rebelcan Debian 3 02-20-2004 04:30 PM
where to get xlibs-dev package for redhat 8? kinghari Linux - Newbie 0 10-16-2003 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:07 AM.

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