debootstrap not installing dapper

Russell Davie rjrd at exemail.com.au
Sun Jun 11 06:03:21 UTC 2006


On Sun, 11 Jun 2006 14:17:02 +1000
Russell Davie <rjrd at exemail.com.au> wrote:

> Hi All
> 
> Running debootstrap stops at installing core packages.
> 
> Dapper is to be installed in /dev/hda7.
> 
> Command from the terminal:
>  sudo debootstrap  --arch i386 dapper /mnt/hda7/ http://archive.ubuntu.com/ubuntu
> 
> This downloads the packages and extracts them, however stops at installing:
> 
> I: Extracting zlib1g...
> I: Installing core packages...
> W: Failure trying to run: chroot /mnt/hda7 dpkg --force-depends
> --install var/cache/apt/archives/libc6_2.3.6-0ubuntu20_i386.deb
> 
> Running the command in chrooted /dev/hda7 fails as well and spews out
> stuff like this:
> 
> Preparing to replace libc6 2.3.6-0ubuntu20
> (using .../libc6_2.3.6-0ubuntu20_i386.deb) ...
> /var/lib/dpkg/tmp.ci/preinst: line 126: /dev/null: Permission denied
> /var/lib/dpkg/tmp.ci/preinst: line 131: /dev/null: Permission denied
> 
> and:
> dpkg: libc6: dependency problems, but configuring anyway as you request:
>  libc6 depends on locales (>= 2.3.11); however:
>   Package locales is not installed.
> 
> What is happening here? How can this be fixed?
> 

I found a solution...though its a bit of a hack

Deleted /dev/null in new partition
Opened nautilus as root and pointed it to /dev in new partition
When debootstrap created /dev/null again, I deleted it before debootstrap installs core packages.
Then all went well.
Later copied /dev/null to new partition /dev/null

What is the *proper* way fix this?

- R




More information about the ubuntu-users mailing list