Results 1 to 10 of 10

Thread: How to cause dependency problem?

  1. #1

    Default How to cause dependency problem?

    OpenSUSE have Yast2 and zypper. As far as I remember, Yast2 allows for user intervention. PackageKit have had problems with it. To solve it, I started DaemonUI. DaemonUI uses Bonsole. Bonsole sources are on sourceforge.net . Read this topic: https://github.com/hughsie/PackageKit/issues/415 . Question is: how to do/cause dependency problem?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    26,928

    Default Re: How to cause dependency problem?

    Create an RPM that asks for a dependant package that does not exist?

    Sorry, but I may have completley misunderstood what you want.
    Henk van Velden

  3. #3

    Default Re: How to cause dependency problem?

    Ok. That's what I want. Can you provide some stub?

    Sorry, but I understood your solution doesn't solve my problem. I need a dependency problem for which zypper could suggest at least two solutions.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    26,928

    Default Re: How to cause dependency problem?

    Quote Originally Posted by Lachu View Post
    Ok. That's what I want. Can you provide some stub?

    Sorry, but I understood your solution doesn't solve my problem. I need a dependency problem for which zypper could suggest at least two solutions.
    I never did this. But I would start with general information about RPM packages and maybe
    Code:
    man rpmbuild
    But this are my very basic "first things that pop-up in my brain". So basic that I can not imagine you didn't the same. That is the reason for my "I may have completley misunderstood what you want".

    And does not YaST on a missing dependency give you at least two options? Something like:
    1. install and break the product;
    2. do not install.
    Last edited by hcvv; 08-Aug-2020 at 08:56.
    Henk van Velden

  5. #5

    Default Re: How to cause dependency problem?

    Yast gives an options, but I need an solution integrated with PackageKit. Benefits are:
    1. It's cross distro
    2. Many software centers could use this

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    26,928

    Default Re: How to cause dependency problem?

    I do not knopw much of PackageKit. It is not installed here.

    One of the main reasons for me using openSUSE is YaST. Includsing it's Software Management.

    BTW if everything would be "cross distro" why then have different distros?
    Henk van Velden

  7. #7

    Default Re: How to cause dependency problem?

    That's (cross-distro) not problem for difference. System could be similar, but DE and Applications could provide differences. Plasma5 and GNOME could provide different system settings and different way to use system.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,597
    Blog Entries
    2

    Default Re: How to cause dependency problem?

    Quote Originally Posted by Lachu View Post
    OpenSUSE have Yast2 and zypper. As far as I remember, Yast2 allows for user intervention. PackageKit have had problems with it. To solve it, I started DaemonUI. DaemonUI uses Bonsole. Bonsole sources are on sourceforge.net . Read this topic: https://github.com/hughsie/PackageKit/issues/415 . Question is: how to do/cause dependency problem?
    Recommend outlining your problem and then your possible solution.
    Any solution will have to include the backend means to solve the problem, not simply the User interface.

    When you mention DaemonUI and Bonsole, both of those are simply UI tools that might enable a User to use a web browser to display a remote console... It is not related in any way to the real work that might need to work to be your solution.

    In other words... frontends (often the UI) is only the means to make something easy to visualize and perhaps to access something, but the frontend must connect to a backend where the real work happens.

    And BTW -- I haven't looked at any web browser console implementations recently but in general most have been blacklisted by web engines because a remote console and in particular one capable of root access is considered too risky and dangerous to expose in a web browser today.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9

    Default Re: How to cause dependency problem?

    Bonsole is running as normal user and it's not remote. I known, that adding interfaces to daemon makes it less secure, but bonsole support only custom protocol, which could be used to create a link (for example). When user click a link, string from this link is send to connected application. I known that parsing string is hard, but currently there's no better solution. It's simple and don't require changes (for example) dbus interface - backend will generate UI and could provide UI for any problem.

  10. #10

    Default Re: How to cause dependency problem?

    Please, close this thread.

    Solution is to add Conflict: meta to your's package. I add Conflict: Bash and it worked.

Posting Permissions

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