[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get problems for unmet dependencies



roberto wrote:

hello,
i have two main questions:

1) since someone else installed Debian on this pc i am working on, i need to know how to check
which version i am currently using of Debian (stable/testing/unstable). These all infos i got from
uname:

	$uname
	Linux 2.4.21 i686 unknown

Try "cat /etc/debian_version".

Also look in "/etc/apt/sources.list" for a clue.

2)i try to install the following packages 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.

If you're installing from the net, make sure you do an "apt-get update" before installing packages.

You might try "apt-get -f install".

You might try searching bugs.debian.org for a bug in the installation routine of tk8.3.dev.

You might try using aptitude instead of apt-get: "aptitude update" followed by "aptitude install tk8.3-dev". I believe aptitude handles dependencies a little better than does apt-get.

--
Kent



Reply to: