How do I block LibreOffice update in opensuse11.3
Well, in Yast - Softwaremanagement you can right-click on any package and choose “locked, never change” (or similar, I use the German version). It then won’t be updated via Yast.
What I don’t know, if zypper also cares for that setting. But you can easily try this out:
Just install some “harmless” old package knowing for sure there is an newer version, lock it in Yast and try a normal update by whatever means you normally update. After this update, you should see.
If you don’t use Yast, try
man zypper
You will find
Package Locks Management
Package locks serve the purpose of preventing changes to the set of installed packages on the system. The locks are
stored in form of a query in /etc/zypp/locks file (see also locks(5)). Packages matching this query are then forbidden
to change their installed status; an installed package can't be removed, not installed package can't be installed. When
requesting to install or remove such locked package, you will get a dependency problem dialog.
locks (ll)
List currently active package locks.
addlock (al) [options] <package-name> ...
Add a package lock. Specify packages to lock by exact name or by a glob pattern using '*' and '?' wildcard char-
acters.
-r, --repo <alias|name|#|URI>
Restrict the lock to the specified repository.
-t, --type <type>
Lock only packages of specified type (default: package). See section Package Types for list of available package
types.
removelock (rl) [options] <lock-number|package-name> ...
Remove specified package lock. Specify the lock to remove by its number obtained with zypper locks or by the
package name.
-r, --repo <alias|name|#|URI>
Restrict the lock to the specified repository.
cleanlocks (cl)
Remove unused locks.
This command looks for locks that do not currently (with regard to repositories used) lock any package and for
each such lock it asks user whether to remove it.
Edit: Just tested it following my own advice:
Yast also puts the entry into /etc/zypp/locks
So, either way works. Just make sure you lock the right packages and be aware of dependencies.
On 08/19/2011 02:36 PM, ex-para wrote:
>
> How do I block LibreOffice update in opensuse11.3
open YaST > Online Update, spot the LibreOffice update line, right click
on it and select “Taboo – Never Install” and then click on the “Accept”
button…
ps: how many jumps did you make?
–
DD
openSUSE®, the “German Engineered Automobile” of operating systems!
Thanks for the replies, I tried the taboo one first but when I right click the update libre I get no taboo just undo, select and show all column. So I tried undo. Have I not done the job correctly. I did 28 jumps two of these where from a balloon.
On 08/20/2011 08:56 AM, ex-para wrote:
>
> Thanks for the replies, I tried the taboo one first but when I right
> click the update libre I get no taboo just undo, select and show all
> column. So I tried undo. Have I not done the job correctly.
i don’t remember seeing an “undo” in YaST…are you in YaST or
packagekit? if in packagekit do not use it, turn it off…it is
broken…use only YaST > Online Update to do your updates…
right click on the updater applet in the task bar, select setup or
preferences or settings or (i do NOT know what it says because i
uninstaled kpackage kit) and then set it to NOT perform automatic
updates…turn it off if you can figure out how!
then, open YaST > Online Update and mark the libreoffice line Taboo, do
not install…then click accept…
if there is no libreoffice line, then there is not action pending to
update it…
hmmmm…perhaps you need to tell us: are you now using openoffice and do
not want to switch…is that what you are trying to accomplish, exactly?
explain more, and include desktop environment and version, and version
of openoffice or libreoffice you wish to keep and not update…
> I did 28 jumps two of these where from a balloon.
leaving a serviceable air machine not in the process of crashing is
‘just crazy’…so says lots of pilots i know…
–
DD Caveat
openSUSE®, the “German Engineered Automobile” of operating systems!
DenverD:
Can PackageKit be “safely” removed?
What are the implications of doing so?
What, if any functionality would I lose (that silly right-click “Open with Install/Remove software”) option perhaps?
It always does something I don’t want (like install gnome-games-recommended) when I install an .rpm…
Thanks.
On 08/21/2011 02:46 AM, Habitual wrote:
> Can PackageKit be “safely” removed?
>
> What are the implications of doing so?
> What, if any functionality would I lose (that silly right-click “Open
> with Install/Remove software”) option perhaps?
> It always does something I don’t want (like install
> gnome-games-recommended) when I install an .rpm…
your experience may not be the same as mine, so read my sig caveat
before you decide what you want to do with your machine:
i used YaST to uninstall kpackagekit, so i no longer have it telling me
i need to install stuff which YaST Online Update doesn’t tell me to
install…
and, i no longer have it signaling the need to install anything (rightly
or wrongly) which means it is now my responsibility to check (using
YaST Online Update) periodically to see if there is an update…
(personally, i check once a day, usually just after booting)…
i still have that right click “Install/Remove Software” it launches YaST
Software Management…and, 1-Clicks still work (they use YaST)
but please note! i’m not using gnome and i didn’t write that i
uninstalled packagekit…i am using KDE and i uninstalled
Kpackagekit…that is: packagekit continues to exist on my machine but
as far as i can tell it can’t touch anything…for sure i never see it
anymore, anywhere…
so, ask a gnome user their experience with packagekit.
–
DD
Caveat-Software
openSUSE®, the “German Engineered Automobile” of operating systems!
Thanks DenverD.
Disclaimers noted and observed.
I was using GNOME and now switched to Xfce.
I’ve uninstalled packagekit and even network manager and everything works ok.
They are just duplicating functionality you can find in YaST (or zypper , as “zypper up” updates your system too).
Alternatively, you can just untick PackageKit from gnome/xfce autostart, so It will never run automatically.
YaST and zypper will not be affected.
to block automatic updates of certain package you can also use zypper
zypper al package_name (add lock)
zypper rl package_name (remove lock)
Every time I get the Libre update I get trouble, I had to get rid of vmware because of it, I have had opensuse for two years or more with little trouble until Libre came on the scene and I don’t want it nothing wrong with openoffice. I will just have to stop the automatic updates and do it manually. Opensuse wont handle TeamViewer neither. Other computers I have all have Ubuntu and everything always works but the one with opensuse an ASUS wide screen has sis drives so I cant get the screen resulution I need so the best I could to have Linux was Opensuse.