PDA

View Full Version : apt doesn't work right.HELP!



jasmith
08-17-2004, 05:22 PM
ok this is my first taste of dependency h--- with debian.
when i type the apt-get install <packagename> apt does what it is supposed to and builds the dependency tree. but then it says it wont install the neaded packages!

here a the results from two tries, one bastille, the other kdenetwork

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bastille: Depends: libcurses-perl but it is not going to be installed
kdenetwork: Depends: dcoprss (>= 4:3.2.3-1) but it is not going to be installed
Depends: kdict (>= 4:3.2.3-1) but it is not going to be installed
Depends: kget (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: knewsticker (>= 4:3.2.3-1) but it is not going to be installed
Depends: kopete (>= 4:3.2.3-1) but it is not going to be installed
Depends: kpf (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: kppp (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krdc (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krfb (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: ksirc (>= 4:3.2.3-1) but it is not going to be installed
Depends: kwifimanager (>= 4:3.2.3-1) but it is not going to be installed
Depends: librss1 (>= 4:3.2.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


and the other


Reading Package Lists... Done
Building Dependency Tree... Done
kdenetwork is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bastille: Depends: perl-tk (>= 1:800.011) but it is not going to be installed or
libcurses-perl but it is not going to be installed or
libgtk-perl but it is not going to be installed
kdenetwork: Depends: dcoprss (>= 4:3.2.3-1) but it is not going to be installed
Depends: kdict (>= 4:3.2.3-1) but it is not going to be installed
Depends: kget (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: knewsticker (>= 4:3.2.3-1) but it is not going to be installed
Depends: kopete (>= 4:3.2.3-1) but it is not going to be installed
Depends: kpf (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: kppp (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krdc (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krfb (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: ksirc (>= 4:3.2.3-1) but it is not going to be installed
Depends: kwifimanager (>= 4:3.2.3-1) but it is not going to be installed
Depends: librss1 (>= 4:3.2.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

can anyone make heads or tails out of this?
thanx

mzilikazi
08-17-2004, 08:31 PM
ok this is my first taste of dependency h--- with debian.

That doesn't qualify as dependency hell my friend. ;)


when i type the apt-get install <packagename> apt does what it is supposed to and builds the dependency tree. but then it says it wont install the neaded packages!

here a the results from two tries, one bastille, the other kdenetwork

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bastille: Depends: libcurses-perl but it is not going to be installed
kdenetwork: Depends: dcoprss (>= 4:3.2.3-1) but it is not going to be installed
Depends: kdict (>= 4:3.2.3-1) but it is not going to be installed
Depends: kget (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: knewsticker (>= 4:3.2.3-1) but it is not going to be installed
Depends: kopete (>= 4:3.2.3-1) but it is not going to be installed
Depends: kpf (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: kppp (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krdc (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krfb (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: ksirc (>= 4:3.2.3-1) but it is not going to be installed
Depends: kwifimanager (>= 4:3.2.3-1) but it is not going to be installed
Depends: librss1 (>= 4:3.2.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


and the other


Reading Package Lists... Done
Building Dependency Tree... Done
kdenetwork is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bastille: Depends: perl-tk (>= 1:800.011) but it is not going to be installed or
libcurses-perl but it is not going to be installed or
libgtk-perl but it is not going to be installed
kdenetwork: Depends: dcoprss (>= 4:3.2.3-1) but it is not going to be installed
Depends: kdict (>= 4:3.2.3-1) but it is not going to be installed
Depends: kget (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: knewsticker (>= 4:3.2.3-1) but it is not going to be installed
Depends: kopete (>= 4:3.2.3-1) but it is not going to be installed
Depends: kpf (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: kppp (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krdc (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: krfb (>= 4:3.2.3-1) but 4:3.2.2-1 is to be installed
Depends: ksirc (>= 4:3.2.3-1) but it is not going to be installed
Depends: kwifimanager (>= 4:3.2.3-1) but it is not going to be installed
Depends: librss1 (>= 4:3.2.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

can anyone make heads or tails out of this?
thanx

The way I see it apt told you what to do not once but 4 times!

apt-get update && apt-get -f install

If that doesn't work post the error message please.

Markus
08-17-2004, 08:53 PM
Looks to me like bastille wants kde from unstable but you have testing in /etc/apt/apt.conf
You can either bite the bullet and upgrade kde to unstable or try with:
apt-get -s -t testing install --reinstall bastille

CrashedAgain
08-19-2004, 04:53 PM
Apt will do this if/when you are trying to install a .deb package you have already downloaded because then it doesn't go looking for other packages to satisfy. Sometimes it will also do this if it is trying to mix stable/testing/unstable packages.

I have never had any success trying to fix this with 'apt-get -f install'.
'Apt-get update' is probably not going to help either unless your package lists are really out of date.

'Apt-get -t unstable install <package>' or 'Apt-get -t testing install <package>' is more likely to get results.

Or you can specify to install each of the packages mentioned:

apt-get install bastille libcurses-perl
apt-get install kdenetwork dcoprss kdict kget (etc) but this is YOU chasing dependencies which is what apt is supposed to do for you.

BTW, kdenetwork is a metapackage which includes all the apckages listed. You might be better to just select the ones you want & install them eg:

apt-get install kget kppp