[Aptitude-devel] Bug#405907: Bug#405907: marked as done (aptitude: Bus error on sparc if a package on cmdline does not exist)

Axel Beckert abe at debian.org
Wed Feb 5 23:45:01 UTC 2014


Hi,

Manuel A. Fernandez Montecelo wrote:
> ># uname -a
> >Linux hw 2.6.32-5-sparc64-smp #1 SMP Tue Sep 24 00:00:54 UTC 2013 sparc64 GNU/Linux
[…]
> 
> This is sparc64, not sparc.

Yes and no. :-)

20/255/0 root at hw:pts/1 [~] # uname -a
Linux hw 2.6.32-5-sparc64-smp #1 SMP Tue Sep 24 00:00:54 UTC 2013 sparc64 GNU/Linux
21/0/0 root at hw:pts/1 [~] # dpkg --print-architecture
sparc
23/1/0 root at hw:pts/1 [~] # dpkg -l linux-image-2.6.32-5-sparc64-smp
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version            Architecture  Description
+++-=================================-==================-=============-==================================================
ii  linux-image-2.6.32-5-sparc64-smp  2.6.32-48squeeze4  sparc         Linux 2.6.32 for multiprocessor 64-bit UltraSPARC
25/0/0 root at hw:pts/1 [~] # ls -l linux-image-2.6.32-5-sparc64-smp*
-rw-r--r-- 1 root root 19705586 Sep 28 02:03 linux-image-2.6.32-5-sparc64-smp_2.6.32-48squeeze4_sparc.deb
26/0/0 root at hw:pts/1 [~] # 

The debian architecture is sparc which means 32 bit useland. The
hardware is 64 bit since the Linux kernel no more supports 32 bit
sparc hardware for quite a while. Hence all kernels (since IIRC Lenny)
are for sparc64 hardware. sparc64 as Debian architecture has both,
64-bit kernels and userland.

Think of "sparc" like running Debian's i386 architecture with
linux-image-amd64 kernel which is available as both, i386 and amd64
packages. Sparc is similar, only that all "i386" ("sparc") kernel
packages contain "amd64" ("sparc64") kernels.

> Did you use "sparc" ones in the past few years, or only sparc64?

It's a machine which runs with sparc and has a sparc64 (now again the
Debian architecture) chroot.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Aptitude-devel mailing list