Repository Error Message

An error occurred while initializing the software repository.
System management is locked by the application with pid 9825 (/usr/lib/YaST2/bin/y2base).
Close this application before trying again.
Try again?

How do I fix this?

if it happens again, type in a terminal

ps -e

to see which applications (processes) are running in your computer. the pid number is what you’ll be looking for, which are the numbers in the left column. if you do want to close this application (a big if), then type in the terminal

kill pid-of-application

where pid-of-application is the pid you checked out with the first command. in the example you gave it would be 9825.

i use this method quite a lot and nothing has ever happened, but i’m sure you could screw things up a bit by terminating a process on which the whole system depends… just double check before killing.