| Summary: | searching for packages to upgrade fails during DVD upgrade (mga2 -> mga3) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Markus Mertens <Mertens.MPT> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | mageia |
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: | ddebug.log from failed DVD upgrade mga2 -> mga3 | ||
|
Description
Markus Mertens
2013-06-21 09:36:07 CEST
Remco Rijnders
2013-06-21 10:31:59 CEST
CC:
(none) =>
mageia @coling: Colin, do you have any ideas on this? (I assume it might have to do with the /usr /run conversion). Well it could be related to the usr move script but it could also be that the partitions are simply not mounted properly on /mnt when it's run, in which case the upgrade would fail anyway. Quite what went wrong it's hard to tell. As /, /usr and /var are on the same partition, it should have been quite smooth, but it's really hard to say without more log. I presume the "old" setup is still working fine i.e. nothing broke specifically? Did you manage to save the ddebug.log file mentioned? It would likely explain things in more depth. If you like, you can run the script it mentioned manually from F2. If the filesystem is already converted then the script should detect that and (hopefully) succeed. All that's needed is for the raid's / to be mounted on /mnt (which the installer should setup for you but this is perhaps where things are failing) and run the script as per the debug output. So check 1 would be "is the raid stuff active and mounted on /mnt" if that's the case, then try running the script manually and see what kind of output you get which migh give some clues. Created attachment 4162 [details]
ddebug.log from failed DVD upgrade mga2 -> mga3
Comment on attachment 4162 [details] ddebug.log from failed DVD upgrade mga2 -> mga3 OK, so the error is: > cp: cannot overwrite non-directory â/mnt/usr/bin.usrmove-new/javaâ with directory â/mnt/bin/javaâ Seems you have a folder called /bin/java on your machine. Looking via urpmf output this folder does not exist in any packages: > [colin@mga2 ~]$ urpmf ^/bin/java > [colin@mga2 ~]$ So I can only presume that this folder was created by yourself or some other third party RPM. I suggest you resolve this problem first and then re-attempt the upgrade. Great! Removing / uninstalling that java directory solved the problem. Thanks a lot! Nice :) You you know where that folder came from? If it's a third party RPM or other packaging format, we can probably close this bug, otherwise we may have to do something about it. Of course the error could have been much more descriptive, but as it's in the installer there is not much we can do now to make it better (and I suspect there are not toooooo many people affected otherwise I would have heard more people shouting at me :D). It was an external package from sun (java 1.6.0_19) which is not used any more on this system. So, I could easily remove it. Maybe this rare problem is worth just a short remark in the "upgrade tutorials"? Actually, looking now, it appears it was already mentioned: https://wiki.mageia.org/en/Mageia_3_Errata#Upgrade_Issues I've now also added a reference to this bug. Thanks for your help and understanding here. All the best. Status:
NEW =>
RESOLVED Yes, now I understand that errata issue and I confess I read it before. But there are several external software packages installed on my system. Mainly in /opt. For a better understanding it could be explicitely mentioned that external software packages which are installed /bin will break the upgrade. Well, it's not all external software packages in /bin, just those that conflict with files/folders that exist in /usr/bin. (same is true for /sbin, /lib and /lib64 and their /usr equivalents) But if you have time please do feel free to update the notes and wiki. Any help to make them better is much appreciated! :) Thanks again for your help. I have just edited the errata page. |