Results 1 to 6 of 6

Thread: Need to uninstall a package with all its dependencies.

  1. #1
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Need to uninstall a package with all its dependencies.

    Hi,

    I am using Leap 15. By mistake installed Firejail from the tumbleweed repos,

    Now I want to uninstall Firejail with all its dependencies which it had pulled from

    the tumbleweed repos.

    Whats the command ?
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: Need to uninstall a package with all its dependencies.

    Code:
    zypper remove --clean-deps firejail
    should do the job; adding the --dry-run option you can see what is going to be done without actually touching your system.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,570

    Default Re: Need to uninstall a package with all its dependencies.

    Also, search “/var/log/zypp/history” for everything which occurred during the installation of the packet you no longer wish to have on your system.
    • This is needed to check that all the chained dependencies which happened at installation time have in fact been found by the ‘zypper’ command …

  4. #4
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Need to uninstall a package with all its dependencies.

    Quote Originally Posted by OrsoBruno View Post
    Code:
    zypper remove --clean-deps firejail
    should do the job; adding the --dry-run option you can see what is going to be done without actually touching your system.
    I am getting this

    Code:
    # zypper remove --clean-deps firejail
    Loading repository data...
    Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
    Reading installed packages...
    Resolving package dependencies...
    
    The following package is going to be REMOVED:
      firejail
    
    1 package to remove.
    After the operation, 1.3 MiB will be freed.
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,790
    Blog Entries
    3

    Default Re: Need to uninstall a package with all its dependencies.

    That "no repositories defined" seemed strange. So I ran a test, and got that same message. It looks as if you can ignore that message.

    It should be okay to just go ahead and use that command, and answer "y" when asked whether to proceed.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Need to uninstall a package with all its dependencies.

    Quote Originally Posted by nrickert View Post
    That "no repositories defined" seemed strange. So I ran a test, and got that same message. It looks as if you can ignore that message.

    It should be okay to just go ahead and use that command, and answer "y" when asked whether to proceed.
    Okay / Thanks
    openSUSE Leap 15
    You aren't rich until you have something that money can't buy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •