[Bug 4211] Re: cant install artwiz-cursor package in breezy..showing a "subprocess pre-installation script returned error exit status 2"

Guido Nickels gsn at kernel-oops.de
Thu Jun 1 21:25:25 UTC 2006


while trying to install the artwiz-cursor package on a dapper machine:

<-- snip -->

[23:13:22] javelin:~# dpkg -i /var/cache/apt/archives/artwiz-cursor_1%3a1.3-2ubuntu1_all.deb
(Lese Datenbank ... 121460 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke artwiz-cursor (aus .../artwiz-cursor_1%3a1.3-2ubuntu1_all.deb) ...
Leaving `diversion of /usr/share/X11/fonts/misc/cursor.pcf.gz to /usr/share/X11/fonts/misc/cursor.pcf.gz-artwiz by artwiz-cursor'
update-alternatives: Cannot find alternative `/etc/X11/cursors/core.theme'.

dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/artwiz-cursor_1%3a1.3-2ubuntu1_all.deb (--install):
 Unterprozess pre-installation script gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/artwiz-cursor_1%3a1.3-2ubuntu1_all.deb

<-- snap -->

as you can see, update-alternative throws an error because of missing
alternative `/etc/X11/cursors/core.theme'. After installing the xcursor-
themes package which provides that alternative, the artwiz-cursor
package was also installing fine.

so, I assume either xcursor-themes should be added to dependencies or
preinst should check wether the alternative exists or not.

-- 
cant install artwiz-cursor package in breezy..showing a "subprocess pre-installation script returned error exit status 2"
https://launchpad.net/bugs/4211




More information about the universe-bugs mailing list