Page 1 of 1

mageia 9 not booting

PostPosted: Sep 11th, '23, 11:51
by nwtmg
Hi,
Sony vaio with 6 gig ram and 128 ssd. Upgraded to mageia 9 using the dnf method. After grub the screen freezes. I have to select an earlier kernel to boot into mageia 8. Tried to install wayland in mageia 8 using the following command

Code: Select all
dnf install plasma-workspace-wayland


received the followiing error message.

Code: Select all
Downloading Packages:
(1/5): kwayland-integration-5.27.5-1.mga9.x86_64.rpm                                                           71 kB/s |  44 kB     00:00   
(2/5): lib64qt5waylandcompositor5-5.15.7-2.mga9.x86_64.rpm                                                    526 kB/s | 419 kB     00:00   
(3/5): kwin-wayland-5.27.5-1.mga9.x86_64.rpm                                                                  604 kB/s | 577 kB     00:00   
(4/5): plasma-workspace-wayland-5.27.5-2.mga9.x86_64.rpm                                                      218 kB/s |  75 kB     00:00   
(5/5): qtwayland5-5.15.7-2.mga9.x86_64.rpm                                                                    1.2 MB/s | 438 kB     00:00   
----------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                         1.0 MB/s | 1.5 MB     00:01     
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Running transaction check
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
RPM: warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
RPM: error: cannot open Packages index using bdb_ro - Operation not permitted (1)
RPM: error: cannot open Packages database in /var/lib/rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Could not run transaction.



Database perhaps locked. Also mga9.x86_64 in package name means I am trying to install mageia 9 package in mageia 8.

Issued

Code: Select all
dnf clean packages


received

Code: Select all
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
5 files removed


Thanks for your help in this matter.

Re: mageia 9 not booting

PostPosted: Sep 11th, '23, 13:19
by morgano
First thing to do is check that teh upgrade went correctly.
Do you have the correct repositories enabled.
Then perform a full update.
Verify what graphics driver is used.
Check if there are still a lot of .mga8 packages (some are OK). And no .mga10 package.
You should be able to boot mga9 kernel, if not we take it from there.

Plasma-Wayland i have never had much luck with, but make sure normal Plasma works first, and normal programs.

Re: mageia 9 not booting

PostPosted: Sep 11th, '23, 13:43
by nwtmg
How do I check if the upgrade went correctly. Correct repositories?

Re: mageia 9 not booting

PostPosted: Sep 11th, '23, 16:39
by Bequimao
The repos should look like this. Note that I don't use i586-repos.

Code: Select all
[root@mga9-final ~]# dnf repolist
repo id                                                                       repo name
mageia-x86_64                                                                 Mageia 9 - x86_64
mageia-x86_64-nonfree                                                         Mageia 9 - x86_64 - Nonfree
mageia-x86_64-tainted                                                         Mageia 9 - x86_64 - Tainted
updates-x86_64                                                                Mageia 9 - x86_64 - Updates
updates-x86_64-nonfree                                                        Mageia 9 - x86_64 - Nonfree - Updates
updates-x86_64-tainted                                                        Mageia 9 - x86_64 - Tainted - Updates
[root@mga9-final ~]#


You see the last transaction with dnf history, i. e.

Code: Select all
# dnf history | head -5


You clear the warning from post #1

Code: Select all
# rpmdb --rebuilddb


Best regards,
Bequimão

Re: mageia 9 not booting

PostPosted: Sep 11th, '23, 18:32
by doktor5000
nwtmg wrote:Upgraded to mageia 9 using the dnf method. After grub the screen freezes. I have to select an earlier kernel to boot into mageia 8. Tried to install wayland in mageia 8 using the following command

That first part is quite confusing. If you upgraded, then there's no Mageia 8 anymore. So you can only use the Mageia 8 kernel to boot your Mageia 9.

Apart from that, if the boot freezes directly after grub then that's long before the X server starts, so it does not matter if you use X or wayland.