Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Blocked or Broken

  1. #1
    Join Date
    Aug 2014
    Beans
    181
    Distro
    Lubuntu 20.04 Focal Fossa

    Blocked or Broken

    What can be done to repair or purge, or delete packages and dependencies which are blocked or broken?

  2. #2
    Join Date
    Jun 2020
    Beans
    260

    Re: Blocked or Broken

    xubuntu 20.04.3 LTS (focal fossa)

  3. #3
    Join Date
    Aug 2014
    Beans
    181
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Blocked or Broken

    Synaptic Package Manager, if it won't allow me to completely get rid of any snap package, especially when I no longer or neveruse it, I believe I would rather use a different package manager which allows me the ability to choose.

    What about using the terminal for working with packages?

    Maybe a command line to show the names of packages, what package's each one depends upon as well their dependencies.

    And maybe some command lines for repairing, removing or uninstalling packages.

  4. #4
    Join Date
    Aug 2006
    Beans
    13,288
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Blocked or Broken

    It depens what kind of packages need repairing/removing. Snaps are not the same as debs, and both are not the same as appimage or flatpack.
    Do you want a manual for all existing packages?
    In case there are hundreds of such packaged, an they are impossible to list, backup and reinstall, but otherwise, provide details.
    Last edited by mikewhatever; August 21st, 2021 at 11:36 AM.

  5. #5
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Blocked or Broken

    I find Stacer GUI to be useful.

    You can manage both packages and snaps through a neat GUI.

  6. #6
    Join Date
    Jun 2020
    Beans
    260

    Re: Blocked or Broken

    Remove packages that didn’t install completely.
    Code:
    sudo apt-get autoclean

    Remove your apt-cache.
    Code:
    sudo apt-get clean

    Remove software dependencies that you don’t need.
    Code:
    sudo apt-get autoremove

    clear thumbnails
    Code:
    rm -rfv ~/.cache/thumbnails

    clear cache
    Code:
    sudo du -sh /var/cache/apt



    update
    Code:
    sudo apt-get update -y

    upgrade
    Code:
    sudo apt upgrade



    Kernel and other Cleanups after Deletions
    Code:
    sudo apt autoremove --purge
    to delete package
    Code:
    sudo apt remove (package name)
    to delete snap package
    Code:
    sudo snap remove (package name)

    stacer a nice GUI tool too,as stated
    Code:
    sudo apt install stacer
    Last edited by 3nd; August 21st, 2021 at 12:14 PM.
    xubuntu 20.04.3 LTS (focal fossa)

  7. #7
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Blocked or Broken

    Adding another tool to the list .. for managing PPA's

    https://launchpad.net/~webupd8team/+.../y-ppa-manager

  8. #8
    Join Date
    Aug 2014
    Beans
    181
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Blocked or Broken

    thank you a whole bunch...

    Are there commands for the terminal to create a list of broken, blocked or unmet items?


    Quote Originally Posted by 3nd View Post
    Remove packages that didn’t install completely.
    Code:
    sudo apt-get autoclean

    Remove your apt-cache.
    Code:
    sudo apt-get clean

    Remove software dependencies that you don’t need.
    Code:
    sudo apt-get autoremove

    clear thumbnails
    Code:
    rm -rfv ~/.cache/thumbnails

    clear cache
    Code:
    sudo du -sh /var/cache/apt



    update
    Code:
    sudo apt-get update -y

    upgrade
    Code:
    sudo apt upgrade



    Kernel and other Cleanups after Deletions
    Code:
    sudo apt autoremove --purge
    to delete package
    Code:
    sudo apt remove (package name)
    to delete snap package
    Code:
    sudo snap remove (package name)

    stacer a nice GUI tool too,as stated
    Code:
    sudo apt install stacer
    Last edited by wyattwhiteeagle; August 21st, 2021 at 03:34 PM.

  9. #9
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Blocked or Broken

    Synaptic Package Manager which you have already tried has Edit > Fix Broken Packages.
    As explained Synaptic does not manage snaps.

  10. #10
    Join Date
    Aug 2013
    Beans
    4,713

    Re: Blocked or Broken

    Quote Originally Posted by dragonfly41 View Post
    I find Stacer GUI to be useful.

    You can manage both packages and snaps through a neat GUI.
    Can't you do that with the software store?

Page 1 of 2 12 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
  •