Hi, I have the following error with apt-get. Can someone sugest a way to fix apt-get so I don't get the errors with the broken packages.
Thanks dave W Alderan:/home/jedi# apt-get install gtk-gnutella Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: Sorry, but the following packages have unmet dependencies: kpackage: Depends: librpm0 (>= 4.0.2-15) but it is not going to be installed Depends: rpm (>= 4.0.2-0) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Alderan:/home/jedi# apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: librpm0 rpm The following packages will be REMOVED: librpm1 The following NEW packages will be installed: librpm0 rpm 0 packages upgraded, 2 newly installed, 1 to remove and 321 not upgraded. 16 packages not fully installed or removed. Need to get 887kB/1593kB of archives. After unpacking 1441kB will be used. Do you want to continue? [Y/n] y Get:1 ftp://mirror.aarnet.edu.au unstable/main hbf-cns40-5 1.0-1 [887kB] Fetched 887kB in 3m13s (4574B/s) (Reading database ... 46939 files and directories currently installed.) Preparing to replace hbf-cns40-5 1.0-1 (using .../hbf-cns40-5_1.0-1_all.deb) ... Unpacking replacement hbf-cns40-5 ... /var/lib/dpkg/info/hbf-cns40-5.postrm: /usr/bin/kpsewhich: No such file or directory dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /var/lib/dpkg/tmp.ci/postrm: /usr/bin/kpsewhich: No such file or directory dpkg: error processing /var/cache/apt/archives/hbf-cns40-5_1.0-1_all.deb (--unpack): subprocess new post-removal script returned error exit status 1 /var/lib/dpkg/tmp.ci/postrm: /usr/bin/kpsewhich: No such file or directory dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/hbf-cns40-5_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Alderan:/home/jedi#