Results 1 to 10 of 10

Thread: [SOLVED] dpkg -r program not working

  1. #1
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    [SOLVED] dpkg -r program not working

    This should be easy enough.
    I installed a .deb package cxchromium_0.9.0-1_i386.deb which is crossove + chromium, and worked fine until I wanted to go to webpages with it ^^

    I can start chromium up with terminal and the deb package seems to have set everything up except so it would be able to be uninstalled.

    dpkg -r chromium does not work :
    Code:
    gummi@BlackBobcat:~$ sudo dpkg -r chromium
    dpkg - warning: ignoring request to remove chromium which isn't installed.
    So obviusly it is'nt listed... and I am not sure how to do that.

    I'd rather want to learn how to make dpkg work it out, than locate and delete every file manualy.

    Help?

  2. #2
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: dpkg -r program not working

    It doesn't show in Synaptic, under "Local installation" or something ? There's a tab for this, but I don't remember the exact name, and I'm running Mandriva at the moment. From there you should be able to remove it.
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

  3. #3
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: dpkg -r program not working

    Try:

    Code:
    sudo dpkg -r cxchromium
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  4. #4
    Join Date
    Jan 2007
    Location
    in sunny & hot UK
    Beans
    214

    Re: dpkg -r program not working

    dpkg is a tool, that should be used when you work with local .deb files, e.g.- when you downloaded program that isnt in repo.
    in most cases, if you want to install application, type

    sudo aptitude install name_of_application

  5. #5
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: dpkg -r program not working

    Quote Originally Posted by szymon_g View Post
    dpkg is a tool, that should be used when you work with local .deb files, e.g.- when you downloaded program that isnt in repo.
    in most cases, if you want to install application, type

    sudo aptitude install name_of_application
    You think Chromium is in the repositories ? He's not talking about Chromium the side-scroller game here, he's talking about the Crossover port of Google Chrome.

    Edit : iaculallad has it right.
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

  6. #6
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: dpkg -r program not working

    Quote Originally Posted by iaculallad View Post
    Try:

    Code:
    sudo dpkg -r cxchromium

    omf[nonexisting]g, why didn't I think of that -.-

    btw isn't there a lookup command that finds part of the name, like there I could have looked for "chrom" and it would give me every program that includes that in the name.

    perhaps is it possible to make dpkg list all installed programs and use grep to find my program?

  7. #7
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: dpkg -r program not working

    To get the applications installed, use:

    Code:
    dpkg --get-selections
    and to save it to a file:

    Code:
    dpkg --get-selections > installed_apps
    and to locate your applications name using grep:

    Code:
    dpkg --get-selections | grep application_name
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  8. #8
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: dpkg -r program not working

    Quote Originally Posted by iaculallad View Post
    To get the applications installed, use:

    Code:
    dpkg --get-selections
    and to save it to a file:

    Code:
    dpkg --get-selections > installed_apps
    and to locate your applications name using grep:

    Code:
    dpkg --get-selections | grep application_name
    I dont see the reason for saving it to a file, but this is great tool to remember imo, thank you very much.

  9. #9
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: dpkg -r program not working

    Quote Originally Posted by Bölvağur View Post
    I dont see the reason for saving it to a file
    Backup for future reinstallations. Better than spending an hour in Synaptic trying to remember what else I installed last time.
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

  10. #10
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: dpkg -r program not working

    Quote Originally Posted by Bölvağur View Post
    I dont see the reason for saving it to a file, but this is great tool to remember imo, thank you very much.
    -You can use it to do application re-installation-

    To create backup of the applications installed:

    Code:
    dpkg --get-selections > ~/installed_apps
    To do the re-installation:

    Code:
    sudo dpkg --get-selections < ~/installed_apps
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

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
  •