Results 1 to 5 of 5

Thread: ubuntu tweak wont launch, uninstall or reinstall getting frustrated

  1. #1
    Join Date
    Jul 2012
    Location
    stilwell, Oklahoma
    Beans
    69
    Distro
    Ubuntu 13.04 Raring Ringtail

    ubuntu tweak wont launch, uninstall or reinstall getting frustrated

    well ive tried everything guys and my ubuntu tweak app is just broken. when it starts i get the splash logo then it closes.
    when i go to uninstall i get this
    Code:
    E: ubuntu-tweak: unable to securely remove '/usr/lib/python2.7/dist-packages/ubuntutweak/settings/compizsettings.py': Not a directory
    and when i reinstall i get this
    Code:
    Removing ubuntu-tweak ...dpkg: error processing ubuntu-tweak (--remove):
     unable to securely remove '/usr/lib/python2.7/dist-packages/ubuntutweak/settings/compizsettings.py': Not a directory
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
     ubuntu-tweak
    Error in function:
    any help is appriciated, thanks

  2. #2
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ubuntu tweak wont launch, uninstall or reinstall getting frustrated

    Try

    Code:
    sudo -i
    dpkg --purge ubuntu-tweak
    apt-get remove --purge ubuntu-tweak
    apt-get clean
    apt-get autoremove
    apt-get update
    apt-get upgrade
    apt-get install ubuntu-tweak
    exit
    Make sure 'ubuntu-tweak' is the correct name, if its not then use the correct name.
    "Evolution is Nature's way of issuing upgrades."


  3. #3
    Join Date
    Jul 2012
    Location
    stilwell, Oklahoma
    Beans
    69
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: ubuntu tweak wont launch, uninstall or reinstall getting frustrated

    ok so i did as you said and it got to the second command
    Code:
    dpkg --purge ubuntu-tweak
    and the return output was this:
    Code:
    root@ricky-945G-M3:~# dpkg --purge ubuntu-tweak
    (Reading database ... 212313 files and directories currently installed.)
    Removing ubuntu-tweak ...
    dpkg: error processing ubuntu-tweak (--purge):
     unable to securely remove '/usr/lib/python2.7/dist-packages/ubuntutweak/settings/compizsettings.py': Not a directory
    Errors were encountered while processing:
     ubuntu-tweak

  4. #4
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ubuntu tweak wont launch, uninstall or reinstall getting frustrated

    No apport report written because MaxReports is reached already
    You may not have enough disk space, post the output of:
    Code:
    df -h
    I suspect you may have accumulated unused and older kernels. If that is the case, then remove unused kernels with Synaptic Package manager, if you have it installed or:
    Code:
    sudo dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get -y purge
    EDIT: Before you run the above command make sure you are booting with the latest kernel.
    Check with:
    Code:
    uname -r

    dpkg: error processing ubuntu-tweak (--purge):
    unable to securely remove '/usr/lib/python2.7/dist-packages/ubuntutweak/settings/compizsettings.py': Not a directory
    Remove it manually:
    Open Nautilus as root, navigate yourslef to '/usr/lib/python2.7/dist-packages' find an delete 'ubuntutweak'.
    Last edited by fantab; November 14th, 2013 at 05:34 AM.
    "Evolution is Nature's way of issuing upgrades."


  5. #5
    Join Date
    Jul 2012
    Location
    stilwell, Oklahoma
    Beans
    69
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: ubuntu tweak wont launch, uninstall or reinstall getting frustrated

    thanks so much i removed the files manually and then removed all links with Synapse now i have it re-installed and fully functional, thanks again ill mark it as solved

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •