Results 1 to 10 of 10

Thread: How to delete "Synaptic Package Manager" config files?

  1. #1
    Join Date
    May 2012
    Beans
    6

    Question How to delete "Synaptic Package Manager" config files?

    There is a bug in synaptic " https://bugs.launchpad.net/ubuntu/+s...ic/+bug/779756
    " which prevents deleting custom filter created. How can I remove config files for synaptic, since 'apt-get purge' didn't work. I want to remove synaptic config files, so that on reinstall there is no custom filter created by me.

  2. #2
    Join Date
    Aug 2009
    Location
    Under the stairs.
    Beans
    1,408
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to delete "Synaptic Package Manager" config files?

    The easy way is to install ubuntu-tweak which has a package cleaner that also purges config files.
    Dell Inspiron 1764 Laptop, Intel CoreTM i5 520M), 4GB Shared Dual Channel DDR3 at 1066MHz, 512MB ATI Mobility RadeonTM HD4330 Integrated Intel HD.

  3. #3
    Join Date
    May 2012
    Beans
    6

    Re: How to delete "Synaptic Package Manager" config files?

    Quote Originally Posted by Enigmapond View Post
    The easy way is to install ubuntu-tweak which has a package cleaner that also purges config files.
    How to do that manually since I don't like installing many software? Also why "apt-get purge" is not working?

  4. #4
    Join Date
    Aug 2009
    Location
    Under the stairs.
    Beans
    1,408
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to delete "Synaptic Package Manager" config files?

    apt-get purge <file name> will delete the programme and all config files from the original file. If there are dependencies they would need to be listed separately..
    Dell Inspiron 1764 Laptop, Intel CoreTM i5 520M), 4GB Shared Dual Channel DDR3 at 1066MHz, 512MB ATI Mobility RadeonTM HD4330 Integrated Intel HD.

  5. #5
    Join Date
    Aug 2009
    Location
    Under the stairs.
    Beans
    1,408
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to delete "Synaptic Package Manager" config files?

    OR

    Code:
    dpkg -l | awk '/^rc/{ print $2}' | sudo xargs dpkg --purge
    This will purge all orphaned configs....just found it.

    SOURCE - http://tuxtweaks.com/2011/09/remove-...les-in-ubuntu/
    Dell Inspiron 1764 Laptop, Intel CoreTM i5 520M), 4GB Shared Dual Channel DDR3 at 1066MHz, 512MB ATI Mobility RadeonTM HD4330 Integrated Intel HD.

  6. #6
    Join Date
    May 2012
    Beans
    6

    Re: How to delete "Synaptic Package Manager" config files?

    Quote Originally Posted by Enigmapond View Post
    apt-get purge <file name> will delete the programme and all config files from the original file. If there are dependencies they would need to be listed separately..
    Tried this but didn't work.

  7. #7
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to delete "Synaptic Package Manager" config files?

    I created a custom filter and found it in /root/.synaptic/filters. Remove that file and it appears to remove any custom filters. To be on the safe side, you could also try moving it out of that folder rather than delete it.
    GRUB2

    Retired.

  8. #8
    Join Date
    May 2012
    Beans
    6

    Re: How to delete "Synaptic Package Manager" config files?

    Quote Originally Posted by drs305 View Post
    I created a custom filter and found it in /root/.synaptic/filters. Remove that file and it appears to remove any custom filters. To be on the safe side, you could also try moving it out of that folder rather than delete it.
    Thanks! This is what I was looking for. Any idea why "sudo apt-get purge synaptic" didn't remove these files?

  9. #9
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to delete "Synaptic Package Manager" config files?

    Quote Originally Posted by purgeinator View Post
    Thanks! This is what I was looking for. Any idea why "sudo apt-get purge synaptic" didn't remove these files?
    Not really. The filter file is in root's .synaptic folder, which seems like a normal location for configuration files to me.

    Perhaps someone else might know, or maybe the Launchpad bug thread will provide some insight.

    Once you have found the answer, no longer care, or give up, please mark the thread SOLVED via the thread tools link at the upper right of the right post.

    Happy Ubuntu-ing !
    GRUB2

    Retired.

  10. #10
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    5,417
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to delete "Synaptic Package Manager" config files?

    Purge doesn't remove files from any Home directory. It really isn't a good thing to do, no matter what bad habits people have picked up from using Windows.
    None but ourselves can free our minds

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
  •