Bug 16207 - upgrading using urpmi mageia4.x86_64 to mageia5.x86_64 impossible
Summary: upgrading using urpmi mageia4.x86_64 to mageia5.x86_64 impossible
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-25 13:14 CEST by alain deraedt
Modified: 2015-06-28 14:27 CEST (History)
1 user (show)

See Also:
Source RPM: none
CVE:
Status comment:


Attachments

Description alain deraedt 2015-06-25 13:14:54 CEST
Description of problem:I attempted to upgrade using urpmi my mageia4 64bits to mageia5 64, following method proposed on the site mageia:
sudo urpmi.removemedia -a
sudo urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.5.x86_64.list' 
sudo urpmi --replacefiles --auto-update --auto
before the upgrading, herebelow was the content of the /boot directory:

drwxr-xr-x  6 root root    6144 mai   23 23:35 ./
drwxr-xr-x 21 root root    4096 juin  25 12:59 ../
-rw-rw-r--  1 root root     440 févr.  6  2014 boot.backup.sda
-rw-r--r--  1 root root  154625 mai   21 23:28 config-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root  154613 mai   21 23:44 config-3.14.43-server-1.mga4
drwxr-xr-x  2 root root    1024 avril 25 12:27 dracut/
drwxr-xr-x  2 root root    1024 mai   23 23:20 exportmga4-64/
-rwxr-xr-x  1 root root  535552 févr.  8  2014 gfxmenu*
drwxr-xr-x  2 root root    1024 mai   23 23:35 grub/
-rw-------  1 root root 9783533 mai   23 23:13 initrd-3.14.43-desktop-1.mga4.img
-rw-------  1 root root 9782682 mai   23 23:12 initrd-3.14.43-server-1.mga4.img
lrwxrwxrwx  1 root root      33 mai   23 23:13 initrd-desktop.img -> initrd-3.14.43-desktop-1.mga4.img
lrwxrwxrwx  1 root root      33 mai   23 23:13 initrd.img -> initrd-3.14.43-desktop-1.mga4.img
lrwxrwxrwx  1 root root      32 mai   23 23:12 initrd-server.img -> initrd-3.14.43-server-1.mga4.img
drwx------  2 root root   12288 août  13  2012 lost+found/
-rw-r--r--  1 root root  230112 mai   21 23:28 symvers-3.14.43-desktop-1.mga4.xz
-rw-r--r--  1 root root  230452 mai   21 23:44 symvers-3.14.43-server-1.mga4.xz
-rw-r--r--  1 root root 2943889 mai   21 23:28 System.map-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root 2954371 mai   21 23:44 System.map-3.14.43-server-1.mga4
lrwxrwxrwx  1 root root      30 mai   23 23:13 vmlinuz -> vmlinuz-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root 3891312 mai   21 23:28 vmlinuz-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root 5218352 mai   21 23:44 vmlinuz-3.14.43-server-1.mga4
lrwxrwxrwx  1 root root      30 mai   23 23:13 vmlinuz-desktop -> vmlinuz-3.14.43-desktop-1.mga4
lrwxrwxrwx  1 root root      29 mai   23 23:12 vmlinuz-server -> vmlinuz-3.14.43-server-1.mga4
 
which is normal

after a while, terminal displayed the following:

1051/3495: suspend               ###############################################################################################################
cannot get info for device (13:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 272.
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 
Creating: target|kernel|dracut args|basicmodules 

and now the content of the /boot directory:

total 333680
drwxr-xr-x  6 root root     4096 juin  25 12:48 ./
drwxr-xr-x 21 root root     4096 juin  25 11:48 ../
-rw-rw-r--  1 root root      440 févr.  6  2014 boot.backup.sda
-rw-r--r--  1 root root   154625 mai   21 23:28 config-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root   154613 mai   21 23:44 config-3.14.43-server-1.mga4
-rw-r--r--  1 root root   171360 juin  13 19:27 config-3.19.8-server-3.mga5
drwxr-xr-x  2 root root     1024 juin   5 18:11 dracut/
drwxr-xr-x  2 root root     1024 juin  23 14:19 exportmga5-64/
-rwxr-xr-x  1 root root   547328 juin  25 12:21 gfxmenu*
drwxr-xr-x  2 root root     1024 juin  25 12:23 grub/
-rw-------  1 root root  8982982 juin  25 12:45 initrd-3.10.24-desktop-2.mga3.img
-rw-------  1 root root  8982985 juin  25 12:45 initrd-3.10.24-server-2.mga3.img
-rw-------  1 root root  8983467 juin  25 12:46 initrd-3.12.13-desktop-2.mga4.img
-rw-------  1 root root  8982969 juin  25 12:46 initrd-3.12.13-server-2.mga4.img
-rw-------  1 root root  8983013 juin  25 12:47 initrd-3.12.18-desktop-1.mga4.img
-rw-------  1 root root  8983096 juin  25 12:47 initrd-3.12.18-server-1.mga4.img
-rw-------  1 root root  8983037 juin  25 12:47 initrd-3.12.20-desktop-1.mga4.img
-rw-------  1 root root  8983078 juin  25 12:47 initrd-3.12.20-server-1.mga4.img
-rw-------  1 root root  8983100 juin  25 12:48 initrd-3.12.21-desktop-2.mga4.img
-rw-------  1 root root  8983101 juin  25 12:48 initrd-3.12.21-server-2.mga4.img
-rw-------  1 root root  7274496 juin  25 12:48 initrd-3.12.25-desktop-3.mga4.img
-rw-------  1 root root  8983110 juin  25 12:48 initrd-3.12.25-server-3.mga4.img
-rw-------  1 root root  8983273 juin  25 12:45 initrd-3.12.8-desktop-2.mga4.img
-rw-------  1 root root  8983187 juin  25 12:45 initrd-3.12.8-server-2.mga4.img
-rw-------  1 root root  8982998 juin  25 12:46 initrd-3.12.9-desktop-1.mga4.img
-rw-------  1 root root  8982980 juin  25 12:46 initrd-3.12.9-server-1.mga4.img
-rw-------  1 root root  9770273 juin  23 14:17 initrd-3.14.43-desktop-1.mga4.img
-rw-------  1 root root  9768772 juin  23 14:18 initrd-3.14.43-server-1.mga4.img
-rw-------  1 root root 10444783 juin  25 12:23 initrd-3.19.8-server-3.mga5.img
-rw-------  1 root root  8983056 juin  25 12:41 initrd-3.3.6-desktop-2.mga2.img
-rw-------  1 root root  8982978 juin  25 12:41 initrd-3.3.6-server-2.mga2.img
-rw-------  1 root root  8983399 juin  25 12:41 initrd-3.3.8-desktop-2.mga2.img
-rw-------  1 root root  8983085 juin  25 12:41 initrd-3.4.24-desktop-3.mga2.img
-rw-------  1 root root  8983002 juin  25 12:42 initrd-3.4.24-server-3.mga2.img
-rw-------  1 root root  8983315 juin  25 12:42 initrd-3.4.32-desktop-2.mga2.img
-rw-------  1 root root  8983105 juin  25 12:42 initrd-3.4.32-server-2.mga2.img
-rw-------  1 root root  8983104 juin  25 12:43 initrd-3.4.34-desktop-1.mga2.img
-rw-------  1 root root  8983108 juin  25 12:42 initrd-3.4.34-server-1.mga2.img
-rw-------  1 root root  8983066 juin  25 12:43 initrd-3.4.45-desktop-1.mga2.img
-rw-------  1 root root  8983340 juin  25 12:43 initrd-3.4.45-server-1.mga2.img
-rw-------  1 root root  8983076 juin  25 12:44 initrd-3.8.13-1.mga3.img
-rw-------  1 root root  8983391 juin  25 12:44 initrd-3.8.13.4-desktop-1.mga3.img
-rw-------  1 root root  8983313 juin  25 12:44 initrd-3.8.13.4-server-1.mga3.img
-rw-------  1 root root  8983099 juin  25 12:43 initrd-3.8.13-desktop-1.mga3.img
-rw-------  1 root root  8983129 juin  25 12:44 initrd-3.8.13-server-1.mga3.img
lrwxrwxrwx  1 root root       33 juin  23 13:54 initrd-desktop.img -> initrd-3.14.43-desktop-1.mga4.img
lrwxrwxrwx  1 root root       31 juin  25 12:23 initrd.img -> initrd-3.19.8-server-3.mga5.img
lrwxrwxrwx  1 root root       31 juin  25 12:23 initrd-server.img -> initrd-3.19.8-server-3.mga5.img
drwx------  2 root root    12288 août  13  2012 lost+found/
-rw-r--r--  1 root root   230112 mai   21 23:28 symvers-3.14.43-desktop-1.mga4.xz
-rw-r--r--  1 root root   230452 mai   21 23:44 symvers-3.14.43-server-1.mga4.xz
-rw-r--r--  1 root root   246020 juin  13 19:27 symvers-3.19.8-server-3.mga5.xz
-rw-r--r--  1 root root  2943889 mai   21 23:28 System.map-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root  2954371 mai   21 23:44 System.map-3.14.43-server-1.mga4
-rw-r--r--  1 root root  3233300 juin  13 19:27 System.map-3.19.8-server-3.mga5
lrwxrwxrwx  1 root root       28 juin  25 12:23 vmlinuz -> vmlinuz-3.19.8-server-3.mga5
-rw-r--r--  1 root root  3891312 mai   21 23:28 vmlinuz-3.14.43-desktop-1.mga4
-rw-r--r--  1 root root  5218352 mai   21 23:44 vmlinuz-3.14.43-server-1.mga4
-rw-r--r--  1 root root  5924960 juin  13 19:27 vmlinuz-3.19.8-server-3.mga5
lrwxrwxrwx  1 root root       30 juin  23 13:54 vmlinuz-desktop -> vmlinuz-3.14.43-desktop-1.mga4
lrwxrwxrwx  1 root root       28 juin  25 12:23 vmlinuz-server -> vmlinuz-3.19.8-server-3.mga5

no comment



Version-Release number of selected component (if applicable):


How reproducible:do the process above


Steps to Reproduce:
1.open a terminal and make:
sudo urpmi.removemedia -a
sudo urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.5.x86_64.list' 
sudo urpmi --replacefiles --auto-update --auto
2.watch the result on the terminal
3.watch in real time the content of /boot directory


Reproducible: 

Steps to Reproduce:
Comment 1 alain deraedt 2015-06-25 15:51:15 CEST
the upgrading from mageia3 to mageia4 was achieved with the same way without problem
Comment 2 alain deraedt 2015-06-27 14:56:21 CEST
problem solved
Comment 3 Rémi Verschelde 2015-06-27 15:23:47 CEST
Care to share how?

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 4 alain deraedt 2015-06-27 15:35:33 CEST
(In reply to Rémi Verschelde from comment #3)
> Care to share how?

I have successfully updated mageia4 with mgaapplet
I think that /boot directory was fullfilled with old initrd-xxx.mga[23]
because  old packages from ancient mageia versions were left on my system

[toto@mageia5_64 ~]$ rpm -qa | grep mga2
libgcj12-base-4.6.3-2.mga2
lib64x264_120-0.120-0.20120306.stable.1.mga2.tainted
libmng1-1.0.10-13.mga2
lib64gcj12-4.6.3-2.mga2

[tot@mageia5_64 ~]$ rpm -qa | grep mga3
lib64llvm3.2-3.2-5.mga3
libcdio13-0.83-3.mga3
libgcj13-base-4.7.2-8.1.mga3
libx264_125-0.125-0.20120914.stable.3.mga3.tainted
libllvmradeon9.1.3-9.1.3-1.1.mga3.tainted
lib64protobuf7-2.4.1-5.mga3
libllvmradeon9.1.7-9.1.7-1.1.mga3.tainted
lib64cdio13-0.83-3.mga3
libllvm3.2-3.2-5.mga3
lib64llvmradeon9.1.3-9.1.3-1.1.mga3.tainted
lib64png15_15-1.5.13-2.mga3
lib64gcj13-4.7.2-8.1.mga3
lib64llvmradeon9.1.7-9.1.7-1.1.mga3.tainted
[alain4@mageia4_64 ~]$
Comment 5 Rémi Verschelde 2015-06-27 15:43:49 CEST
Thanks for the explanations. It's still strange though that it generates old initrd for kernels that are no longer installed according to your "rpm -qa | grep mga[23]".

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WORKSFORME

Comment 6 alain deraedt 2015-06-28 13:07:32 CEST
(In reply to Rémi Verschelde from comment #5)
> Thanks for the explanations. It's still strange though that it generates old
> initrd for kernels that are no longer installed according to your "rpm -qa |
> grep mga[23]".

and what have I to do with these old packages? may I safely discard them?
Comment 7 Rémi Verschelde 2015-06-28 14:08:27 CEST
(In reply to alain deraedt from comment #6)
> 
> and what have I to do with these old packages? may I safely discard them?

Yes you can remove them without any issue, unless you are using a soft that you built yourself under mga2 or mga3 and that links against some of those libraries.
Comment 8 alain deraedt 2015-06-28 14:27:58 CEST
OK, thank you

Note You need to log in before you can comment on or make changes to this bug.