Announcement

Collapse
No announcement yet.

Uninstall problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Uninstall problem

    I know this might seem the dumbest of dumb questions but please try and put up with me. How do you uninstall a piece of software from Kubuntu which is not installed via the Adept Manager?

    I'm talking about a piece of software called Pixel Image Editor (demo), which I downloaded from the web. It came as a .deb package and it self installed.

    I read about Pixel Image Editor on a this discussion forum so downloaded the demo and used it for a little while before purchasing and downloading the full version. Since then everything's gone pear shaped.

    I couldn't install the full version because the demo was installed and it doesn't over write those files. I then tried to find all the files belonging to the demo version and delete them manually using the Konsole. Alas I still cannot load the full version.

    When I try to install the program, the process stops at this point...

    (Reading database ... 149360 files and directories currently installed.)
    Unpacking pixel (from .../pixel_1.0.699-1_i386.deb) ...
    dpkg: error processing /home/charlie/Downloads/pixel_1.0.699-1_i386.deb (--install):
    trying to overwrite `/usr/share/mimelnk/image/px.desktop', which is also in package pixeldemo
    Errors were encountered while processing:
    /home/charlie/Downloads/pixel_1.0.699-1_i386.deb

    I've continued to hunt down and delete files that are associated with the demo but so far I can't satisfy the full program installer that the demo is really gone from my system.

    #2
    Re: Uninstall problem

    if the application got installed by a .deb package file,
    you must be able to find it with adept and delete it.
    use the search field...

    otherwise, from command line...
    start a konsole and make it as wide as possible.
    then enter:
    Code:
    sudo dpkg-query -l '*pixel*'
    to find out the actual package name

    and then
    Code:
    sudo apt-get autoremove <package_name> --purge
    to remove the package (i.e. the files installed by the package)

    if you're unsure, ask again...

    hth
    gnu/linux is not windoze

    Comment


      #3
      Re: Uninstall problem

      Many thanks for any help. Sadly these suggestions have not worked although I may have misunderstood something. I ran the commands in the Terminal window and tried to install the package once again but have been presented with the same error as before when the package fails to install.

      Comment


        #4
        Re: Uninstall problem

        well, no, i wanted you to remove the demo installation first.
        the full version installation complains because of the demo installation.
        or so i understand.
        the final version installation tries to overwrite files which belong to the demo installation and it stops.
        so, one way of sorting things out is to make sure the demo installation (i.e. all the files that go with it)
        be removed before trying to install the full version of your app.
        that's what i had in mind...

        please, start a konsole, make it at least 150 columns wide and post the result of
        Code:
        dpkg-query -l '*pixel*'
        thanks

        ps:
        this should really be a simple matter.
        so, please, be patient.
        i'm sure we'll sort it out.
        i have other things in store...
        gnu/linux is not windoze

        Comment


          #5
          Re: Uninstall problem

          Here's the result...

          charlie@chaslux:~$ dpkg-query -l '*pixel*'
          Desired=Unknown/Install/Remove/Purge/Hold
          | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
          |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
          ||/ Name Version Description
          +++-===============================-===============================-================================================== ============================
          in pixel <none> (no description available)
          ii pixeldemo 1.0.699-1 Image editing, retouching and manipulating program
          charlie@chaslux:~$

          Comment


            #6
            Re: Uninstall problem

            alright...good.

            now, let's remove the demo installation.
            pls, enter (you could do this via the adept gui, but, well, i'm not very good with guis...):
            Code:
            sudo apt-get autoremove pixeldemo --purge
            once this is done, you can try and install the pixel full version again.
            it should complete without too many troubles...

            gnu/linux is not windoze

            Comment


              #7
              Re: Uninstall problem

              I have now done as you said. Last time I left the greater and lesser brackets in the line of code which is probably why it failed.

              Anyway, below is the result, which as you can see has a reference to directory `/usr/share/mime/image' which is not empty and is the one complained about by the installer.

              charlie@chaslux:~$ sudo apt-get autoremove pixeldemo --purge
              [sudo] password for charlie:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              The following packages were automatically installed and are no longer required:
              xulrunner-1.9-gnome-support
              The following packages will be REMOVED
              pixeldemo* xulrunner-1.9-gnome-support*
              0 upgraded, 0 newly installed, 2 to remove and 19 not upgraded.
              After this operation, 35.2MB disk space will be freed.
              Do you want to continue [Y/n]? Y
              (Reading database ... 149359 files and directories currently installed.)
              Removing pixeldemo ...
              dpkg - warning: while removing pixeldemo, directory `/usr/share/mime/image' not empty so not removed.
              Removing xulrunner-1.9-gnome-support ...

              Comment


                #8
                Re: Uninstall problem

                ok.
                so, now pixeldemo is removed.

                Originally posted by Chazzer
                Anyway, below is the result, which as you can see has a reference to directory `/usr/share/mime/image'
                which is not empty and is the one complained about by the installer.
                well, not quite.
                at least not from what i read in your previous post.
                the installation complained about a file in /usr/share/mimelnk/image, not mime.

                please try and install the pixel full version again.
                see what the installer says.
                in case it complain about something, please post the messages.

                meanwhile, please install the apt-file package.
                this is a very useful utility that allows you to see what package each file on your system belongs to.
                so that if we still get complaints about files being overwritten, we can check where they come from.
                it's a very small package, anyway...
                must be something like 100kb or even less.

                let's see...
                gnu/linux is not windoze

                Comment


                  #9
                  Re: Uninstall problem

                  Aha, that's it. The install completed without a problem. Thank you so much.

                  Comment

                  Working...
                  X