• 11.3 pkg uninstall "recursively"? Stuck on dependency loop

    From ARZ Lab@21:1/5 to All on Tue Oct 26 03:08:07 2021
    Hi Group,

    I'm quite new to pkg, mostly used pkg[info|add|rm] before.

    Trying to reduce the footprint of new full 11.3 install, started with gnome and could not find any way to remove the packages including dependants.

    Ended up with self-mate recursive script, but that one has found two packages that depend on each other

    ===========================
    bash-4.1#
    bash-4.1# pkg uninstall system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0' due to the following packages that depend on it:
    system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2
    bash-4.1#
    bash-4.1# pkg uninstall system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2 Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2' due to the following packages that depend on it:
    system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0
    bash-4.1#
    =============================

    How can I get out of it?
    I cold not find any option for force uninstall ignoring dependencies

    Thanks
    Andrei

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YTC#1@21:1/5 to ARZ Lab on Sun Oct 31 16:26:09 2021
    On 26/10/2021 11:08, ARZ Lab wrote:
    Hi Group,

    I'm quite new to pkg, mostly used pkg[info|add|rm] before.

    Trying to reduce the footprint of new full 11.3 install, started with gnome and could not find any way to remove the packages including dependants.

    Ended up with self-mate recursive script, but that one has found two packages that depend on each other

    The normal install procedure is to start minimal and work up.
    Default install should be solaris-small-server, a lot of people the
    increase that to solaris-large-server.

    For desktp it is solaris-desktop.

    So, in the 1st instance try
    pkg uninstall solaris-desktop




    ===========================
    bash-4.1#
    bash-4.1# pkg uninstall system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0' due to the following packages that depend on it:
    system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2
    bash-4.1#
    bash-4.1# pkg uninstall system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/input-method/imf-startup@0.5.11-0.175.3.0.0.26.2' due to the following packages that depend on it:
    system/display-manager/desktop-startup@0.37.1-0.175.2.0.0.26.0
    bash-4.1#
    =============================

    How can I get out of it?
    I cold not find any option for force uninstall ignoring dependencies

    Thanks
    Andrei




    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From ARZ Lab@21:1/5 to All on Tue Nov 2 04:25:59 2021
    On Sunday, October 31, 2021 at 5:26:15 PM UTC+1, YTC#1 wrote:
    On 26/10/2021 11:08, ARZ Lab wrote:
    Hi Group,

    I'm quite new to pkg, mostly used pkg[info|add|rm] before.

    Trying to reduce the footprint of new full 11.3 install, started with gnome and could not find any way to remove the packages including dependants.

    Ended up with self-mate recursive script, but that one has found two packages that depend on each other
    The normal install procedure is to start minimal and work up.
    Default install should be solaris-small-server, a lot of people the
    increase that to solaris-large-server.

    For desktp it is solaris-desktop.

    So, in the 1st instance try
    pkg uninstall solaris-desktop

    ===========================
    bash-4.1#
    bash-4.1# pkg uninstall system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0' due to the following packages that depend on it:
    system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2
    bash-4.1#
    bash-4.1# pkg uninstall system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2' due to the following packages that depend on it:
    system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0
    bash-4.1#
    =============================

    How can I get out of it?
    I cold not find any option for force uninstall ignoring dependencies

    Thanks
    Andrei

    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/


    Thanks Bruce
    Uninstalling solaris-desktop was a good idea.
    That ran good, however, I still have bunch of gnome/ audio/ umage/ print/ groups with weird dependencies between each other that make it impossible ro remove the packages in a clean way, without risking to kill the system. In fact, I don't mind the risk,
    but there seem to be neither --force nor --nodeps options. Or is there?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to andywhycare@gmail.com on Tue Nov 2 14:48:01 2021
    In article <5436b002-ddba-4b56-9685-07b5d24abc71n@googlegroups.com>,
    ARZ Lab <andywhycare@gmail.com> wrote:
    Uninstalling solaris-desktop was a good idea.
    That ran good, however, I still have bunch of gnome/ audio/ umage/
    print/ groups with weird dependencies between each other that make

    What's depending on them? <URL:https://docs.oracle.com/cd/E86824_01/html/E54763/pkg-1.html>
    $ pkg search -l depend::package/pkg

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YTC#1@21:1/5 to ARZ Lab on Tue Nov 2 19:42:25 2021
    On 02/11/2021 11:25, ARZ Lab wrote:
    On Sunday, October 31, 2021 at 5:26:15 PM UTC+1, YTC#1 wrote:
    On 26/10/2021 11:08, ARZ Lab wrote:
    Hi Group,

    I'm quite new to pkg, mostly used pkg[info|add|rm] before.

    Trying to reduce the footprint of new full 11.3 install, started with gnome and could not find any way to remove the packages including dependants.

    Ended up with self-mate recursive script, but that one has found two packages that depend on each other
    The normal install procedure is to start minimal and work up.
    Default install should be solaris-small-server, a lot of people the
    increase that to solaris-large-server.

    For desktp it is solaris-desktop.

    So, in the 1st instance try
    pkg uninstall solaris-desktop

    ===========================
    bash-4.1#
    bash-4.1# pkg uninstall system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0' due to the following packages that depend on it:
    system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2
    bash-4.1#
    bash-4.1# pkg uninstall system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2
    Creating Plan (Solver setup): -
    pkg uninstall: Unable to remove 'system/input-method/imf-s...@0.5.11-0.175.3.0.0.26.2' due to the following packages that depend on it:
    system/display-manager/desktop...@0.37.1-0.175.2.0.0.26.0
    bash-4.1#
    =============================

    How can I get out of it?
    I cold not find any option for force uninstall ignoring dependencies

    Thanks
    Andrei

    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly"
    http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/


    Thanks Bruce
    Uninstalling solaris-desktop was a good idea.
    That ran good, however, I still have bunch of gnome/ audio/ umage/ print/ groups with weird dependencies between each other that make it impossible ro remove the packages in a clean way, without risking to kill the system. In fact, I don't mind the
    risk, but there seem to be neither --force nor --nodeps options. Or is there?



    As this is a new install, I'd suggest you start again and install either solaris-small-server (text installer)and add what you need , or i using
    AI then solaris-large-server.

    Have a look at https://docs.oracle.com/cd/E53394_01/html/E54814/gmkea.html

    (I can't find the S11.4 page just now)



    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)