LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-13-2005, 06:34 AM   #1
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Huge problem with apt & fuse-utils


Running Debian unstable on 2.6.13.
Long story short apt-get stopped working for me (or something) probably due to some errors with fuse-utils. Some time ago, when trying to play with gmailfs, I installed fuse ando so on. As I didn't manage to make it work, yesterday (a few upgrades after installing fuse) i removed fuse (actually fuse-utils), and today, some weird things happened (yesterday i removed some more - not needed - programs, that not break dependancies). I wanted to run apt-get dist-upgrade (after update), to get deps solved, but it showed me, that some things to upgrade have bugs, and if I want to continue, same thing with apt-get upgrade. I answered 'no' but later i pined those faulty things and continued. And i saw something like this:
Code:
gehirn:/home/zohar# apt-get upgrade
blah...blah...blah
66 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 77 nieaktualizowanych.
Konieczne pobranie 0B/63,1MB archiwów.
Po rozpakowaniu zostanie dodatkowo u¿yte 2966kB miejsca na dysku.
Czy chcesz kontynuowaæ [T/n]? 
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done       
Prekonfiguracja pakietów ...
dpkg: syntax error: unknown group `fuse' in statoverride file 
E: Sub-process /usr/bin/dpkg returned an error code (2)
And apt stops with error. What to do?
I found it may be connected to some after-remove-file of fuse, which works like:
Code:
#!/bin/bash -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x
CONFFILE=/etc/default/fuse-utils
is_true() {
  case $1 in
    1|true|True|TRUE|y*|Y*) return 0;;
    *) return 1;;
  esac
}
case $1 in
  purge)
    ucf --purge $CONFFILE
    rm -f $CONFFILE
    dpkg-statoverride --remove /usr/bin/fusermount  2>/dev/null || true
  ;;
  failed-upgrade|upgrade)
  ;;
  remove)
    if is_true $FUSE_GROUPDELETE && [[ -n $FUSE_GROUP ]]; then
                dpkg-statoverride --remove /usr/bin/fusermount  2>/dev/null || true
        fi
  ;;
  *)
    echo "postrm called with unknown argument \`$1'" >&2
    exit 1
  ;;
esac
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
        db_purge
fi
# End automatically added section
exit 0
 
Old 09-13-2005, 05:35 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
First, backup the file /var/lib/dpkg/statoverride-old.
It may be needed if the following doesn't work.

Next, open the text file /var/lib/dpkg/statoverride.
Look for a line that includes the reference to 'fuse'.

When located, remove it and try the apt command again.

Last edited by Xian; 09-13-2005 at 05:37 PM.
 
Old 09-13-2005, 06:12 PM   #3
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you very much Stupid me...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get doesnt install alsa-base and utils......plz help! max0 Debian 4 07-21-2006 02:47 PM
apt-utils on RH9? orange400 Linux - Software 2 09-01-2004 09:13 PM
apt-utils and RH9 orange400 Linux - Software 14 08-10-2004 06:52 AM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 09:15 AM
Slackware 9.1 with Zoomtown & Fuse sylord Linux - Networking 1 04-09-2004 05:02 AM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration