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

Re: Bug#577978: crosshurd: installation of Hurd hangs



Jakub Wilk wrote:
Package: crosshurd
Version: 1.7.37
Severity: important

Hello,

I tried to cross-install Hurd into an empty ext2 partition, and the installation process hanged after printing this:

| Fetched 38.2MB in 1min 1s (627kB/s) | Download complete and in download only mode
| I: Extracting /var/cache/apt/archives/base-files_5.3_hurd-i386.deb...
| I: Extracting /var/cache/apt/archives/base-passwd_3.5.22_hurd-i386.deb...
| I: Extracting /var/cache/apt/archives/bash_4.1-3_hurd-i386.deb...
| I: Extracting /var/cache/apt/archives/bsdutils_1%3a2.16.2-0_hurd-i386.deb...
| I: Extracting /var/cache/apt/archives/coreutils_7.5-6_hurd-i386.deb...
| I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb...

It looks like there are some issues with handling /bin/sh symlink:

# pstree -A -a -p 6251
crosshurd,6251 /usr/sbin/crosshurd
`-makehurddir.sh,6298 /usr/share/crosshurd/makehurddir.sh /media/pendrive/ i486 gnu `-makehurddir.sh,7018 /usr/share/crosshurd/makehurddir.sh /media/pendrive/ i486 gnu
          `-tar,7179 -xkf -

# strace -p 7179
Process 7179 attached - interrupt to quit
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
symlink("dash", "./bin/sh")             = -1 EEXIST (File exists)
[and so on...]

Hi,

this problem happens only with crosshurd from testing or sid. I try then also with debian lenny and at the extracting of dash I've got:

tar: ./bin/sh: Cannot create symlink to `dash': File exists
tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz'


due to the problem that /bin/sh point already to bash. But this doesn't break the installation. I also try in testing/sid to make the symlink /bin/sh to bash (instead of dash) but got the same error.

I haven't found a solution at the moment...

Ciao


Bruno


Reply to: