Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: gabrielb on 2014/01/26, 12:17:33

Title: d-u error: wine-bin & libwine-bin
Post by: gabrielb on 2014/01/26, 12:17:33
Hallo,

ein d-u auf amd64 gibt mir folgendes zurück:
(d-u on amd64 gives following error:)

Code: [Select]
libwine-bin (1.6.2-3) wird eingerichtet ...
/var/lib/dpkg/info/libwine-bin.postinst: 5: /var/lib/dpkg/info/libwine-bin.postinst: dpkg-maintainer-helper: not found
dpkg: Fehler beim Bearbeiten des Paketes libwine-bin (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 127 zurück
Fehler traten auf beim Bearbeiten von:
 libwine-bin

Das Selbe für wine-bin.
(Same for wine-bin)

/var/lib/dpkg/info/libwine-bin.postinst sieht dabei folgendermaßen aus:
(Content of libwine-bin.postinst)
Code: [Select]
#!/bin/sh

set -e

dpkg-maintscript-helper symlink_to_dir \
    /usr/share/doc/libwine-bin/changelog.Debian.gz \
    /usr/share/doc/libwine/changelog.Debian.gz \
    1.4.1-4 -- "$@"

dpkg-maintscript-helper symlink_to_dir \
    /usr/share/doc/libwine-bin/copyright \
    /usr/share/doc/libwine/copyright \
    1.4.1-4 -- "$@"

Workaround: in den Dateien
(Possible solution: in)
Code: [Select]
/var/lib/dpkg/info/libwine-bin.postinst
/var/lib/dpkg/info/wine-bin.postinst

jeweils "dpkg-maintainer-helper" durch "dpkg-maintscript-helper" ersetzen.
(change "dpkg-maintainer-helper" to "dpkg-maintscript-helper)

Bei mir läuft dann alles ohne Fehler durch.
(At least it works for me)

Kann jemand bestätigen, dass das ein "Fix" ist, der keine Nebenwirkungen hat?
(Does anyone knof if this is a proper "solution"?)

Liebe Grüße,
GabrielB
Title: Re: d-u error: wine-bin & libwine-bin
Post by: raschu on 2014/01/27, 09:02:44
Danke für Deine Lösung, sie hat auch bei mit funktioniert.

Gruß
Raimund
Title: Re: d-u error: wine-bin & libwine-bin
Post by: michaa7 on 2014/01/27, 14:30:44
Please file a bug report (using reportbug; as sid users we should become accustomed to do so where it is appropriate).
You'll get back for free the info whether your workarond was the right solution ...
Title: Re: d-u error: wine-bin & libwine-bin
Post by: gabrielb on 2014/01/27, 18:05:12
Silly me, I dont't know why I forgot about reporting it...
There's already a Bug Report about it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736713 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736713)