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

Re: Need Help with chroot systax, not covered in docs..



on Sun, May 06, 2001 at 08:31:09AM -0500, John Foster (jfoster@augustmail.com) wrote:
> 
> Here is what I want to do; I have a dual boot system with partitions:
> /stable and partition /unstable. I want to mount /unstable to directory
> /stable/unstable  after doing so I issue command; 
> 'chroot /unstable apt-get update'
> 'chroot /unstable apt-get upgrade'
> 
> What happens is that all of the proper files on /unstable are downloaded
> and cached in /unstable/var/cache/apt/archives...so far, so good. Then I
> get an error message saying
> 
> E: Failure running script /usr/bin/apt-listchanges --apt || test $? -ne
> 10
> 
> How do I get past this? If this can be overcome, I think we will have a
> remote installation method and recovery method. Any ideas??

I tend to chroot into a shell:

   $ cd /jail
   $ chroot . bin/bash

...then adjust path, etc., as required.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpJld_9QmJh8.pgp
Description: PGP signature


Reply to: