Bug#776735: error: no alternatives for gobby
On 2015-02-10 10:24, Goswin von Brederlow wrote: As a side node the old, unconditional removal of the alternatives violates the idempotency of the script. The installation can fail, which I think happened in my case due to other packages failing, or be aborted after the preinst has run. Then when the installation is tried again removing the alternative fails because it is already gone. Fair point. Thanks! Kind regards Philipp Kern -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#776735: error: no alternatives for gobby
On Mon, Feb 09, 2015 at 11:55:58PM +0100, Philipp Kern wrote: On Sat, Jan 31, 2015 at 11:15:22PM +0100, Goswin von Brederlow wrote: Updating gobby from 0.4.13-1 to 0.5.0-4 fails with: Preparing to unpack .../gobby_0.5.0-4_amd64.deb ... update-alternatives: error: no alternatives for gobby dpkg: error processing archive /var/cache/apt/archives/gobby_0.5.0-4_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Did this legitimally happen upon upgrade? Because I would've expected gobby-0.4 and gobby-0.5 to have been around. (Of course one can force this to appear using dpkg -i and not satisfying dependencies, just wondering if that happened here.) I'll fix it anyhow, just trying to figure out if that needs to go into jessie. Kind regards and thanks for the report Philipp Kern It was a normal update of a seldomly used (and therefore sparingly updated) laptop running sid. As a side node the old, unconditional removal of the alternatives violates the idempotency of the script. The installation can fail, which I think happened in my case due to other packages failing, or be aborted after the preinst has run. Then when the installation is tried again removing the alternative fails because it is already gone. MfG Goswin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#776735: error: no alternatives for gobby
On Sat, Jan 31, 2015 at 11:15:22PM +0100, Goswin von Brederlow wrote: Updating gobby from 0.4.13-1 to 0.5.0-4 fails with: Preparing to unpack .../gobby_0.5.0-4_amd64.deb ... update-alternatives: error: no alternatives for gobby dpkg: error processing archive /var/cache/apt/archives/gobby_0.5.0-4_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Did this legitimally happen upon upgrade? Because I would've expected gobby-0.4 and gobby-0.5 to have been around. (Of course one can force this to appear using dpkg -i and not satisfying dependencies, just wondering if that happened here.) I'll fix it anyhow, just trying to figure out if that needs to go into jessie. Kind regards and thanks for the report Philipp Kern signature.asc Description: Digital signature
Bug#776735: error: no alternatives for gobby
Package: gobby Version: 0.5.0-4 Severity: normal Updating gobby from 0.4.13-1 to 0.5.0-4 fails with: Preparing to unpack .../gobby_0.5.0-4_amd64.deb ... update-alternatives: error: no alternatives for gobby dpkg: error processing archive /var/cache/apt/archives/gobby_0.5.0-4_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 MfG Goswin -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Init: unable to detect Versions of packages gobby depends on: ii libatkmm-1.6-1 2.22.7-2.1 ii libavahi-glib1 0.6.31-4+b2 ii libc6 2.19-13 ii libgcc11:4.9.2-10 ii libglib2.0-0 2.42.1-1 ii libglibmm-2.4-1c2a 2.42.0-1 ii libgnomevfs2-0 1:2.24.4-6+b1 ii libgtk2.0-02.24.25-1 ii libgtkmm-2.4-1c2a 1:2.24.4-1.1 ii libgtksourceview2.0-0 2.10.5-2 ii libnet6-1.3-0 1:1.3.14-2 ii libobby-0.4-1 0.4.8-1 ii libpangomm-1.4-1 2.34.0-1.1 ii libsigc++-2.0-0c2a 2.4.0-1 ii libstdc++6 4.9.2-10 ii libxml++2.6-2 2.36.0-2.1 gobby recommends no packages. Versions of packages gobby suggests: pn avahi-daemon none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org