Bug 1222044 - zypper %posttrans fails with "Failed to start jobs"
Summary: zypper %posttrans fails with "Failed to start jobs"
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 10:10 UTC by Fabian Vogt
Modified: 2024-03-27 16:14 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
zypper.log (8.87 MB, text/x-log)
2024-03-27 10:10 UTC, Fabian Vogt
Details
rpm -vvv --reinstall bluez.rpm (40.53 KB, text/plain)
2024-03-27 16:14 UTC, Fabian Vogt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2024-03-27 10:10:28 UTC
Created attachment 873853 [details]
zypper.log

Upgrading from TW Snapshot 20240321 to 20240325 with zypper -v dup had the following output at the end:

Ausgabe des Skripts %posttrans(zypper-1.14.70-1.1.x86_64):
Failed to start jobs: Failed to enqueue some jobs, see logs for details: No such file or directory
Nach-Transaktions-Skripte werden ausgeführt ..............................................................................................................................................................................................[fertig]
CommitResult  (total 432, done 432, error 0, skipped 0, updateMessages 0)
Comment 1 Michael Andres 2024-03-27 14:19:03 UTC
@Fabian No clue where the message comes from.

I even tried a
 find /usr/bin /usr/lib64/ -type f | 
 while read X; do echo "===== $X ====="; strings "$X" | grep jobs; done |
 less
on my TW but did not find a matching text.
Comment 2 Michael Andres 2024-03-27 15:37:39 UTC
My own dup on TW did not report anything.
Comment 3 Fabian Vogt 2024-03-27 16:02:06 UTC
It's actually zypper's output being very misleading here.

I narrowed it down to the update of the bluez package. Installing that with rpm -vvv shows:

D: %transfiletriggerin(systemd-255.4-1.2.x86_64): running <lua> scriptlet.
Failed to start jobs: Failed to enqueue some jobs, see logs for details: No such file or directory

Apparently zypper attributes the transfiletriggerin execution to the zypper package.

I'll have a look at why systemctl reload-or-restart fails weirdly and open another bug for that.
Comment 4 Michael Andres 2024-03-27 16:08:20 UTC
(In reply to Fabian Vogt from comment #3)
> It's actually zypper's output being very misleading here.

It's just the captured stderr of 'rpm --runposttrans'

> I narrowed it down to the update of the bluez package. Installing that with
> rpm -vvv shows:

If you can attach the `rpm -vvv` output, I can check why it's shown at the wrong place.
Comment 5 Fabian Vogt 2024-03-27 16:14:41 UTC
Created attachment 873865 [details]
rpm -vvv --reinstall bluez.rpm