system:32-bit_to_64-bit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
system:32-bit_to_64-bit [2014-05-07T19:32:24+0000] – $PS2 --> PS2 michael_paoli | system:32-bit_to_64-bit [2018-02-26T22:28:31+0000] (current) – michael_paoli | ||
---|---|---|---|
Line 59: | Line 59: | ||
(I did that to avoid all the insert/ | (I did that to avoid all the insert/ | ||
packages from either, to generally go much lighter on the mirrors). | packages from either, to generally go much lighter on the mirrors). | ||
- | I then updated my / | + | I then updated my / |
deb [arch=amd64] file:/ | deb [arch=amd64] file:/ | ||
deb [arch=i386] file:/ | deb [arch=i386] file:/ | ||
Line 71: | Line 71: | ||
# apt-get update | # apt-get update | ||
- | One should be sure one' | + | One should be sure one' |
http:// | http:// | ||
and especially: | and especially: | ||
Line 122: | Line 122: | ||
dependencies have already been met, or not or if any conflicts or other | dependencies have already been met, or not or if any conflicts or other | ||
problems show up. If/when you encounter any predepends, those need to | problems show up. If/when you encounter any predepends, those need to | ||
- | be installed first, not a the same time with dpkg. | + | be installed first, not at the same time with dpkg. |
You'll want to be able to use dpkg fairly well, it's lower-level than | You'll want to be able to use dpkg fairly well, it's lower-level than | ||
Line 219: | Line 219: | ||
{{system: | {{system: | ||
{{32to64.time.bz2}} | {{32to64.time.bz2}} | ||
+ | < | ||
+ | Also, what was captured mostly just shows actual changes done. | ||
+ | For the most part I used a separate session for doing things like | ||
+ | simulation runs, e.g.: | ||
+ | # apt-get -s ... | ||
+ | # dpkg --simulate ... | ||
+ | downloads: | ||
+ | # apt-get download ... | ||
+ | and working out various dependencies (typically from the simulations | ||
+ | above), and statuses (typically via use of | ||
+ | $ COLUMNS=200 dpkg -l | ||
+ | and sometimes also: | ||
+ | # apt-get -s install | ||
+ | and picking over the resultant data). | ||
+ | For the most part, when | ||
+ | # dpkg --simulate -i ... | ||
+ | came back looking clean, the corresponding | ||
+ | # dpkg -i ... | ||
+ | worked fine, but not always - sometime the latter would expose | ||
+ | additional dependencies or other (relatively minor) issues. | ||
+ | commonly, if not always, such issues were resolved just by bringing in | ||
+ | another package to a few packages or so, and then a: | ||
+ | # dpkg --configure --pending | ||
+ | and all was then fine. | ||
+ | Seems the whole process could (almost?) be automated by some | ||
+ | higher-level script/ | ||
+ | implement it. The only part that might be a bit more tricky, is in some | ||
+ | cases, there wasn't a precise correspondence between i386 and amd64 | ||
+ | packages. | ||
+ | package and version number in i386 architecture being replaced with | ||
+ | same from amd64 architecture. | ||
+ | exceptions. | ||
+ | to figure out from the dependencies and/or lack thereof, or from the | ||
+ | names and descriptions, | ||
+ | </ | ||
+ | And one issue that was found a little bit later (2014-06-13) and corrected, from our [[http:// | ||
+ | < | ||
+ | Noticed bug/issue with spell, e.g.: | ||
+ | $ echo foo | spell | ||
+ | / | ||
+ | Tried: | ||
+ | # (cd / && umask 022 && dpkg-reconfigure spell) | ||
+ | # (cd / && umask 022 && dpkg-reconfigure dictionaries-common) | ||
+ | # (cd / && umask 022 && dpkg-reconfigure ispell) | ||
+ | Those didn't correct it, but this did: | ||
+ | # (cd / && umask 022 && dpkg-reconfigure iamerican) | ||
+ | That updated: | ||
+ | / | ||
+ | Guessing this may have been issue left over from i386 to amd64 conversion | ||
+ | </ | ||
+ | See also: [[https:// |
system/32-bit_to_64-bit.1399491144.txt.bz2 · Last modified: 2014-05-07T19:32:24+0000 by michael_paoli