Dependency problems
Hi all,
I'm having a problem upgrading a couple packages on my system. I am
trying to do a dist-upgrade to my Debian box (running woody). The
packages in question are
libgnomeprint-bin_0.25-0.1_i386.deb
libgnomeprint-data_0.25-0.1_all.deb
When I try to do the upgrade I get the following error message:
[root@ORION:/var/cache/apt/archives]# apt-get dist-upgrade
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:
libgnomeprint11: Depends: libgnomeprint-data (>= 0.25-0.1) but it is
not installed
E: Unmet dependencies. Try using -f.
So I do an 'apt-get -f install' and I get yet MORE errors:
[root@ORION:/var/cache/apt/archives]# apt-get -f install
<snip>
Unpacking libgnomeprint-bin (from
.../libgnomeprint-bin_0.25-0.1_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libgnomeprint-bin_0.25-0.1_i386.deb (--unpack):
trying to overwrite `/usr/bin/gnome-font-install', which is also in
package libgnomeprint6
Unpacking libgnomeprint-data (from
.../libgnomeprint-data_0.25-0.1_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/libgnomeprint-data_0.25-0.1_all.deb (--unpack):
trying to overwrite `/usr/share/fonts/afms/adobe/pagd8a.afm', which is
also in package libgnomeprint6
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libgnomeprint-bin_0.25-0.1_i386.deb
/var/cache/apt/archives/libgnomeprint-data_0.25-0.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I can't do the upgrade because I have "unmet dependencies" and I
can't fix the dependencies due to the above errors! It's like a
circular problem. I thought Debian was supposed to handle all
dependencies automatically. I've done 'apt-get dist-upgrade' in the
past and it has worked fine. Can someone tell me how to fix this? I
want to have a "pure" system with no corrupt/broken dependencies, so I
thought I should avoid forcing things (which I'm not sure how to do
anyway). If someone can give me a hand with this I'd be grateful.
Thanks in advance.
Casey
--
Casey Henderson
Casey@umit.maine.edu
http://www.cs.umaine.edu/~hender97/
Reply to: