Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Update - uknown role type

  1. #1

    Default Update - uknown role type

    Hi, I am new to OpenSuse and I have a fresh install of OpenSuse 13.2 with all updates installed.
    However, I am experiencing an unexpected behaviour of the update applet.
    When all updates are installed and I click on the update icon and check for new updates it says "Uknown role type" and "Unknown state".
    The same is displayed when I click on the + sign beside individual updates.
    Is this normal behaviour?

  2. #2
    Join Date
    Sep 2014
    Location
    Portugal
    Posts
    121

    Default Re: Update - uknown role type

    I'm having the same issue, even in 13.1
    After the install of 13.2, I saw once or twice this application properly functioning.
    Anyway, tough it would be nice to work, I only use it for security downloads. The rest I go with yast.
    Also a newbie

  3. #3

    Default Re: Update - uknown role type

    Quote Originally Posted by pumrel View Post
    However, I am experiencing an unexpected behaviour of the update applet.
    When all updates are installed and I click on the update icon and check for new updates it says "Uknown role type" and "Unknown state".
    Yes, that's a cosmetical problem. Just ignore it.

    The same is displayed when I click on the + sign beside individual updates.
    Is this normal behaviour?
    This is a bug/limitation.
    PackageKit shuts itself down after 15 seconds of inactivity to not block YaST/zypper.
    But then Apper cannot display the details (that you get when clicking on '+') any more. If you click on a '+' it should work for another 15 seconds.
    If it doesn't any more "check for new updates", it should work again then (for 15 seconds).

    Workaround: change the ShutdownTimeout in /etc/PackageKit/PackageKit.conf to a higher value, or remove it completely to disable Shutdown at all. But you won't be able to use YaST/zypper anymore then without manually killing packagekitd.

  4. #4

    Default Re: Update - uknown role type

    Thank you for the explanation. Now I get it.
    Although it seems strange that they block each other, especially if they are only checking information about various packages.

  5. #5

    Default Re: Update - uknown role type

    Quote Originally Posted by pumrel View Post
    Although it seems strange that they block each other, especially if they are only checking information about various packages.
    Well, that's a limitation in libzypp it seems:
    https://bugzilla.suse.com/show_bug.cgi?id=899755

    Work is underway to make them interact more nicely and not block each other unnecessarily. But I cannot tell you details about the current status or how long that will take.
    Nothing that would be released as update for 13.2 at least I think.

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,761

    Default Re: Update - uknown role type

    Well blocking is needed because you do not want multiple (same) updates happening at the same time. So some basic file is locked to keep other programs from using it until the update is complete. Think about it do you want 2 different programs loading the same updates at the same time.

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

    Default Re: Update - uknown role type

    On 2014-11-29 02:16, gogalthorp wrote:
    >
    > Well blocking is needed because you do not want multiple (same) updates
    > happening at the same time. So some basic file is locked to keep other
    > programs from using it until the update is complete.


    Yes, but the point is, no blocking is really needed when all you are
    doing is looking at packages and thinking. Only "writing" ops need block.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  8. #8

    Default Re: Update - uknown role type

    Hi,
    This is probably off the topic.
    I always turn off those update applets.
    I check the updates using yast or visit
    this forum to see the new update announcement
    in the news forums..

    This way I need not worry about those applets errors.
    People who do not break things first will never learn to create anything

  9. #9
    josephkk NNTP User

    Default Re: Update - uknown role type

    On Sat, 29 Nov 2014 01:16:01 GMT, gogalthorp
    <gogalthorp@no-mx.forums.opensuse.org> wrote:

    >
    >Well blocking is needed because you do not want multiple (same) updates
    >happening at the same time. So some basic file is locked to keep other
    >programs from using it until the update is complete. Think about it do
    >you want 2 different programs loading the same updates at the same time.
    >



    Very true. It also shares many of the same aspects and issues as shared
    database update atomicity. See postgress, mysql and many others.

    ?-)


  10. #10

    Default Re: Update - uknown role type

    Quote Originally Posted by robin_listas View Post
    On 2014-11-29 02:16, gogalthorp wrote:
    >
    > Well blocking is needed because you do not want multiple (same) updates
    > happening at the same time. So some basic file is locked to keep other
    > programs from using it until the update is complete.


    Yes, but the point is, no blocking is really needed when all you are
    doing is looking at packages and thinking. Only "writing" ops need block.
    True, and at the moment too much is blocked.
    I.e. you can't use YaST/zypper if packagekitd is running without even doing anything.
    But that's no new problem, that was the case in earlier versions as well.

    Hopefully this will be fixed in time for 13.3.
    It's more of a problem for "gnome-software" I think, this needs packagekitd running all the time AIUI.
    Last edited by wolfi323; 29-Nov-2014 at 06:16.

Page 1 of 3 123 LastLast

Posting Permissions

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