PDA

View Full Version : [ubuntu] install 3.0~a13 live-build version on natty



cccc
June 19th, 2011, 08:33 PM
hi

I've the following live-build version installed on my ubuntu natty:

$ lb -v
live-build, version 2.0.12-1
This program is a part of

Copyright (C) 2006-2011 Daniel Baumann <daniel@debian.org>

Howto install 3.0~a... version on natty?

cccc
June 20th, 2011, 12:53 AM
I've installed live-build_3.0~a18-1_all.deb, but get this problem:


# lb config -p xubuntu-desktop --mode ubuntu --distribution natty -b usb-hdd
# lb build

.................................................. ......
P: Begin executing preseed...
P: Begin executing local preseeds...
P: Begin queueing installation of package lists...
W: Unknown package list 'xubuntu-desktop'
P: Begin queueing installation of local package lists...
P: Begin queueing installation of packages...
P: Begin queueing installation of local packages...
P: Begin installing packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package live-config
E: Unable to locate package live-config
P: Begin unmounting filesystems...

So I've tried to install live-config-systemd_3.0~a18-1_all.deb, but get this problem:

# dpkg -i live-config_3.0~a18-1_all.deb
(Reading database ... 145178 files and directories currently installed.)
Preparing to replace live-config 2.0.14-1 (using live-config_3.0~a18-1_all.deb) ...
Unpacking replacement live-config ...
Setting up live-config (3.0~a18-1) ...
Processing triggers for man-db ...

but sysvinit seems to be already installed:

# dpkg -l | grep sysvinit
ii sysvinit-utils 2.87dsf-4ubuntu23 System-V-like utilities

Howto solve this?

cccc
June 25th, 2011, 01:00 PM
I still cannot find any solution.
BTW Has someone already tried to install live-config-systemd_3.0~a... on your Ubuntu?

AndreOrbe
June 7th, 2012, 04:51 PM
live-config needs universe area.
Just add --parent-archive-areas "main universe" in live configuration.

cccc
June 7th, 2012, 04:56 PM
Just add --parent-archive-areas "main universe" in live configuration.

Thx a lot, but can you pls give me an example of --parent-archive-areas?

AndreOrbe
June 8th, 2012, 12:36 AM
I had to modify live scripts as explained in http://live.debian.net/gitweb?p=live-build.git;a=commitdiff;h=40a8a8ee7523240f4657b7689 09a9ed92fcfebc5 and use this config (I dont know the meaning of parent-* configurations but i added too).

lb config noauto \
-m "http://your_ubuntu_repository" \
--parent-mirror-binary "http://your_ubuntu_repository" \
--parent-mirror-binary-security "http://your_ubuntu_repository" \
--parent-mirror-chroot-security "http://your_ubuntu_repository" \
--mirror-chroot-security "http://your_ubuntu_repository" \
--mirror-bootstrap "http://your_ubuntu_repository" \
--mirror-binary "http://your_ubuntu_repository" \
--mode "ubuntu" \
--package-lists "standard" \
--archive-areas "main universe multiverse" \
--parent-archive-areas "main universe multiverse" \
--parent-distribution "precise" \
-d "precise" \
"${@}"
I added others packages (like gnome, ...) in a text file (something.chroot.list) in the config/package-lists folder.

cccc
June 8th, 2012, 02:58 AM
I had to modify live scripts as explained in http://live.debian.net/gitweb?p=live-build.git;a=commitdiff;h=40a8a8ee7523240f4657b7689 09a9ed92fcfebc5 and use this config (I dont know the meaning of parent-* configurations but i added too).

lb config noauto \
-m "http://your_ubuntu_repository" \
--parent-mirror-binary "http://your_ubuntu_repository" \
--parent-mirror-binary-security "http://your_ubuntu_repository" \
--parent-mirror-chroot-security "http://your_ubuntu_repository" \
--mirror-chroot-security "http://your_ubuntu_repository" \
--mirror-bootstrap "http://your_ubuntu_repository" \
--mirror-binary "http://your_ubuntu_repository" \
--mode "ubuntu" \
--package-lists "standard" \
--archive-areas "main universe multiverse" \
--parent-archive-areas "main universe multiverse" \
--parent-distribution "precise" \
-d "precise" \
"${@}"
I added others packages (like gnome, ...) in a text file (something.chroot.list) in the config/package-lists folder.

BTW how do you use this script?

AndreOrbe
June 8th, 2012, 03:19 AM
Take a look the examples: http://live.debian.net/manual/html/live-manual.en.html#749

cccc
June 8th, 2012, 01:37 PM
Thx