Bug 11395 - Can't uninstall fmms 1.2.4
: Can't uninstall fmms 1.2.4
Status: UNCONFIRMED
Product: fMMS
General
: unspecified
: N900 Maemo
: Unspecified normal (vote)
: ---
Assigned To: Nick Leppänen Larsson
: general
:
:
:
:
  Show dependency tree
 
Reported: 2010-10-13 23:28 UTC by oussamaghazouani
Modified: 2010-11-19 01:08 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description oussamaghazouani (reporter) 2010-10-13 23:28:09 UTC
SOFTWARE VERSION:Maemo5 10.2010.19-1.003
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. I tried to upgrade fmms from 1.2.4 to 1.2.5, failed to upgrade
2. I tried to uninstall fmms 1.2.4. Uninstall failed too
3. fmms now doesn't work at all

EXPECTED OUTCOME:
fmms upgraded from 1.2.4 to 1.2.5
ACTUAL OUTCOME:
fmms doesn't work at all
REPRODUCIBILITY:
(always, less than 1/10, 5/10, 9/10)
always

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
When I try to open fmms, it's loading and then exit.
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10)
Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)
Comment 1 Nick Leppänen Larsson 2010-10-14 08:01:45 UTC
Please attach the log from application manager when trying to
uninstall/upgrade.

Also please try starting fMMS from X-Terminal and attach the output when it
fails to start (/opt/fmms/fmms_gui.py in X-Terminal). Thank you!
Comment 2 oussamaghazouani (reporter) 2010-10-14 12:46:27 UTC
Hi.

When I try to uninstall it says "Unable to uninstall 'fMMS' " then it exits and
it says : "Internal Error. Application 'app. manager' closed."

/opt/mms $ /opt/fmms/fmms_gui.py
Traceback (most recent call last)
  File "/opt/fmms/fmms_gui.py", line 20, in <module>
   import controller_gtk as fMMSController
  File "/opt/fmms/controller_gtk.py", line 16, in <module>
   import controller
  File "/opt/fmms/controller.py", line 31, in <module>
   from wappushhandler import MMSSender
  File "/opt/fmms/wappushhandler.py", line 27, in <module>
   import contacts as ContactH
  File "/opt/fmms/contacts.py", line 14, in <module>
   import evolution
ImportError: No module named evolution

Br.
Comment 3 Nick Leppänen Larsson 2010-10-15 08:08:14 UTC
By tapping the menu bar you should be able to get the log from application
manager.

fMMS is not launching because dependencies have been uninstalled.
Comment 4 oussamaghazouani (reporter) 2010-10-15 14:52:05 UTC
I can't see anything in the log of appl manager since it exit when I try to
uninstall fMMS. Can uninstall fMMS manually?
Comment 5 Nick Leppänen Larsson 2010-10-16 12:04:51 UTC
apt-get remove fmms

I'm pretty sure there is something more going on then simply installing fMMS
and then trying to remove it, are you sure you didnt forget to mention
something like overclocking, using something else than Application Manager to
install/uninstall applications?
Comment 6 oussamaghazouani (reporter) 2010-10-18 09:29:17 UTC
No I didn't do anything like that.

I tried the command but I need to be root apparently:

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: U able to lock the administration directory (/var/lib/dpkg/), are you root?
Comment 7 oussamaghazouani (reporter) 2010-10-25 15:38:00 UTC
Hi Nick.

Any update? How to become root?

Br.

Oussama.
Comment 8 Nick Leppänen Larsson 2010-10-26 08:06:51 UTC
Short version: install rootsh, 'sudo gainroot' and then 'apt-get remove fmms'

Longer version: search wiki.maemo.org and/or talk.maemo.org, plenty of
excellent guides there :)
Comment 9 Markus Lohse 2010-11-19 00:58:24 UTC
Same problem here:
1. I installed it on PR1.2, (never used it)
2. updated Maemo to PR1.3
3. then tied to update fmms -> error

apt says:
Nokia-N900-51-1:~# apt-get remove xmms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package xmms
Nokia-N900-51-1:~# apt-get remove fmms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  fmms
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 803kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing fmms (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 fmms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900-51-1:~# 

Nokia-N900-51-1:~# apt-get install fmms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  fmms: Depends: gnome-python (>= 2.18.0-2maemo6)
        Depends: python-Imaging but it is not going to be installed
        Depends: sharing-fmms (>= 1.0.2) but it is not going to be installed
        Depends: statusmenu-fmms (>= 1.1) but it is not going to be installed
        Depends: python-conic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).
Comment 10 Markus Lohse 2010-11-19 01:08:34 UTC
Ah, forgot something:

Nokia-N900-51-1:~# apt-get -f install     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gnome-python python-Imaging python-all python-conic sharing-fmms
  statusmenu-fmms
Suggested packages:
  python-imaging-doc python-imaging-dbg
The following NEW packages will be installed:
  gnome-python python-Imaging python-all python-conic sharing-fmms
  statusmenu-fmms
0 upgraded, 6 newly installed, 0 to remove and 20 not upgraded.
1 not fully installed or removed.
Need to get 548kB of archives.
After this operation, 1688kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://repository.maemo.org fremantle-1.3/free python-all 2.5.2-3maemo4
[888B]
Get:2 http://repository.maemo.org fremantle-1.3/free gnome-python
2.18.0-2maemo6 [94,8kB]
Get:3 http://repository.maemo.org fremantle-1.3/free python-Imaging
1.1.6-3maemo2 [282kB]
Get:4 http://repository.maemo.org fremantle-1.3/free sharing-fmms 1.0.2 [8682B]
Get:5 http://repository.maemo.org fremantle-1.3/free statusmenu-fmms 1.1
[28,6kB]
Get:6 http://repository.maemo.org fremantle-1.3/free python-conic 0.1-6 [9432B]
Get:7 http://repository.maemo.org fremantle-1.3/free fmms 1.2.6 [124kB]
Fetched 548kB in 2s (241kB/s)
Selecting previously deselected package python-all.
(Reading database ... 34597 files and directories currently installed.)
Unpacking python-all (from .../python-all_2.5.2-3maemo4_all.deb) ...
Selecting previously deselected package gnome-python.
Unpacking gnome-python (from .../gnome-python_2.18.0-2maemo6_armel.deb) ...
Selecting previously deselected package python-imaging.
Unpacking python-imaging (from .../python-Imaging_1.1.6-3maemo2_armel.deb) ...
Selecting previously deselected package sharing-fmms.
Unpacking sharing-fmms (from .../sharing-fmms_1.0.2_armel.deb) ...
Selecting previously deselected package statusmenu-fmms.
Unpacking statusmenu-fmms (from .../statusmenu-fmms_1.1_armel.deb) ...
Selecting previously deselected package python-conic.
Unpacking python-conic (from .../python-conic_0.1-6_armel.deb) ...
Selecting previously deselected package fmms.
Preparing to replace fmms 1.2.6 (using .../archives/fmms_1.2.6_all.deb) ...
Unpacking replacement fmms ...
dpkg: warning - old post-removal script returned error exit status 255
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/fmms_1.2.6_all.deb (--unpack):
 subprocess new post-removal script returned error exit status 255
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 255
Errors were encountered while processing:
 /var/cache/apt/archives/fmms_1.2.6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)