Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: [SOLVED] How to fix broken packages?

  1. #1
    Join Date
    Oct 2008
    Beans
    349

    Angry [SOLVED] How to fix broken packages?

    Hello, thank you very much for looking at my topic!

    whenever I try to add new programs I get this error:

    "Could not apply changes! Fix broken packages first."

    So I went to Package Manager>Edit>Fix broken packages but it seems to think none of em are broke. I also tried:

    Code:
    sudo apt-get -f install
    And that didn't work either.

    ;_;

  2. #2
    Join Date
    Aug 2007
    Location
    Indonesia
    Beans
    768
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to fix broken packages?

    sudo apt-get install -f

  3. #3
    Join Date
    Jun 2008
    Location
    Phra Nakhon Sri Ayutthaya
    Beans
    1,307
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to fix broken packages?

    Which packages need to be fixed?

  4. #4
    Join Date
    Jan 2008
    Location
    Philippines
    Beans
    172

    Re: How to fix broken packages?

    try to download again the package.. uninstall and install again..

  5. #5
    Join Date
    Oct 2008
    Beans
    349

    Re: How to fix broken packages?

    Oedha, didn't work, same result as the other way around.

    Eternal, no idea whatsoever.

    Rybax, I can't install any packages...


    Thanks for replying!

  6. #6
    Join Date
    Aug 2007
    Location
    Indonesia
    Beans
    768
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to fix broken packages?

    what about sudo apt-get update
    have you activated your repository ?

  7. #7
    Join Date
    Jan 2008
    Location
    Philippines
    Beans
    172

    Re: How to fix broken packages?

    havn't u try Synaptic?

  8. #8
    Join Date
    Jul 2008
    Location
    Suceava, Romania
    Beans
    265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to fix broken packages?

    Is your internet connection working? And if so, please list your /etc/apt/sources.list file.
    The Odor
    I would rather be exposed to the inconveniences attending too much liberty than to those attending small a degree of it. -- Thomas Jefferson
    Put the fun back into computing. Use Linux, BSD.

  9. #9
    Join Date
    Mar 2007
    Location
    Florida
    Beans
    91
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to fix broken packages?

    Try
    Code:
    sudo apt-get update
    to update your package list.
    Then
    Code:
    sudo apt-get autoclean
    to clean up any partial packages.
    Then
    Code:
    sudo apt-get clean
    to clean up the apt cache.
    Code:
    sudo apt-get autoremove
    will clean up any unneeded dependencies.
    If while doing this you can identify the broken package this code will very forcefully remove it.
    Code:
    sudo dpkg --remove -force --force-remove-reinstreq package name
    Change package name to the real name of course.

  10. #10
    Join Date
    Oct 2008
    Beans
    349

    Re: How to fix broken packages?

    To everybody that helped:

    Thanks so much! I finally got it working. Couldn't do it without ya'll. =]

Page 1 of 3 123 LastLast

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
  •