This morning I went to update gitlab-ce using yum on our CentOS6 server from 8.8.4 to 8.8.5.
Unfortunately about halfway through the first of the two gitlab-ce package install steps I accidentally mashed the pause-break key on my keyboard. The result being that yum stopped.
I tried several things - being a *nix amateur I started out with retrying the yum command, yum update gitlab-ce
- which told me yum was locked. So I found the yum PID and tried the kill
command which did not report anything, but then yum was still running when I queried ps
.
I found fg
to foreground the yum job again. But it stopped after completing the first of the two upgrade steps.
Thought I had resolved things then, using yum-complete-transaction --cleanup-only
which said it cleaned up a transaction journal.
But now, trying yum update gitlab-ce
says 8.8.4 will be updated and 8.8.5 will be an update but the subsequent transaction check finds 8.8.5 is already installed and then stops. I still haven't seen it do the second of the two update steps.
A package-cleanup --dupes
lists 8.8.5 and 8.8.4. The gitlab control panel still shows 8.8.4 and that I need to update. But a gitlab-rake gitlab:env:info
command shows that gitlab is at 8.8.5 >_<
I am now not sure how updated or not gitlab is. How can I find out the state of the install and complete it?