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

Re: live-build to specific revision of wheezy



Also - just to update - I tried as root and verified path is set, still getting chroot not found

I can compensate for any valuable help provided - thanks

root@debtest1:/home/debadmin/testISO# lb build
[2016-04-24 11:27:44] lb build
[2016-04-24 11:27:44] lb bootstrap
P: Setting up cleanup function
[2016-04-24 11:27:44] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2016-04-24 11:27:44] lb bootstrap_cdebootstrap
[2016-04-24 11:27:44] lb bootstrap_debootstrap
[2016-04-24 11:27:44] lb bootstrap_archive-keys
chroot: cannot change root directory to chroot: No such file or directory
P: Begin unmounting filesystems...
P: Saving caches...
chroot: cannot change root directory to chroot: No such file or directory
root@debtest1:/home/debadmin/testISO# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@debtest1:/home/debadmin/testISO# whereis chroot
chroot: /usr/sbin/chroot /usr/share/man/man2/chroot.2.gz /usr/share/man/man8/chroot.8.gz
root@debtest1:/home/debadmin/testISO#



Melanie Stewart
melanie.stewart@gmail.com
cell: 919.809.4277

On Sun, Apr 24, 2016 at 11:03 AM, Melanie <melanie.stewart@gmail.com> wrote:
Hi All,

Anything higher than 7.6 is not an option due to my customer requirements (red tape within banking institution)

I really need an exact copy of an existing server using the bootstrap --copy option

Each time I try to run it I get the following:

debadmin@debtest1:~$ lb config --bootstrap copy --debian-installer true
[2016-04-24 11:00:32] lb config --bootstrap copy --debian-installer true
P: Creating config tree for a debian/wheezy/i386 system
debadmin@debtest1:~$ lb build
[2016-04-24 11:00:35] lb build
[2016-04-24 11:00:35] lb bootstrap
P: Setting up cleanup function
[2016-04-24 11:00:35] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2016-04-24 11:00:35] lb bootstrap_cdebootstrap
[2016-04-24 11:00:35] lb bootstrap_debootstrap
[2016-04-24 11:00:35] lb bootstrap_archive-keys
/usr/lib/live/build/bootstrap_archive-keys: 31: /usr/lib/live/build/bootstrap_archive-keys: chroot: not found
P: Begin unmounting filesystems...
P: Saving caches...
/usr/lib/live/build/bootstrap: 31: /usr/lib/live/build/bootstrap: chroot: not found



On Wed, Apr 20, 2016 at 5:55 PM, Ozi Traveller <ozitraveller@gmail.com> wrote:
Hi Melanie

I agree with Michal Suchanek answer. The repo for old stable (wheezy) will contain all the latest packages, which is 7.10. 

I have some 7.6 iso's I can upload if that would help.

Just curious, why you need to go back so far?

Cheers
Ozi

On Thu, Apr 21, 2016 at 2:10 AM, Melanie <melanie.stewart@gmail.com> wrote:
Hi All,

I've been testing builds for days now and I cannot figure out the parameter or option to specify a specific revision of Debian to use as the base build.

I need to build from Debian Wheezy Update 6 (7.6) - Is there a way to do this?

I have also tried doing '--bootstrap copy' but it results in the chroot directory missing.

I'm open to alternative suggestions as well to create the build, but it has to be 7.6 or a copy of my current running install.


Thanks,

Melanie




Reply to: