I've read through the upgrade documentation a couple times and I've done some dry run stuff.
I have "slurmdbd" and "slurmctld" installed on the main head node. The instructions call for upgrading "slurmdbd" first. I'm trying to use the dry run options to `dnf` and `rpm` and I'm getting some messages. Perhaps I don't have the correct options specified to upgrade from 22.05.3 to 22.05.4.
It doesn't explicitly say "remove ${OldVersion} and install ${NewVersion}". I'm hesitant to remove the package out of fear the 22.05.4 version won't install.
Using `dnf`:
```
# dnf upgrade --assumeno --best --allowerasing ./slurm-slurmdbd-22.05.4-1.el7.x86_64.rpm
Dependencies resolved.
===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Removing:
slurm-slurmdbd x86_64 22.05.3-1.el7 @@commandline 2.4 M
Transaction Summary
===================================================================================================================================================================================================================
Remove 1 Package
Freed space: 2.4 M
Operation aborted.
```
Using `rpm`:
```
# rpm --test --install --upgrade ./slurm-slurmdbd-22.05.4-1.el7.x86_64.rpm
error: Failed dependencies:
slurm(x86-64) = 22.05.4-1.el7 is needed by slurm-slurmdbd-22.05.4-1.el7.x86_64
```
If I then tell it to install that dependency, I get:
```
# rpm --test --install --upgrade ./slurm-slurmdbd-22.05.4-1.el7.x86_64.rpm ./slurm-22.05.4-1.el7.x86_64.rpm
error: Failed dependencies:
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-perlapi-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-contribs-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-slurmd-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-devel-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-libpmi-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-pam_slurm-22.05.3-1.el7.x86_64
slurm(x86-64) = 22.05.3-1.el7 is needed by (installed) slurm-slurmctld-22.05.3-1.el7.x86_64
```
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com