I bought a new HP printer and had to install the latest HPLIP version. I had to compile it and install it from source. In order to avoid interferences with the installed version, I had first removed the installed version. But now Yast wants to re-install this old version with any package installation or upgrade because it sees unresolved dependencies. How can I stop it to add this packages? Or how can I tell Yast that the hplip packages are installed?
Or how can I tell Yast that the hplip packages are installed?
With packages installed like this, I don’t know a way that is not too dirty.
You could try locking hplip:
zypper al hplip
…but I’m not sure wether this will keep YaST / zypper from upgrading other packages. It might be worth a try.
In case you want to undo that lock:
zypper rl hplip
OK! this seems to work. Yast is aware of the lock and does no longer want to add it to the packgges to be installed. Thanks!
I still have that notion that this will prevent YaST from upgrading certain other packages too, so you should test this from time to time by unlocking hplip.