Results 1 to 6 of 6

Thread: Force reinstall of package

  1. #1
    Join Date
    Apr 2008
    Beans
    99

    Force reinstall of package

    Have searched for this and can't find a solution...
    Believe I have screwed my Apache and/or Zoneminder packages, and have looked for a method to force a 'reinstall' of a package (don't want to have to uninstall/reinstall - scared it could get ugly..) but can't find one.
    How do I fix a broken package?
    Thanks.
    Ubuntu 13.10 x64
    Gigabyte H55M-D2H/Intel i5
    Onboard graphic/sound - 4GB DDR3

  2. #2
    Join Date
    Jan 2008
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Force reinstall of package

    Hey you could try

    sudo apt-get install --no-install-recommends package_name

  3. #3
    Join Date
    Apr 2008
    Beans
    99

    Re: Force reinstall of package

    Quote Originally Posted by unevenflow View Post
    Hey you could try

    sudo apt-get install --no-install-recommends package_name
    Nope, just get "<package-name> is already the newest version."
    Ubuntu 13.10 x64
    Gigabyte H55M-D2H/Intel i5
    Onboard graphic/sound - 4GB DDR3

  4. #4
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Force reinstall of package

    choices:

    sudo apt-get install --reinstall mypackage

    sudo dpkg-reconfigure mypackage

    ( or if the other solutions have failed:

    sudo apt-get purge mypackage && sudo apt-get install mypackage

    and logout/in )

  5. #5
    Join Date
    Apr 2008
    Beans
    99

    Re: Force reinstall of package

    a belated thanks!
    Ubuntu 13.10 x64
    Gigabyte H55M-D2H/Intel i5
    Onboard graphic/sound - 4GB DDR3

  6. #6
    Join Date
    Feb 2013
    Beans
    1

    Re: Force reinstall of package

    posted on wrong topic, my bad.
    Last edited by Nirgali; February 26th, 2013 at 07:44 PM.

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
  •