The yum upgrade from 8.3 to 8.4 on my main machine looked as if it was working fine so I went to have a coffee.
When I came back the screens were blank so I don't know what happened. On rebooting the screens are still blank.
I have two graphics cards running three displays.
I have a "rescue" system on the same machine that upgraded from 8.3 to 8.4 fine. The 3 screens work fine on this.
I am not sure the upgrade completed properly. For example the new kernel:
vmlinuz-4.18.0-305.3.1.el8.x86_64
was not present in /boot. Even worse, "yum upgrade" said there was nothing to do and would not install it. I installed the kernel package manually. /etc/redhat-release says CentOS Linux release 8.4.2105
My main question is: Where are the config files for the screen(s). This used to be something like /etc/X11/xorg.conf.
Since I have a working rescue system my current plan is to compare/copy the config files.
Suggestions please as to where I should start. It is difficult to work without a GUI. I have ssh access to the machine.
Thanks
Alan
I noticed in journalctl that gnome-shell was core dumping.
yum reinstall gnome-shell fixed my displays problem.
So I am back to my first premise that the 'yum update' did not complete properly for some reason.
Is there any way I can check the integrity of the packages installed?
What could cause 'yum upgrade' to say 'Nothing to do' and not install the latest 305 kernel?
Alan
On Sat, Jun 05, 2021 at 04:32:30PM +1200, Alan McRae via CentOS wrote:
I noticed in journalctl that gnome-shell was core dumping.
yum reinstall gnome-shell fixed my displays problem.
So I am back to my first premise that the 'yum update' did not complete properly for some reason.
Is there any way I can check the integrity of the packages installed?
rpm, but not to my knowledge, has a "verify" command.
It checks all files from the specified package are present and compares 9 properties with the original specs.
On Sat, Jun 05, 2021 at 04:32:30PM +1200, Alan McRae via CentOS wrote:
I noticed in journalctl that gnome-shell was core dumping.
yum reinstall gnome-shell fixed my displays problem.
So I am back to my first premise that the 'yum update' did not complete properly for some reason.
Is there any way I can check the integrity of the packages installed?
rpm, but not to my knowledge, has a "verify" command.
rpm -Va
It checks all files from the specified package are present and compares 9 properties with the original specs.
-- Jon H. LaBadie jcu@labadie.us _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Thank you.
I managed:
#!/bin/bash for rp in `rpm -q -a ` do echo $rp rpm --verify $rp done
but rpm -Va is neater. It only showed up config files and the like that you would expect to be different.
I'll check the list of rpms next against a clean install/upgrade to make sure I have them all.
Alan
On 05.06.21 11:32, Simon Matter wrote:
On Sat, Jun 05, 2021 at 04:32:30PM +1200, Alan McRae via CentOS wrote:
I noticed in journalctl that gnome-shell was core dumping.
yum reinstall gnome-shell fixed my displays problem.
So I am back to my first premise that the 'yum update' did not complete properly for some reason.
Is there any way I can check the integrity of the packages installed?
rpm, but not to my knowledge, has a "verify" command.
rpm -Va
Additionally checks can be done with (its in yum-utils package):
package-cleanup --problems
package-cleanup --dupes
# dnf remove --duplicates
-- Leon