Home
room is publicly logged: http://chat.jones.dk/logs/
talks@conference.jones.dk
Saturday, August 20, 2011< ^ >
Room Configuration
[05:37:08] Chatroom is destroyed
[05:37:08] Chatroom is stopped
[05:37:22] Chatroom is created
[05:37:22] Chatroom is started
[05:37:22] nagzilla joins the room
[07:41:19] jonas joins the room
[08:49:23] [Doto VR] joins the room
[08:51:17] <[Doto VR]> hi
[08:51:28] <[Doto VR]> how are you jonas?
[08:52:34] <jonas> hi
[08:52:37] <jonas> I am good
[08:52:40] <jonas> how are you?
[08:53:41] <[Doto VR]> i am fine
[08:53:55] <[Doto VR]> I am ready to install debian 6.0.2 in my computer
[08:55:43] <jonas> yeah!
[08:56:53] <[Doto VR]> i use gnome desktop
[08:57:33] <jonas> ok
[08:58:16] <jonas> GNOME is the default desktop, so that should be easy: Just choose to install desktop task when asked which tasks to install
[08:59:08] <[Doto VR]> ok
[09:00:57] <[Doto VR]> Tell me about your boxer script to build the system
[09:01:00] <jonas> Good luck!
[09:01:37] <jonas> first install Debian
[09:01:48] <jonas> my boxer script needs Debian
[09:02:13] <[Doto VR]> ok i am ready in Debian
[09:02:13] <jonas> boxer creates a new Debian-based system in a directory
[09:02:45] <jonas> are you sitting at another computer, or do you need to disconnect from this chat while installing Debian?
[09:04:25] <[Doto VR]> Ok, now my computer is ready to run debian and I chat from computers whose system debian
[09:04:53] <jonas> I do not understand?  You chat from another system that is already running Debian?
[09:05:19] <jonas> you can continue chat with me while installing Debian on your machine?
[09:06:10] <[Doto VR]> Yes, I am  chat from this system that is already running Debian?
[09:06:32] <[Doto VR]> yes, my machine finish installing debian
[09:07:12] <jonas> oh, you are already finished installing Debian?
[09:07:49] <[Doto VR]> yes
[09:08:12] <jonas> cool!
[09:08:31] <[Doto VR]> :-)
[09:09:16] <jonas> you are using your new Debian now?
[09:10:27] <[Doto VR]> yes, i am using debian-6.0.2.1-i386
[09:11:10] <jonas> great!
[09:11:16] <jonas> time to try boxer!
[09:11:18] <[Doto VR]> ok
[09:11:49] <jonas> Open Iceweasel and go here: http://git.emdebian.org/?p=upstream/boxer.git;a=blob;f=README
[09:12:30] <[Doto VR]> ok
[09:13:11] <[Doto VR]> i am ready
[09:13:11] <jonas> ok you will do it? or ok you have already done it?
[09:13:31] <jonas> good
[09:13:49] <jonas> try follow the instructions there, and tell me how it goes
[09:14:52] <jonas> oh, and before you start, you (obviously) need to install git): aptitude install git
[09:15:01] <jonas> use aptitude, not apt-get
[09:15:16] <[Doto VR]> ok, i am install now
[09:15:36] <jonas> always use aptitude, aptitude is your friend!
[09:15:46] <[Doto VR]> yes
[09:18:29] <[Doto VR]> ok, installing finish
[09:19:09] <[Doto VR]> now i want to try git
[09:25:21] <[Doto VR]> Submodule path 'tweaks': checked out '37034415cd97041684ea55d3c2fbade91bb67cb2'
[09:28:14] <[Doto VR]> What should I do?
[09:28:39] <jonas> Try Example 1
[09:29:27] <[Doto VR]> ok
[09:30:03] <[Doto VR]> make install >> bash: make: command not found
[09:30:32] <[Doto VR]> what is wrong?
[09:31:10] <jonas> aptitude install make
[09:31:20] <[Doto VR]> ok
[09:31:52] <jonas> boxer uses the "make" language to express the order of commands
[09:32:14] <jonas> "make" is a classical tool for expressing recipes for compiling software
[09:33:10] <jonas> often when writing code in C or C++ or also in many other programming languages, a "Makefile" is included with recipes to do "make" and "make install" and "make clean"
[09:34:25] <[Doto VR]> make /bin/sh: /usr/sbin/install_packages: not found  * Please aptitude install multistrap make -C multistrap prep make[1]: dpkg-architecture: Command not found make[1]: Entering directory `/home/aclynx/boxer/multistrap' make[1]: dpkg-architecture: Command not found sed -e 's,@packages@,,' -e 's,@source@,http://localhost:9999/debian,' -e 's,@suite@,sid,' <multistrap.conf.in >multistrap.conf make[1]: Leaving directory `/home/aclynx/boxer/multistrap' touch stamp-prep-multistrap make -C multistrap build make[1]: dpkg-architecture: Command not found make[1]: Entering directory `/home/aclynx/boxer/multistrap' make[1]: dpkg-architecture: Command not found # Create system into /home/aclynx/boxer/targetroot mkdir -p "/home/aclynx/boxer/targetroot" /usr/bin/sudo -- '/usr/sbin/multistrap' -f multistrap.conf -a '' -d '/home/aclynx/boxer/targetroot' sudo: /usr/sbin/multistrap: command not found make[1]: *** [stamp-build] Error 1 make[1]: Leaving directory `/home/aclynx/boxer/multistrap' make: *** [stamp-build-multistrap] Error 2
[09:35:27] <jonas> It says "Please aptitude install multistrap"
[09:35:41] <jonas> :-)
[09:35:44] <[Doto VR]> ok
[09:37:46] <jonas> other tools are also needed
[09:37:54] <jonas> aptitude install devscript
[09:38:20] <jonas> devscript pulls in a bunch of development tools you might need
[09:39:10] <[Doto VR]> ok, i am will install this tools now
[09:40:34] <jonas> devscript is tools to help develop Debian. You do not need devscript to use boxer, but you need other tools that devscript also need
[09:41:04] [Doto VR] leaves the room
[09:41:15] <jonas> example: both devscript and boxer needs the package dpkg-dev. when you install devscript, dkpg-dev is also automatically installed.
[09:41:36] [Doto VR] joins the room
[09:44:28] <jonas> later I will provide boxer as a Debian package. Then it will automatically install "make" and "dpkg-dev" and any other tools that it needs.
[09:44:49] <[Doto VR]> yes, i see in list installing devscripts
[09:45:44] <[Doto VR]> my internet is slow
[09:45:51] <jonas> I am patient
[09:45:58] <jonas> hope you are patient too :-)
[09:46:29] <[Doto VR]> ok
[09:46:37] <jonas> what speed is your internet?
[09:47:43] <[Doto VR]> in terminal  : 26.4 kB/s
[09:49:03] <jonas> oh yes that is slow
[09:50:17] <jonas> after you finish Example 1, I can help you add a proxy
[09:50:35] <jonas> with a proxy, you do not need to download same Debian package multiple times
[09:50:53] <jonas> so you can play with boxer much faster
[09:51:31] <jonas> but first try Example 1
[09:51:34] <[Doto VR]> ok
[09:51:52] <jonas> are you still installing devscript?
[09:52:37] <[Doto VR]> yes
[09:52:59] <[Doto VR]> 67 newly installed
[09:54:43] <jonas> ?
[09:55:07] <jonas> install done?
[09:56:10] <jonas> when done, try Example 1 again
[09:58:59] <[Doto VR]> yes, if installing finish. I will try example 1 again
[10:11:35] <[Doto VR]> what wrong ?
[10:11:37] <[Doto VR]> /bin/sh: /usr/sbin/install_packages: not found make -C multistrap prep dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type i486-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type i486-linux-gnu. make[1]: Entering directory `/home/aclynx/boxer/multistrap' sed -e 's,@packages@,,' -e 's,@source@,http://localhost:9999/debian,' -e 's,@suite@,sid,' <multistrap.conf.in >multistrap.conf make[1]: Leaving directory `/home/aclynx/boxer/multistrap' touch stamp-prep-multistrap make -C multistrap build dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type i486-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type i486-linux-gnu. make[1]: Entering directory `/home/aclynx/boxer/multistrap' # Create system into /home/aclynx/boxer/targetroot mkdir -p "/home/aclynx/boxer/targetroot" /usr/bin/sudo -- '/usr/sbin/multistrap' -f multistrap.conf -a 'armel' -d '/home/aclynx/boxer/targetroot' multistrap 2.1.7 using multistrap.conf Using foreign architecture: armel multistrap building armel multistrap on 'i386' INF: Setting ./lib64 -> ./lib symbolic link. Getting package lists: apt-get  -o Apt::Architecture=armel -o Dir::Etc::TrustedParts=/home/aclynx/boxer/targetroot/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/home/aclynx/boxer/targetroot/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/home/aclynx/boxer/targetroot/ -o Dir::Etc=/home/aclynx/boxer/targetroot/etc/apt/ -o Dir::Etc::SourceList=/home/aclynx/boxer/targetroot/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=/home/aclynx/boxer/targetroot/var/lib/apt/ -o Dir::State::Status=/home/aclynx/boxer/targetroot/var/lib/dpkg/status -o Dir::Cache=/home/aclynx/boxer/targetroot/var/cache/apt/ update Err http://localhost sid Release.gpg   Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused) Err http://localhost/debian/ sid/contrib Translation-en   Unable to connect to localhost:9999: Err http://localhost/debian/ sid/contrib Translation-en_US   Unable to connect to localhost:9999: Err http://localhost/debian/ sid/main Translation-en   Unable to connect to localhost:9999: Err http://localhost/debian/ sid/main Translation-en_US   Unable to connect to localhost:9999: Err http://localhost/debian/ sid/non-free Translation-en   Unable to connect to localhost:9999: Err http://localhost/debian/ sid/non-free Translation-en_US   Unable to connect to localhost:9999: Reading package lists... Done W: Failed to fetch http://localhost:9999/debian/dists/sid/Release.gpg  Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)  W: Failed to fetch http://localhost:9999/debian/dists/sid/contrib/i18n/Translation-en.bz2  Unable to connect to localhost:9999:  W: Failed to fetch http://localhost:9999/debian/dists/sid/contrib/i18n/Translation-en_US.bz2  Unable to connect to localhost:9999:  W: Failed to fetch http://localhost:9999/debian/dists/sid/main/i18n/Translation-en.bz2  Unable to connect to localhost:9999:  W: Failed to fetch http://localhost:9999/debian/dists/sid/main/i18n/Translation-en_US.bz2  Unable to connect to localhost:9999:  W: Failed to fetch http://localhost:9999/debian/dists/sid/non-free/i18n/Translation-en.bz2  Unable to connect to localhost:9999:  W: Failed to fetch http://localhost:9999/debian/dists/sid/non-free/i18n/Translation-en_US.bz2  Unable to connect to localhost:9999:  W: Some index files failed to download, they have been ignored, or old ones used instead. I: Calculating required packages. apt-get --force-yes -y  -o Apt::Architecture=armel -o Dir::Etc::TrustedParts=/home/aclynx/boxer/targetroot/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/home/aclynx/boxer/targetroot/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/home/aclynx/boxer/targetroot/ -o Dir::Etc=/home/aclynx/boxer/targetroot/etc/apt/ -o Dir::Etc::SourceList=/home/aclynx/boxer/targetroot/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=/home/aclynx/boxer/targetroot/var/lib/apt/ -o Dir::State::Status=/home/aclynx/boxer/targetroot/var/lib/dpkg/status -o Dir::Cache=/home/aclynx/boxer/targetroot/var/cache/apt/ install  debian-archive-keyring Reading package lists... Done Building dependency tree... Done E: Unable to locate package debian-archive-keyring apt download failed. Exit value: 100 make[1]: *** [stamp-build] Error 25 make[1]: Leaving directory `/home/aclynx/boxer/multistrap' make: *** [stamp-build-multistrap] Error 2
[10:12:52] <jonas> boxer try to use proxy
[10:13:07] <[Doto VR]> oh
[10:13:16] <jonas> that is an error in boxer! IT should only try to use proxy when you ask it to do so
[10:13:53] <jonas> did you do other things than example1?
[10:14:18] <jonas> you did not rename config.mk.example?
[10:15:16] <[Doto VR]> yes
[10:15:36] <jonas> yes you renamed? or yes you did not rename?
[10:16:19] <[Doto VR]> yes I did not change
[10:16:48] <jonas> strange
[10:17:35] <[Doto VR]> this my directory : >>> ls bin           config.mk.example  multistrap         targetroot        tweaks classes-available  lb              README             targetroot.state classes-enabled    Makefile          stamp-prep-multistrap  TODO
[10:18:10] <jonas> try again: in a new directory execute the 3 commands in Install and then the 2 commands in Example 1
[10:18:46] <[Doto VR]> ok
[10:19:04] <jonas> (I try also)
[10:22:06] <[Doto VR]> ok, this work
[10:22:43] <jonas> it works?!!
[10:23:00] <[Doto VR]> yes
[10:23:04] <jonas> great!
[10:23:50] <jonas> now setup a proxy, so that you do not need to wait for your slow internet connection every time you build a test system:
[10:23:55] <jonas> aptitude install approx
[10:24:18] <[Doto VR]> ok
[10:25:37] <jonas> you now need to edit the config of approx, but
[10:25:54] <jonas> before you edit config files, I want to suggest something:
[10:26:18] <jonas> Make a backup every time you edit a config file below /etc
[10:26:42] <jonas> that way you can easier find out later on, what files you changed
[10:27:07] <jonas> /etc contains many many files, and normally you only edit very few of them
[10:27:39] <jonas> Example: Right now you need to edit /etc/approx/approx.conf
[10:27:57] <jonas> before you edit anything, make a backup of that file, like this:
[10:28:16] <jonas> cp -a /etc/approx/approx.conf /etc/approx/approx.conf.orig
[10:29:38] <jonas> (if you later edit the same file again, do not make a backup again: it is the original not edited file you want to preserve)
[10:30:02] <jonas> ok?
[10:32:02] <[Doto VR]> ok
[10:32:36] <jonas> good
[10:33:13] <jonas> when you made that backup, edit  /etc/approx/approx.conf to enable the "debian" line
[10:33:14] <jonas> also
[10:33:36] <[Doto VR]> yes
[10:33:39] <jonas> change it from ftp.debian.org <ftp://ftp.debian.org> to cdn.debian.net
[10:34:07] <jonas> so that the final line is like this:
[10:34:09] <[Doto VR]> ok
[10:34:17] <jonas> debian http://cdn.debian.net/debian
[10:34:47] <[Doto VR]> ok ready
[10:34:48] <jonas> cdn.debian.net is a "magic" host that tries to find the Debian mirror that is closest to you
[10:35:04] <[Doto VR]> but i am sorry
[10:35:30] <[Doto VR]> because i am must leave chat
[10:35:32] <[Doto VR]> ok, thank you today, I had to leave the chat. because since it was nearing time for iftar. tomorrow we go again
[10:35:35] <[Doto VR]> bye
[10:35:43] <jonas> ok
[10:35:49] <jonas> bye!
[10:35:53] [Doto VR] leaves the room
[22:58:36] jonas leaves the room