Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] update fuse (2.9.3-14) broken  (Read 8968 times)

Offline samoht

  • User
  • Posts: 478
[solved] update fuse (2.9.3-14) broken
« on: 2014/07/31, 09:12:57 »

Code: [Select]
# LANG="en_US.UTF-8" apt-get -uV dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up fuse (2.9.3-14) ...
dpkg: error processing package fuse (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 fuse
E: Sub-process /usr/bin/dpkg returned an error code (1)


Code: [Select]
# LANG="en_US.UTF-8" apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up fuse (2.9.3-14) ...
dpkg: error processing package fuse (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)


Code: [Select]
# LANG="en_US.UTF-8" apt-get remove fuse
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  fuse
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 111 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 170266 files and directories currently installed.)
Removing fuse (2.9.3-14) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for initramfs-tools (0.115) ...
update-initramfs: Generating /boot/initrd.img-3.15-7.towo-siduction-amd64
WARNING: Can not find "mac" in "macintosh_vndr/de".
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
« Last Edit: 2014/08/01, 09:06:32 by samoht »

reinob

  • Guest
Re: update fuse (2.9.3-14) broken
« Reply #1 on: 2014/07/31, 09:22:17 »
@samoht,

Well at least you managed to remove it, so it's not so bad :)

Now you could try installing it again and if/when it fails, post here the output of /var/lib/dpkg/info/fuse.postinst

When a maintainer post-install script fails there's no way either dpkg or apt-get can help you. You can only either fix the script or fix the environment the script needs to run so as to exit 0 (success).

You might also want to raise a bug report. But maybe we can have a look first at the script.

Offline samoht

  • User
  • Posts: 478
Re: update fuse (2.9.3-14) broken
« Reply #2 on: 2014/07/31, 10:30:31 »
Thanks for your helpful answer, @reinob.
Maybe someone more skillful than me can find the problem  ;)

Code: [Select]
# less /var/lib/dpkg/info/fuse.postinst

#!/bin/sh


set -e


case "${1}" in
   configure)
      if ! dpkg-statoverride --list /bin/fusermount > /dev/null 2>&1
      then
         chmod 4755 /bin/fusermount
      fi


      modprobe fuse > /dev/null 2>&1 || true


      if lsmod | grep -qs fuse
      then
         if udevadm control --reload-rules > /dev/null 2>&1
         then
            if [ -e /dev/fuse ]
            then
               udevadm test -e -p  $(udevadm info -q path -n /dev/fuse) > /dev/null 2>&1
            fi
         fi
      fi


      if [ ! -e /dev/fuse ]
      then
         if [ -x /sbin/MAKEDEV ]
         then
            echo "Creating fuse device..."


            cd /dev
            MAKEDEV fuse
            chmod 0666 /dev/fuse
         else
            echo "MAKEDEV not installed, skipping device node creation."
         fi
      fi


      if [ -x /usr/sbin/update-initramfs ]
      then
         update-initramfs -u
      fi
      ;;


   abort-upgrade|abort-remove|abort-deconfigure)


      ;;


   *)
      echo "postinst called with unknown argument \`${1}'" >&2
      exit 1
      ;;
esac


# Automatically added by dh_installudev
if [ "$1" = configure ]; then
   if [ -e "/etc/udev/rules.d/z60_fuse.rules" ]; then
      echo "Preserving user changes to /etc/udev/rules.d/60-fuse.rules ..."
      if [ -e "/etc/udev/rules.d/60-fuse.rules" ]; then
         mv -f "/etc/udev/rules.d/60-fuse.rules" "/etc/udev/rules.d/60-fuse.rules.dpkg-new"
      fi
      mv -f "/etc/udev/rules.d/z60_fuse.rules" "/etc/udev/rules.d/60-fuse.rules"
   fi
fi
# End automatically added section




exit 0

Last fuse package changes:

Code: [Select]
fuse (2.9.3-14) unstable; urgency=low

  * New maintainer (closes: #756548).
  * Add watch file.

 -- Laszlo Boszormenyi (GCS) <gcs@debian.org>  Wed, 30 Jul 2014 20:33:25 +000

fuse (2.9.3-13) unstable; urgency=low

  * I don't care anymore, not worth it.. orphaning.

 -- Daniel Baumann <daniel@laptop.127011.net>  Fri, 25 Jul 2014 16:33:54 +0200

...

Greetings
Tom

« Last Edit: 2014/07/31, 10:50:05 by samoht »

da0x20man

  • Guest
Re: update fuse (2.9.3-14) broken
« Reply #3 on: 2014/07/31, 11:10:08 »
This line:
Code: [Select]
udevadm test -e -p  $(udevadm info -q path -n /dev/fuse) > /dev/null 2>&1should be:
Code: [Select]
udevadm test -a -p  $(udevadm info -q path -n /dev/fuse) > /dev/null 2>&1
At least looking at the 2.9.3-13 package...

reinob

  • Guest
Re: update fuse (2.9.3-14) broken
« Reply #4 on: 2014/07/31, 11:26:26 »
@da0x20man,

Let's see if that does it. Would be really cool :)

@samht,

If not, then you could jus edit (as root) the script and remove most of the stuff in the "configure)" part, so that it looks so:

Code: [Select]
case "${1}" in
   configure)
      ;;

If the installation succeeds, just make sure you chmod 4755 /bin/fusermount. Then "update-initramfs -u". Then reboot :)
Good luck.

da0x20man

  • Guest
Re: update fuse (2.9.3-14) broken
« Reply #5 on: 2014/07/31, 11:36:18 »
Well, it worked here and it's the suggested way to test a device according the Debian wiki (https://wiki.debian.org/udev), but the udevadm manual is a little too terse...

And yeah, udevadm test -e give the error message "invalid option -- 'e'"


Edit: to modify the package, extract the content in a dir (ex foo), modify the postinst file and then
dpkg-deb -b foo fuse_2.9.3-14_i386.deb
« Last Edit: 2014/07/31, 11:41:43 by da0x20man »

Offline seasons

  • User
  • Posts: 269

Offline rueX

  • User
  • Posts: 135
Re: update fuse (2.9.3-14) broken
« Reply #7 on: 2014/07/31, 15:44:12 »
same prob with d-u:
i also removed fuse:

apt-get purge fuse

...wil be removed too:

encfs*
fuse*
ntfs-3g*
ntfs-config*
sshfs*
testdisk*

i think: sshfs is important ?! we should re-install it ...?


Offline samoht

  • User
  • Posts: 478
Re: update fuse (2.9.3-14) broken
« Reply #8 on: 2014/08/01, 09:05:25 »
Thanks to all for paying attention, help and the quick rescue fix in the siduction repo!
Marked as solved
Code: [Select]

# less /usr/share/doc/fuse/changelog.Debian.gz

fuse (2.9.3-15) unstable; urgency=low


  * Use correct long option for udevadm in postinst (closes: #756582).


 -- Laszlo Boszormenyi (GCS) <gcs@debian.org>  Thu, 31 Jul 2014 20:07:21 +0000


...


Greetings
Tom
« Last Edit: 2014/08/01, 09:36:04 by samoht »

susa

  • Guest
Re: [solved] update fuse (2.9.3-14) broken
« Reply #9 on: 2014/08/01, 16:38:29 »
Code: [Select]
#dpkg --configure -a
fuse (2.9.3-14) wird eingerichtet ...
dpkg: Fehler beim Bearbeiten des Paketes fuse (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 fuse
[code] und bei [code]
 apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 380 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
fuse (2.9.3-14) wird eingerichtet ...
dpkg: Fehler beim Bearbeiten des Paketes fuse (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 fuse
E: Sub-process /usr/bin/dpkg returned an error code (1)
[code] kommt das
« Last Edit: 2014/08/01, 16:42:33 by susa »

susa

  • Guest
Re: [solved] update fuse (2.9.3-14) broken
« Reply #10 on: 2014/08/01, 16:58:00 »
hmm, vielleicht kann jemand helfen.

reinob

  • Guest
Re: [solved] update fuse (2.9.3-14) broken
« Reply #11 on: 2014/08/01, 17:02:23 »
@susa,

Du brauchst die neue Version (2.9.3-15).

# apt-get update
# apt-get install fuse

falls apt-get install nicht funktionieren sollte, dann zuerst dpkg -P fuse, und dann noch mal probieren :)

susa

  • Guest
Re: [solved] update fuse (2.9.3-14) broken
« Reply #12 on: 2014/08/01, 17:44:49 »
hmm, ich dachte schon es hier runterzuladenttps://packages.debian.org/sid/fuse nur ich hab noch nichts passendes gefunden

Offline rueX

  • User
  • Posts: 135
Re: [solved] update fuse (2.9.3-14) broken
« Reply #13 on: 2014/08/01, 19:39:50 »
habs grad probiert: klappt: fuse (solved)

apt-get update --fix-missing

apt-get install fuse (2.9.3-15)

und d-u läuft plötzlich durch ( vorausgesetzt, man hat fuse zuvor : apt-get purge fuse )


Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: update fuse (2.9.3-14) broken
« Reply #14 on: 2014/08/01, 20:05:57 »
Wer  tatsächlich fuse zwischendurch gepurged hatte (und nicht einfach nur seit gestern still abgewartet bis der Fix in den Repos war), der sollte daran denken die weiter oben geposteten mitentfernten Pakete wieder zu re-installieren ;)
same prob with d-u:
i also removed fuse:

apt-get purge fuse

...wil be removed too:

encfs*
fuse*
ntfs-3g*
ntfs-config*
sshfs*
testdisk*

i think: sshfs is important ?! we should re-install it ...?
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.