UNINSTALL UBUNTU-TWEAK

Asked by Jim Medcalf

I inadverently attempted to install Ubuntu-Tweak on my laptop. I hadn't noticed that it is intended for Ubuntu 9.10. I only have 9.04 (Jaunty). The install failed, of course, but left a residue of some sort on my computer which I can't get rid of. Computer Janitor simply throws up an error message, as does dpkg -r ubuntu-tweak. An error also appears when I use upgrade manager Can you tell me please, how to get rid of this residue.

Many thanks.

Jim Medcalf.

Question information

Language:
English Edit question
Status:
Solved
For:
UTCOM Edit question
Assignee:
No assignee Edit question
Solved by:
Ding Zhou
Solved:
Last query:
Last reply:
Revision history for this message
Ding Zhou (tualatrix) said :
#1

Hi, Sorry for that.

I think you must install Ubuntu Tweak through: sudo dpkg -i , right?

Please give the output when you try use dpkg -r to remove Ubuntu Tweak.

Revision history for this message
Jim Medcalf (jmmjgm) said :
#2

This is the return from dpkg -r ubuntu-tweak. dpkg -i ubuntu-tweak
simply said not found

"Errors were encountered while processing:
  ubuntu-tweak
jim@jim-laptop:~$ sudo dpkg -r ubuntu-tweak
(Reading database ... 168298 files and directories currently installed.)
Removing ubuntu-tweak ...
Usage: update-python-modules [-v] [-c] package_directory [...]
        update-python-modules [-v] [-c] package.dirs [...]
        update-python-modules [-v] [-a|-f|-p]

update-python-modules: error:
/usr/share/python-support/ubuntu-tweak.private is not a directory
dpkg: error processing ubuntu-tweak (--remove):
  subprocess pre-removal script returned error exit status 2
Usage: update-python-modules [-v] [-c] package_directory [...]
        update-python-modules [-v] [-c] package.dirs [...]
        update-python-modules [-v] [-a|-f|-p]

update-python-modules: error:
/usr/share/python-support/ubuntu-tweak.private is not a directory
dpkg: error while cleaning up:
  subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
  ubuntu-tweak
jim@jim-laptop:~$"

Any further thoughts, please?

Jim Medcalf

Revision history for this message
Best Ding Zhou (tualatrix) said :
#3

OK, try to remove it first

sudo rm -rf /usr/share/python-support/ubuntu-tweak.private

then dpkg -r ubuntu-tweak again

Good luck!

Revision history for this message
Jim Medcalf (jmmjgm) said :
#4

this worked! Many thanks.

Jim Medcalf