Results 1 to 6 of 6

Thread: ---uninstall a package completely

  1. #1
    Join Date
    May 2008
    Beans
    60

    ---uninstall a package completely

    For the long time passed I have been having this problem, but I did not care to much, which
    is:
    For never installed package redmine:
    $dpkg -l redmine
    dpkg-query: no packages found matching redmine
    After I purge it (apt-get purge redmine):
    $dpkg -l redmine
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-=====================-===============-===============-===============================================
    un redmine <none> <none> (no description available)

    As per these info, I know the system still know the redmine package is "un" status, not the same as the status the redmine package is not never installed

    For Ubuntu 14.04 system, After I run apt-get autoremove, I use dpkg -l remine command ang get:
    dpkg-query: no packages found matching redmine

    But for Ubuntu 12.04 system, I have try run apt-get autoremove, apt-get autoclean and apt-get clean command,
    I alway get the status like from dpkg -l redmine:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-=====================-===============-===============-===============================================
    un redmine <none> <none> (no description available)


    Please help me with the command I can use to clean the package installation footprint
    I still did not care to much about this problem, but the solution will make my script simpler.
    Bill Z
    stat -c %a filename

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: ---uninstall a package completely

    Have you tried with
    Code:
    dpkg --purge redmine
    ?
    No idea what redmine is.. /me goes to have a look.

    purge The package is selected to be purged (i.e. we want to remove
    everything from system directories, even configuration files).
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

  3. #3
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,223

    Re: ---uninstall a package completely

    even though you have completely removed the package there may still be a folder in your home folder , this happens with thunderbird i know.
    Go to Home >view> show hidden files. look for a folder named redmine if its there delete it.
    The only dumb question is the one not asked.

    In service to the Dream

  4. #4
    Join Date
    May 2008
    Beans
    60

    Re: ---uninstall a package completely

    Quote Originally Posted by bapoumba View Post
    Have you tried with
    Code:
    dpkg --purge redmine
    ?
    No idea what redmine is.. /me goes to have a look.
    Yes I did "sudo dpkg --purge redmine", the case is still there!
    Bill Z
    stat -c %a filename

  5. #5
    Join Date
    May 2008
    Beans
    60

    Re: ---uninstall a package completely

    Finally I got the solution form manpage dpkg:
    run: sudo dpkg --clear-avail
    Bill Z
    stat -c %a filename

  6. #6
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: ---uninstall a package completely

    Ah good to know
    Please mark your thread as solved (under Thread tools), thanks.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

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
  •