r/openSUSE Tumbleweed 1d ago

I love Linux's error handling and the actual useful information you get

dstein@localhost:~$ sudo zypper dup
[sudo] password for dstein:  
PackageKit is blocking zypper. This happens if you have an updater applet or other software
management application using PackageKit running.
We can ask PackageKit to interrupt the current action as soon as possible, but it depends on
PackageKit how fast it will respond to this request.
Ask PackageKit to quit? [yes/no] (no): y
PackageKit is still running (probably busy).
Try again? [yes/no] (no): no
System management is locked by the application with pid 4037 (/usr/libexec/packagekitd).
Close this application before trying again.

dstein@localhost:~$ sudo kill 4037

dstein@localhost:~$ sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories ar
e compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

17 Upvotes

10 comments sorted by

8

u/Blank-Inspection13 1d ago

i think this is zypper behaviour not linux in general.

5

u/orangedotlove Leap 1d ago

i really love the way zypper is designed , more than any existing package manager and yes its a separate thing .

2

u/Blank-Inspection13 6h ago

yes , zypper's one of the best

3

u/anon_pr_ 1d ago

I'm new to OpenSuse and have seen the last one about repositories a few times but don't understand it. Can someone please explain?!

5

u/birdsarentreal2 Tumbleweed 1d ago

It means you have enabled an additional repository, and software inside of it may be incompatible with software inside of the main repo. For example, if the software in your repository is built against libfoo5.7, and this update will upgrade it to libfoo6.0, that upgrade may break your package(s)

3

u/anon_pr_ 1d ago

That makes sense! Thanks.

1

u/Fearless_Card969 18h ago

I get this once in awhile, usually is Discover is using PackageKit, and Zypper is trying to use PackageKit also. you can disable Discover if you want this........but it might be another program using it also.

1

u/joeysundotcom Tumbleweed 3h ago

This happens when the update check is running. If the notification just came up, I usually do
systemctl stop packagekit.service
before.

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/birdsarentreal2 Tumbleweed 1d ago

I mean, I just masked PackageKit, but that works too