Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-18 Thread Pieter Van Isacker
Hi Sven,

Thanks for that suggestion.
I've quickly tried this on a test VM and indeed crossgrading seems to work much 
better in debian 9 compared to debian 7.

Thanks,
Pieter

> On 16 Jan 2018, at 16:03, Sven Hartge  wrote:
> 
> Pieter Van Isacker  wrote:
> 
>> While testing change a Debian Wheezy from 32bit to 64bit I ran into an
>> issue. Following the guide on https://wiki.debian.org/CrossGrading
>>  Once we've change to 64bit we
>> plan to update to Debian 8 and then possibly to Debian 9
> 
> You are better off first upgrading to Debian 9 and *then* trying to
> crossgrade. The packages in Debian 9 are more prepared for multi-arch
> than the one in Debian 7.
> 
> Still, there is no guarantee it will work and for production systems I
> strongly advise you to just backup the data and reinstall from scratch
> as 64bit system.
> 
> Grüße,
> Sven.
> 
> -- 
> Sigmentation fault. Core dumped.
> 



Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Michael Lange
Hi,

On Tue, 16 Jan 2018 14:58:48 +0100
Pieter Van Isacker  wrote:

> Hi all,
> 
> While testing change a Debian Wheezy from 32bit to 64bit I ran into an
> issue. Following the guide on https://wiki.debian.org/CrossGrading
>  Once we've change to 64bit we
> plan to update to Debian 8 and then possibly to Debian 9

About two years ago, before upgrading from wheezy to jessie, I
successfully switched my system from 32 to 64 bit (after two failed
trials :)
When I had first started with the tips from the above link, the results
were desastrous :)
The advice from the following page:
http://blog.zugschlus.de/archives/972-How-to-amd64-an-i386-Debian-installation-with-multiarch.html
worked for me, although of course I cannot guarantee that they will work
for you either. And I'll have to add that I began to do as above page
instructed me only halfway into the process (when I had almost manoeuvered
myself into disaster again), so I cannot tell about the first half of that
page's instructions; the second half though surely saved my day back then.

Good luck (and don't forget to backup first!! :)

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It is necessary to have purpose.
-- Alice #1, "I, Mudd", stardate 4513.3



Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread deloptes
Sven Hartge wrote:

> Still, there is no guarantee it will work and for production systems I
> strongly advise you to just backup the data and reinstall from scratch
> as 64bit system.

+1

copy data (backup)
dpkg --get-selections
install 64
dpkg --set-selections
migrate configurations

90% is planning



Re: Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Sven Hartge
Pieter Van Isacker  wrote:

> While testing change a Debian Wheezy from 32bit to 64bit I ran into an
> issue. Following the guide on https://wiki.debian.org/CrossGrading
>  Once we've change to 64bit we
> plan to update to Debian 8 and then possibly to Debian 9

You are better off first upgrading to Debian 9 and *then* trying to
crossgrade. The packages in Debian 9 are more prepared for multi-arch
than the one in Debian 7.

Still, there is no guarantee it will work and for production systems I
strongly advise you to just backup the data and reinstall from scratch
as 64bit system.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Crossgrading Wheezy from 32bit to 64bit: Solving package dependency problems after kernel change.

2018-01-16 Thread Pieter Van Isacker
Hi all,

While testing change a Debian Wheezy from 32bit to 64bit I ran into an issue. 
Following the guide on https://wiki.debian.org/CrossGrading 

Once we've change to 64bit we plan to update to Debian 8 and then possibly to 
Debian 9

Changing the kernel to 64bit works fine, installing a 64bit version of dpkg, 
tar & apt also works fine.

But then when having to change the installed packages from 32bit to 64bit I ran 
into trouble.
When trying to run install vim for example:

# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 acpi-support-base : Depends: acpid (>= 1.0.4) but it is not going to be 
installed
 Recommends: consolekit but it is not going to be installed
 acpid:i386 : Depends: module-init-tools:i386 (> 3.1-rel-2) but it is not 
installable
  Recommends: acpi-support-base:i386 (>= 0.114-1) but it is not 
installable
 adduser : Depends: perl-base (>= 5.6.0) but it is not going to be installed
 ca-certificates : Depends: openssl (>= 1.0.0) but it is not going to be 
installed
 ca-certificates-java : Depends: openjdk-6-jre-headless (>= 6b16-1.6.1-2) but 
it is not going to be installed or
 java6-runtime-headless
Depends: libnss3 (>= 3.12.10-2~) but it is not going to 
be installed
 console-setup-linux : Depends: kbd (>= 0.99-12) or
console-tools (>= 1:0.2.3-16) but it is not 
going to be installed
 debconf : PreDepends: perl-base (>= 5.6.1-4) but it is not going to be 
installed
   Recommends: apt-utils (>= 0.5.1) but it is not going to be installed
 debconf-i18n : Depends: liblocale-gettext-perl but it is not going to be 
installed
Depends: libtext-iconv-perl but it is not going to be installed
Depends: libtext-charwidth-perl but it is not going to be 
installed
 facter : Depends: virt-what but it is not going to be installed
  Recommends: dmidecode but it is not going to be installed
 fai-client : Depends: perl but it is not going to be installed
  Depends: libapt-pkg-perl but it is not going to be installed
  Recommends: libgraph-perl but it is not going to be installed
 grub-pc:i386 : Depends: ucf:i386 but it is not installable
 initramfs-tools : Depends: klibc-utils (>= 2.0-1~) but it is not going to be 
installed
   Depends: cpio but it is not going to be installed
   Recommends: busybox (>= 1:1.01-3) but it is not going to be 
installed or
   busybox-initramfs but it is not installable or
   busybox-static but it is not going to be 
installed
 initscripts:i386 : Depends: sysv-rc:i386 but it is not installable or
 file-rc:i386 but it is not installable
 keyboard-configuration : Depends: liblocale-gettext-perl but it is not going 
to be installed
  Depends: initscripts but it is not going to be 
installed
 libaugeas-ruby : Depends: libaugeas-ruby1.9.1 but it is not going to be 
installed
 libaugeas0:i386 : Depends: augeas-lenses:i386 but it is not installable
 libjson-ruby : Depends: ruby-json but it is not going to be installed
 libpam-runtime : Depends: libpam-modules (>= 1.0.1-6) but it is not going to 
be installed
 libswitch-perl : Depends: perl but it is not going to be installed
 libtext-wrapi18n-perl : Depends: libtext-charwidth-perl but it is not going to 
be installed
 linux-base : Depends: libuuid-perl but it is not going to be installed
 module-init-tools : Depends: libkmod2 but it is not going to be installed
 nfs-common:i386 : Depends: ucf:i386 but it is not installable
   Recommends: python:i386 but it is not installable
 ntp:i386 : Depends: netbase:i386 but it is not installable
 perl:i386 : Depends: perl-modules:i386 (>= 5.14.2-21+deb7u5) but it is not 
installable
 Recommends: netbase:i386 but it is not installable
 perl-modules : Depends: perl (>= 5.14.2-1) but it is not going to be installed
 puppet-common : Depends: libopenssl-ruby or
  libopenssl-ruby1.9.1 or
  libruby (>= 1:1.9.3.4) but it is not going to be 
installed
 Depends: ruby-shadow but it is not going to be installed or
  libshadow-ruby1.8
 python : Depends: python2.7 (>= 2.7.3-1~) but it is not going to be installed
 python-minimal : Depends: python2.7-minimal (>= 2.7.3-1~) but it is not going 
to be installed
 python2.7:i386 : Depends: mime-support:i386 but it is not installable
 ruby : Depends: ruby1.9.1 (>= 1.9.3.194-1) but it is not going to be installed
 sysv-rc : Depends: sysvinit-utils (>= 2.86.ds1-62) but it is not going to be 
installed
   Depends