Re: Debian "wheezy" install on Netra X1 done
On Thu, 2025-09-04 at 07:59 +0200, John Paul Adrian Glaubitz wrote:
> Hello Dennis,
>
> On Wed, 2025-09-03 at 22:17 -0400, Dennis Clarke wrote:
> > On 9/3/25 17:13, John Paul Adrian Glaubitz wrote:
> > > Hi Dennis,
> >
> > > You don't need to apply any patches, just install the test kernel:
> > >
> > > https://people.debian.org/~glaubitz/sparc64/linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb
> > >
> >
> > That didn't work so well :
> >
> > nix# curl --cacert $HOME/ssl/certs/cacert.pem -L --url
> > 'https://people.debian.org/~glaubitz/sparc64/linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb'
> > -O
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 40.1M 100 40.1M 0 0 1791k 0 0:00:22 0:00:22 --:--:--
> > 1858k
> > nix#
> >
> > nix# dpkg -i linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb
> > dpkg-deb: error: archive
> > 'linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb' contains
> > not understood data member control.tar.xz, giving up
> > dpkg: error processing
> > linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb (--install):
> > subprocess dpkg-deb --control returned error exit status 2
> > Errors were encountered while processing:
> > linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb
> > nix# file linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb
> > linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb: Debian
> > binary package (format 2.0)
> > nix#
>
> Modern Debian-packages are compressed with XZ which is not supported by
> old versions of dpkg. You can decompress this package on an amd64 machine
> running a more recent version of Debian with:
>
> $ dpkg-deb -x linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb /target/path
>
> Then copy the kernel over manually and run "update-initramfs -k 6.12.3-sparc64-smp -c -v
Copy vmlinux, System.map and config into /boot and the modules into /lib/modules.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: