[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 32-bit to 64-bit



On 2013-01-24 17:51 +0100, Sven Joachim wrote:

> On 2013-01-24 16:58 +0100, Kelly Clowers wrote:
>
>> On Thu, Jan 24, 2013 at 6:51 AM, Sven Joachim <svenjoac@gmx.de> wrote:
>>>
>>> I have crossgraded some packages in i386 chroots that way, but in the
>>> current state of affairs I would definitely _not_ dare to try a full
>>> crossgrade on my main system with almost 2000 installed packages.
>>
>> I bet it is doable.  I wish I had a 32 bit system to try it on, I love doing
>> crazy things with the package manager, like when I combined
>> significant parts of Ubuntu (X and GTK) into my Debian install,
>> and later transitioned back to pure Debian.
>
> As much as I love doing such crazy things myself, I also need a working
> system and so restrict such experiments to chroots which can be thrown
> away when things go wrong.  Mixing Ubuntu and Debian packages
> willy-nilly is a recipe for disaster, as is trying to crossgrade from
> i386 to amd64 ATM.

Okay, I just tried to do a crossgrade in one of those disposable
chroots.  The good news is that dpkg itself can be crossgraded smoothly
once the necessary amd64 libraries are installed, the bad news is that
apt gets thoroughly confused by this action:

,----
| # dpkg --version
| Debian `dpkg' package management program version 1.16.9 (i386).
| This is free software; see the GNU General Public License version 2 or
| later for copying conditions. There is NO warranty.
| root@turtle:/var/cache/apt/archives# apt-cache show base-files:amd64
| Package: base-files
| Version: 7.1
| Essential: yes
| Installed-Size: 414
| Maintainer: Santiago Vila <sanvila@debian.org>
| Architecture: amd64
| Replaces: base, dpkg (<= 1.15.0), miscutils
| Provides: base
| Pre-Depends: awk
| Breaks: initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
| Description-en: Debian base system miscellaneous files
|  This package contains the basic filesystem hierarchy of a Debian system, and
|  several important miscellaneous files, such as /etc/debian_version,
|  /etc/host.conf, /etc/issue, /etc/motd, /etc/profile, and others,
|  and the text of several common licenses in use on Debian systems.
| Multi-Arch: foreign
| Description-md5: 6d16337f57b84c4747f56438355b2395
| Tag: admin::configuring, role::app-data, suite::debian
| Section: admin
| Priority: required
| Filename: pool/main/b/base-files/base-files_7.1_amd64.deb
| Size: 71776
| MD5sum: dcaeda04f934efba7de05d924f45a850
| SHA1: d4c5131596a65dfefa055026ee1c25c2aa95f13e
| SHA256: 9b89d2a217da3fa2c6366ad44748eaa3613e575e77bbb727a3b02b6a7b80ea7e
| 
| dpkg -i dpkg_1.16.9_amd64.deb 
| (Reading database ... 9690 files and directories currently installed.)
| Preparing to replace dpkg 1.16.9 (using dpkg_1.16.9_amd64.deb) ...
| Unpacking replacement dpkg ...
| Setting up dpkg (1.16.9) ...
| # apt-cache show base-files:amd64
| N: Unable to locate package base-files
| E: No packages found
`----

This also means that my plan to "aptitude download base-files:amd64"
followed by "dpkg -i base-files*amd64.deb" does not work, so I'll revert
to the i386 dpkg in that chroot for now.

Cheers,
       Sven


Reply to: