DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-08 21:31:17

adelattre
Member
Registered: 2008-07-14
Posts: 7

stuck at 'dpkg' step of chrooting debian etch

I'm following this tutorial:
http://dns323.kood.org/howto:chroot_debian

I'm using the minimal image downloaded from:
Debian Etch 4.0 (U.S. mirror) - [http://www.bfaber.com/dl/etch.tar]

all seems fine through this step:

chroot etch /bin/bash

Then, I'm lost at the following step(s).

***from the tutorial***
# At this point you should have a shell in the new debian roopt

# Fix the broken packages caused by the failed cdebootstrap - above Note - 08 dec 2007 by Chris - I think before proceeding you want to be sure that /proc, /dev, and friends all contain something reasonable - for example as set up by the mount commands in the fun_plug listed at the bottom of this page. Some of the installers seem to get confused when they can't find fstab, /dev, etc.

*update by Richard (23rd Dec 07) I think Chris (above) is right, go through the fun_plug and type in the commands by hand. Also, do dpkg*deb first (below), then libc6.

*update by Paul (18 Apr 08) This all seems much simpler with 1.04. no need to do any of those things afaict.

cd /var/cache/bootstrap
dpkg --force-all -i libc6*deb
dpkg --force-all -i dpkg*deb
dpkg --force-all -i libc6*deb

# repeat next step several times until no more errors
(if you are using the downloaded sarge package the .deb files are located in ”/var/cache/apt/archives” not in ”/var/cache/bootstrap”!)
***end of excerpt***

when I run the command 'dpkg --force-all -i libc6*deb' I get the following:

dpkg: error processing libc6*deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libc6*deb

Any advice would be appreciated.

Offline

 

#2 2008-11-09 04:14:53

trepex
Member
Registered: 2008-11-09
Posts: 12

Re: stuck at 'dpkg' step of chrooting debian etch

I'm stuck here too.  Find a solution?

Offline

 

#3 2008-11-09 05:02:08

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: stuck at 'dpkg' step of chrooting debian etch

You get the error because the file(s) do(es) not exist, or at least not in the location you are at.  Search to see if they are in a different location.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#4 2008-11-09 05:19:02

trepex
Member
Registered: 2008-11-09
Posts: 12

Re: stuck at 'dpkg' step of chrooting debian etch

Yes I know but I can't find them anywhere else.  There don't seem to be any .deb files at all in fact, in the etch image.  I've been following the instructions here:

http://dns323.kood.org/howto:chroot_debian

Offline

 

#5 2008-11-09 22:51:19

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: stuck at 'dpkg' step of chrooting debian etch

If I recall, when I chrooted debian etch, I did not have to do any of that.  I believe the wiki page was written for sarge, and had some references updated to etch.  I believe in sarge you did have to do these things, but not in etch.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB