Leapmicro-55 > pidof : command not found

Hello,

how can I install pidof on an OpenSUSE Leap Micro 5.5 system since it is not available by default?

transactional-update pkg install procps

Checking for newer version.
transactional-update 4.1.4 started
Options: pkg install procps
Separate /var detected.
2024-02-06 21:59:55 tukit 4.1.4 started
2024-02-06 21:59:55 Options: -c5 open
2024-02-06 21:59:55 Using snapshot 5 as base for new snapshot 6.
2024-02-06 21:59:55 Syncing /etc of previous snapshot 3 as base into new snapshot “/.snapshots/6/snapshot”
2024-02-06 21:59:55 SELinux is enabled.
ID: 6
2024-02-06 21:59:56 Transaction completed.
Calling zypper install
zypper: nothing to update
Removing snapshot #6
2024-02-06 21:59:57 tukit 4.1.4 started
2024-02-06 21:59:57 Options: abort 6
2024-02-06 21:59:57 Discarding snapshot 6.
2024-02-06 21:59:57 Transaction completed.
transactional-update finished

and

transactional-update pkg install sysvinit-tools

Checking for newer version.
transactional-update 4.1.4 started
Options: pkg install sysvinit-tools
Separate /var detected.
2024-02-06 22:00:55 tukit 4.1.4 started
2024-02-06 22:00:55 Options: -c5 open
2024-02-06 22:00:55 Using snapshot 5 as base for new snapshot 6.
2024-02-06 22:00:55 Syncing /etc of previous snapshot 3 as base into new snapshot “/.snapshots/6/snapshot”
2024-02-06 22:00:55 SELinux is enabled.
ID: 6
2024-02-06 22:00:56 Transaction completed.
Calling zypper install
2024-02-06 22:00:57 tukit 4.1.4 started
2024-02-06 22:00:57 Options: callext 6 zypper -R {} install sysvinit-tools
2024-02-06 22:00:57 Executing zypper -R /tmp/transactional-update-sxqKDn install sysvinit-tools:
Loading repository data…
Reading installed packages…
‘sysvinit-tools’ not found in package names. Trying capabilities.
No provider of ‘sysvinit-tools’ found.
Resolving package dependencies…
Nothing to do.
2024-02-06 22:00:57 Application returned with exit status 104.
ERROR: zypper install on /.snapshots/6/snapshot failed with exit code 104!
Removing snapshot #6
2024-02-06 22:00:57 tukit 4.1.4 started
2024-02-06 22:00:57 Options: abort 6
2024-02-06 22:00:58 Discarding snapshot 6.
2024-02-06 22:00:58 Transaction completed.
transactional-update finished

What can I do?

Regards

@Sylva1n Hi and welcome to the Forum :smile:
Do you have any repositories active?

zypper lr -dE

Leap Micro has very very limited repositories, by design, as you’re not supposed to be installing stuff into the system root, except under very limited circumstances, mostly limited to things like device drivers.

Indeed:

zypper lr -dE
Warning: No repositories defined.

Which repository is suitable?

Thank you

I understand. But I need nevertheless some packages to handle edge container orchestration.

@Sylva1n what about just zypper lr -d? you should have some visible output?

I will re-install the system to be sure.

I have reinstalled the system. I had obviously removed the default repositories…

I could install pidof with:
sudo transactional-update pkg install sysvinit-tools

1 Like