Package: stardict
Version: 3.0.1-8
Severity: grave

Hi,

stardict-gtk and stardict-gnome both ship stardict.desktop now, while
in the earlier versions it is shipped within stardict-common,

$ cat debian/stardict-gtk.install
stardict usr/bin/
debian/tmp/usr/share/applications/*       # stardict.desktop

$ cat debian/stardict-gnome.install
debian/tmp/usr/bin/stardict
debian/tmp/usr/lib/bonobo/servers/GNOME_Stardict.server
debian/tmp/usr/share/gnome/*
debian/tmp/usr/share/applications/*       # stardict.desktop
debian/tmp/etc/gconf/schemas/*
debian/tmp/usr/share/idl/*


it causes error during installation such as,


Unpacking replacement stardict-gtk ...
dpkg: error processing
/var/cache/apt/archives/stardict-gtk_3.0.1-8_amd64.deb (--unpack):
 trying to overwrite '/usr/share/applications/stardict.desktop', which
is also in package stardict-common 3.0.1-7
configured to not write apport reports
                                      Preparing to replace
stardict-common 3.0.1-7 (using .../stardict-common_3.0.1-8_all.deb) ...
Unpacking replacement stardict-common ...
Preparing to replace stardict 3.0.1-7 (using .../stardict_3.0.1-8_all.deb) ...
Unpacking replacement stardict ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for bash-completion ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for install-info ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Errors were encountered while processing:
 /var/cache/apt/archives/stardict-gtk_3.0.1-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of stardict:
 stardict depends on stardict-gtk (>= 3.0.1-8) | stardict-gnome (>= 3.0.1-8); 
however:
  Version of stardict-gtk on system is 3.0.1-7+b1.
  Package stardict-gnome is not installed.
dpkg: error processing stardict (--configure):
 dependency problems - leaving unconfigured



it might work by moving stardict.desktop to stardict-common or
declaring stardict-{gtk,gnome} conflicted with earlier versions of
stardict-common.


Kind regards,
Lifeng Sun

-- 

Attachment: signature.asc
Description: GnuPG digital signature

Reply via email to