Your message dated Tue, 26 Feb 2019 03:26:54 +0100
with message-id <[email protected]>
and subject line Re: Bug#923259: dpkg Segmentation fault installing into an 
other root
has caused the Debian Bug report #923259,
regarding dpkg Segmentation fault installing into an other root
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
923259: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923259
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg


$which dpkg
/usr/bin/dpkg

$type dpkg
dpkg is hashed (/usr/bin/dpkg)

$dpkg -S /usr/bin/dpkg
dpkg: /usr/bin/dpkg

$dpkg -l dpkg
ii dpkg 1.18.25 i386 Debian package management system

$dpkg --status dpkg
Package: dpkg
Essetial: yes
Status: installed ok installed
Priority: required
Section: admin
Installed-Size: 6860
Origin: debian
Maintainer: Dpkg Developers <[email protected]>
Bugs: debbugs://bugs.debian.org
Architecture: i386
Multi-Arch: foreign
Version: 1.18.25
Replaces: manpages-it (<< 2.80-4)
Depends: tar (>= 1.28-1)
Pre-Depends: libbz2-1.0 libc6 (>=2.11), liblzma5 (>= 5.2.2),
libselinux1 (>= 2.3), zlib1g (>= 1:1.1.4)
Suggests: apt, debsig-verify

$LANG=C dpkg --install --force-architecture \
  --root /target /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (hurd-i386) does not match system
(i386)
(Reading database ... 25026 files and directories currently installed.)
Preparing to unpack .../dpkg_1.19.5_hurd-i386.deb ...
Unpacking dpkg:hurd-i386 (1.19.5) over (1.19.2+b1) ...
dpkg: warning: subprocess old post-removal script was killed by signal
(Segmentation fault)
dpkg: trying script from the new package instead ...
dpkg: error processing
archive /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb
(--install):
 subprocess new post-removal script was killed by signal (Segmentation
 fault)
dpkg: error while cleaning up:
 subprocess new post-removal script was killed by signal (Segmentation
 fault)
Errors weer encountered while processing:
 /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb

-- 
Thomas

--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2019-02-25 at 16:14:36 +0100, Thomas Schweikle wrote:
> Package: dpkg

> $which dpkg
> /usr/bin/dpkg
> 
> $type dpkg
> dpkg is hashed (/usr/bin/dpkg)
> 
> $dpkg -S /usr/bin/dpkg
> dpkg: /usr/bin/dpkg
> 
> $dpkg -l dpkg
> ii dpkg 1.18.25 i386 Debian package management system
> 
> $dpkg --status dpkg
> Package: dpkg
> Essetial: yes
> Status: installed ok installed
> Priority: required
> Section: admin
> Installed-Size: 6860
> Origin: debian
> Maintainer: Dpkg Developers <[email protected]>
> Bugs: debbugs://bugs.debian.org
> Architecture: i386
> Multi-Arch: foreign
> Version: 1.18.25
> Replaces: manpages-it (<< 2.80-4)
> Depends: tar (>= 1.28-1)
> Pre-Depends: libbz2-1.0 libc6 (>=2.11), liblzma5 (>= 5.2.2),
> libselinux1 (>= 2.3), zlib1g (>= 1:1.1.4)
> Suggests: apt, debsig-verify
> 
> $LANG=C dpkg --install --force-architecture \
>   --root /target /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb
> dpkg: warning: overriding problem because --force enabled:
> dpkg: warning: package architecture (hurd-i386) does not match system
> (i386)
> (Reading database ... 25026 files and directories currently installed.)
> Preparing to unpack .../dpkg_1.19.5_hurd-i386.deb ...
> Unpacking dpkg:hurd-i386 (1.19.5) over (1.19.2+b1) ...
> dpkg: warning: subprocess old post-removal script was killed by signal
> (Segmentation fault)
> dpkg: trying script from the new package instead ...
> dpkg: error processing
> archive /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb
> (--install):
>  subprocess new post-removal script was killed by signal (Segmentation
>  fault)
> dpkg: error while cleaning up:
>  subprocess new post-removal script was killed by signal (Segmentation
>  fault)
> Errors weer encountered while processing:
>  /target/var/cache/apt/archives/dpkg_1.19.5_hurd-i386.deb

Well, sure, you are telling dpkg to install and execute GNU/Hurd code
on a GNU/Linux system. That's not going to work. Even if you managed
to just extract the contents via something like multistrap or similar
you'll still be unable to execute this from GNU/Linux. You should
proably be looking into using QEMU or similar to run a GNU/Hurd system.

Closing, as this is not a bug in dpkg.

Thanks,
Guillem

--- End Message ---

Reply via email to