There is one little thing in YaST that I just can’t figure out. I often let the package manager do its thing and then select Package → All Packages → Update if newer version available. Of course, this updates all my packages (and I have quite a few). So far, so good. The problem is that one package (KRename) keeps updating to a development stream which frankly doesn’t work well at all. So, I select the ‘Versions’ tab on the package and regress it to the stable stream. The trouble is that every time I refresh all my packages it gets updated to the latest dev stream. How can I make it stay on the version I select without having to deselect it EVERY TIME I decide to update my system?
I thought hat right clicking on the package in YaST > Software > Software Management and setting it to “Taboo – Never Install” would do this. Or am I naive?
Thanks for the suggestions but I’ve tried all those before and none of them work as you’d expect. If you select ‘Protected - Do Not Modify’ and then ‘Update if newer version available’ it immediately flags the package for updating so that doesn’t work. If you select ‘Taboo’ then the icon doesn’t change at all and it still tries to update.
>
> Thanks for the suggestions but I’ve tried all those before and none of
> them work as you’d expect. If you select ‘Protected - Do Not Modify’
> and then ‘Update if newer version available’ it immediately flags the
> package for updating so that doesn’t work. If you select ‘Taboo’ then
> the icon doesn’t change at all and it still tries to update.
>
> Any other ideas?
>
>
If you mark it “Protected - Do not modify”, and then let the system work as
intended, doing updates through the tray-applet, or through the yast based
“online update”, or through “zypper update”… it’ll work fine and not update
your selections as desired.
When you right click and select ‘update if newer available’… you’re
overriding things. So yast rightly assumes that you want to update things.
Use the update applications as intended, all will be good.
I tried the ‘zypper addlock -t patch krename’ and it still tries to update it. I think that Loni is right and that the option ‘Update if newer version available’ overrides these settings completely. I’ve always used that option because it’s the only way I’ve found to update all the packages on my system at once. The tray applet doesn’t seem to pick up all changes to packages, just security patches. I can let the tray applet do its thing and then run YaST and see a swathe of more packages to be updated when I use the option above. I’ve not played with ‘zypper update’ or the ‘Online Update’ which I assume to be some sort of system update, only making changes to the core components. After setting the package to protected neither of the zypper update nor the online update do anything - which is good. That means they’re not trying to update KRename and there’s nothing else to update. I’ll have to play with it for a couple more days and see what happens.
>
> I tried the ‘zypper addlock -t patch krename’ and it still tries to
> update it. I think that Loni is right and that the option ‘Update if
> newer version available’ overrides these settings completely. I’ve
> always used that option because it’s the only way I’ve found to update
> all the packages on my system at once. The tray applet doesn’t seem to
> pick up all changes to packages, just security patches. I can let the
> tray applet do its thing and then run YaST and see a swathe of more
> packages to be updated when I use the option above. I’ve not played
> with ‘zypper update’ or the ‘Online Update’ which I assume to be some
> sort of system update, only making changes to the core components.
> After setting the package to protected neither of the zypper update nor
> the online update do anything - which is good. That means they’re not
> trying to update KRename and there’s nothing else to update. I’ll have
> to play with it for a couple more days and see what happens.
>
> Thanks for all the help! :o)
>
>
If you’ll right click on the tray applet, choose ‘configure applet…’,
you’ll find an option for "Show available upgrades when…’.
Enable that, and you’ll get a second tab showing, which displays packages to
be updated, while the first tab shows security patches.
I also enable “Always show detailed view” since I want to know what’s being
updated, not just the fact that there are updates.
When you get notified of updates/patches available (icon changes), click the
tray applet, review the current tab’s information, click ‘select all’ if
needed, choose the other tab, do the same… click ‘ok’… and off it goes.
Thanks, Loni. You are exactly right and that works perfectly! By changing a couple of settings that you suggested I can use the tray applet to do what I originally intended and avoid updating the packages that I want left alone. Brilliant! :o)
>
> Thanks, Loni. You are exactly right and that works perfectly! By
> changing a couple of settings that you suggested I can use the tray
> applet to do what I originally intended and avoid updating the packages
> that I want left alone. Brilliant! :o)
>
>