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

Thread: (Recommended) Applications are reinstalled without warning

  1. #1

    Default (Recommended) Applications are reinstalled without warning

    Hej,

    I just switched to Opensuse from another Linux distribution. Apart from some positive things and some new different of doing things there is one problem I don't know how to handle.

    I use Opensuse 11.4, 32 Bit, Gnome desktop. I deinstalled quite a lot of the supplied software because I don't have any use for it (all kind of software, like Orca, xchat, planner...).

    When entering Yast the deinstalled software is listed in the "recommended" section. When I install other software from rpms all the software from this section gets reinstalled, silently (which is especially annoying when on a GPRS connection...).

    How do I prevent this? How can I remove the recommendations?

    Thanks.

  2. #2

    Default Re: (Recommended) Applications are reinstalled without warning

    When you remove a package it should be added to /var/lib/zypp/SoftLocks. Once there it will not be selected for installation just because it is a soft dependency.

    If this is not the behavior you are seeing with the GTK frontend, please open a bug report in https://bugzilla.novell.com/. It works with the Qt frontend and zypper.

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: (Recommended) Applications are reinstalled without warning

    RedDwarf wrote:

    >
    > When you remove a package it should be added to /var/lib/zypp/SoftLocks.
    > Once there it will not be selected for installation just because it is a
    > soft dependency.
    >
    > If this is not the behavior you are seeing with the GTK frontend,
    > please open a bug report in https://bugzilla.novell.com/. It works with
    > the Qt frontend and zypper.
    >

    Beside that you can try to add a package lock with zypper as a workaround:

    zypper al <packagename>

    as root, this has to work definitely.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  4. #4

    Default Re: (Recommended) Applications are reinstalled without warning

    The packages are added to the SoftLocks file, but that seems to be ignored. Next time the reinstall will happen (and it reinstalls each and every program I deinstalled) I will try the uninstall via the QT GUI which seems to be a little more powerful - there is a taboo option and no "recommended" group.

    Thanks for your help.

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: (Recommended) Applications are reinstalled without warning

    On 2011-05-19 17:36, Hains wrote:
    >
    > The packages are added to the SoftLocks file, but that seems to be
    > ignored. Next time the reinstall will happen (and it reinstalls each and
    > every program I deinstalled)


    Maybe there are dependencies involved that want those packages. Perhaps a
    metapackage or pattern.


    > I will try the uninstall via the QT GUI
    > which seems to be a little more powerful - there is a taboo option and
    > no "recommended" group.


    The quick method to launch it:

    yast2 --qt sw_single
    yast2 --qt online_update

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6

    Default Re: (Recommended) Applications are reinstalled without warning

    Hm, it happened more than once. I was setting up the new system, so I did some manual installations. And I tried to deinstall more than once (not everything after the first two reinstalls, just partly to watch). The software I installed (and that triggered the reinstall) is different in nature (like Opera, CollabNet SVN client, Skype), the software I deinstalled likewise (Orca, xchat, all the games, everything related to scanning, evolution, totem, planner, cheese, gnucash...). As a Suse beginner I can't see any connections. Are there metapackages like "desktop tools" that could fire? The "Schemes" that are visible in the QT GUI don't seem to act like metapackages.

    I switched the GUI toolkit permanently as shown here: Switch Yast Interface to QT

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: (Recommended) Applications are reinstalled without warning

    On 2011-05-19 22:36, Hains wrote:

    > I switched the GUI toolkit permanently as shown here: 'Switch Yast
    > Interface to QT' (http://tinyurl.com/2vhougk)


    Try to uninstall those packages using YaST. If it says it can not because
    some other thing needs it, you know the cause.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #8

    Default Re: (Recommended) Applications are reinstalled without warning

    Quote Originally Posted by robin_listas View Post
    Try to uninstall those packages using YaST. If it says it can not because some other thing needs it, you know the cause.
    The uninstalling works without problems in either GUI, the problem is the (silent, not announced, never acknowledged) reinstall. In the GUI all the uninstalled stuff is listed as "recommended", I thought it may have to do something with this. How are these "recommendation" generated anyway? They are ... completely off for me. In fact it can't be more wrong than recommend what I deliberately uninstalled.

    Thanks for your support.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: (Recommended) Applications are reinstalled without warning

    On 2011-05-20 01:36, Hains wrote:
    >
    > robin_listas;2341973 Wrote:
    >> Try to uninstall those packages using YaST. If it says it can not
    >> because some other thing needs it, you know the cause.
    >>

    >
    > The uninstalling works without problems in either GUI, the problem is
    > the (silent, not announced, never acknowledged) reinstall. In the GUI
    > all the uninstalled stuff is listed as "recommended", I thought it may
    > have to do something with this. How are these "recommendation" generated
    > anyway? They are ... completely off for me. In fact it can't be more
    > wrong than recommend what I deliberately uninstalled.


    I have never seen that.

    If you can uninstall a package without complaint, I don't understand they
    been automatically reinstalled.

    All that in the QT YaST interface? Or with another program? You may have
    found a bug.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  10. #10

    Default Re: (Recommended) Applications are reinstalled without warning

    Quote Originally Posted by Hains View Post
    The uninstalling works without problems in either GUI, the problem is the (silent, not announced, never acknowledged) reinstall. In the GUI all the uninstalled stuff is listed as "recommended", I thought it may have to do something with this. How are these "recommendation" generated anyway? They are ... completely off for me. In fact it can't be more wrong than recommend what I deliberately uninstalled.

    Thanks for your support.
    "Recommendations" are in the RPM packages themselves, stored as any other dependency. The packager decides what to recommend.
    As said, if the GTK interface automatically selects for installations packages that are in the /var/lib/zypp/SoftLocks file it's a bug.

    If you test, you will see that an execution of "zypper install-new-recommends" will not select those packages. If you remove the package from /var/lib/zypp/SoftLocks and run "zypper install-new-recommends" again now it will be selected.

    martin_helm advice is valid (supposing the GTK interface doesn't ignore also locks), but you need to file a bug report if you want the problem to be fixed.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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