Click to See Complete Forum and Search --> : Error with apt-get


SlCKB0Y
12-14-2000, 10:41 PM
Hi! im running Debian Potato which has been upgraded to woody and I've got this really annoying error with apt-get. It basically seems like this

a needs b
b cant be installed because b is included in z
z cant be uninstalled to install b because x needs z

It seems like someone has stuffed up the package dependancies.

Anyways, this has happened when i tried to install task-helix-gnome, and here is the actual message.


localhost:/home/scole# apt-get install libgnomeprint-data
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libgnomeprint-bin libgnomeprint11
The following NEW packages will be installed:
libgnomeprint-bin libgnomeprint-data libgnomeprint11
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/376kB of archives. After unpacking 2011kB will be used.
Do you want to continue? [Y/n] y
Selecting previously deselected package libgnomeprint-data.
(Reading database ... 43400 files and directories currently installed.)
Unpacking libgnomeprint-data (from .../libgnomeprint-data_0.25-helix1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libgnomeprint-data_0.25-helix1_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)
Selecting previously deselected package libgnomeprint11.
Unpacking libgnomeprint11 (from .../libgnomeprint11_0.25-helix1_i386.deb) ...
Selecting previously deselected package libgnomeprint-bin.
Unpacking libgnomeprint-bin (from .../libgnomeprint-bin_0.25-helix1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libgnomeprint-bin_0.25-helix1_i386.deb (--unpack):
trying to overwrite `/usr/bin/gnome-font-install', which is also in package libgnomeprint6
Errors were encountered while processing:
/var/cache/apt/archives/libgnomeprint-data_0.25-helix1_all.deb
/var/cache/apt/archives/libgnomeprint-bin_0.25-helix1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Is there any way i can fix this? has anyone else had this problem?

It seems like upgrading libgnomeprint6 -> 11 would help this? But is there anyways i can force apt-get to install it? Im new to debian so sorry for my lack of experience with apt-get

I know its only a small issue but i hate lose ends like this, they really bug me!


[This message has been edited by SlCKB0Y (edited 14 December 2000).]

rod
12-14-2000, 11:34 PM
SlCKB0Y... I recieved the same errors myself a week or two ago. At that time there was also a package libgnomeprint12. I installed libgnomeprint12 (lost a couple other programs in the process, but everything else was fine). Now it seems that libgnomeprint12 is no longer availible. I am at this moment running potato and helix(fresh install), getting ready to upgrade to woody. I will post results.

Regards,
Rod

rod
12-16-2000, 12:07 AM
Well it seems that the problem with <libgnomeprint6/11> has been fixed. I just finished upgrading to unstable and it went smoothly and without a hitch. You may want to try dist-upgrade and see how it goes for you.

I took a look in dselect to see which version of libgnomeprint is installed, both 6 and 11 are happy with each other now.

Regards,
Rod

SlCKB0Y
12-16-2000, 02:08 AM
Originally posted by rod:
Well it seems that the problem with <libgnomeprint6/11> has been fixed. I just finished upgrading to unstable and it went smoothly and without a hitch. You may want to try dist-upgrade and see how it goes for you.

I took a look in dselect to see which version of libgnomeprint is installed, both 6 and 11 are happy with each other now.

Regards,
Rod

I figured out the only thing relying on libgnomeprint6 was like gnucash or something like that. So i simply deleted that. dselect helped me a lot