--- Jeremy Malcolm <[EMAIL PROTECTED]> wrote:

> Good news!  DocBookWiki is now in Debian unstable,
[. . . . . . . . . . . . .]
> Please try the package out and
> let me know how you 
> get on.

Jeremy, some bad news. I tried to install the
package and it had some problems. The output (which
contains some error messages) is in the attached
file 'output.txt'.

I will describe how I installed it, so that maybe
you can reproduce it. Initially I installed a minimal
Debian from scratch from debian-40r0-i386-netinst.iso,
in a harddisk of at least 2.5GB . I did an almost
automatic installation using the preseed configuration
file that is attached. I placed it in the document
root
of a web server that can be accessed from the system
that is being installed. At the 'boot:' prompt of
the installation CD I typed:

boot: auto url=http://10.0.2.2/preseed.txt noapic
nolapic

Actually I did this installation using qemu, in a
virtual machine. So, the options 'noapic nolapic'
maybe are not needed in another case.

After the installation is finished, I modified
/etc/apt/sources.list in order to use sid instead of
etch:

deb http://ftp.debian.org/debian/ sid main contrib
non-free
deb-src http://ftp.debian.org/debian/ sid main contrib
non-free

Then I made:
aptitude update
aptitude upgrade

Since there is a user dbwiki created automatically
durin installation, I removed it so that it may not
interfere with the installation of the package.

I also installed 'openssh-server':
aptitude install openssh-server

Then I installed docbookwiki:
aptitude install docbookwiki

After it was installed (and I noticed the error
messages about books.conf, which are in the attached
file), I also noticed that the packages php5 and
php5-mysql were missing. They were not even in the
dependecies.

Later I will try to fix some of the problems
manually and see whether there are any other things
that need to be fixed.

Dashamir



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
Setting up docbookwiki (0.9.1cvs-1) ...
adduser: Warning: The home directory `/usr/share/docbookwiki' does not belong 
to the user you are currently creating.
install/sudo_config.sh: line 15: ../books.conf: No such file or directory
sed: can't read books.conf: No such file or directory

Committed revision 1.

Committed revision 2.
Checking out 'file:///usr/share/docbookwiki/content/SVN/repository/trunk/' in 
'my_docs'
A    my_docs/media
Checked out revision 2.
Checking out 'file:///usr/share/docbookwiki/content/SVN/repository/trunk/' in 
'../downloads/xml_source/'
A    ../downloads/xml_source/media
Checked out revision 2.
Building content. This may take some time..../import.sh: line 114: 
../books.conf: No such file or directory
./import.sh: line 114: ../books.conf: No such file or directory
./import.sh: line 114: ../books.conf: No such file or directory
./import.sh: line 114: ../books.conf: No such file or directory
./import.sh: line 114: ../books.conf: No such file or directory
done.
Indexing Data Source: "File-System"
Indexing "../content/books/xml/"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 2,818 words alphabetically
Writing header ...

[. . . . . . . . . . . . . . . . . . . ]

A    xml_source/slackware_router_en.xml
A    xml_source/linux_server_admin_en.xml
Checked out revision 16.
content/SVN/email-notifications.sh: line 17: ../../books.conf: No such file or 
directory

########## Localization

### Locale sets language and country.
d-i debian-installer/locale string en_US

### Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select us
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us


########## Network Configuration

# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_dhcp boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/confirm_static boolean true

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish


########## Mirror Settings

# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
d-i mirror/country string Albania
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
d-i mirror/udeb/suite string testing


########## Partitioning

# You can choose from any of the predefined partitioning recipes.
# Note: this must be preseeded with a localized (translated) value.
d-i partman-auto/choose_recipe \
       select All files in one partition (recommended for new users)
#d-i partman-auto/choose_recipe \
#       select Separate /home partition
#d-i partman-auto/choose_recipe \
#       select Separate /home, /usr, /var, and /tmp partitions

# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
#d-i partman-auto/expert_recipe string                         \
#      boot-root ::                                            \
#              40 50 100 ext3                                  \
#                      $primary{ } $bootable{ }                \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext3 }    \
#                      mountpoint{ /boot }                     \
#              .                                               \
#              500 10000 1000000000 ext3                       \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext3 }    \
#                      mountpoint{ / }                         \
#              .                                               \
#              64 512 300% linux-swap                          \
#                      method{ swap } format{ }                \
#              .

# This makes partman automatically partition without confirmation.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
       select Finish partitioning and write changes to disk
d-i partman/confirm boolean true


########## Clock and Timezone Setup

# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string US/Eastern


########## Apt Setup

# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false
# Uncomment this to avoid adding security sources, or
# add a hostname to use a different server than security.debian.org.
#d-i apt-setup/security_host string

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#       deb http://local.server/debian stable main
#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
#d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out
#d-i apt-setup/local0/key string http://local.server/key

# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
#d-i debian-installer/allow_unauthenticated string true


########## Account Setup

# Root password
d-i passwd/root-password password dbwiki
d-i passwd/root-password-again password dbwiki

# Create a normal user account.
d-i passwd/user-fullname string DocBook Wiki
d-i passwd/username string dbwiki
d-i passwd/user-password password dbwiki
d-i passwd/user-password-again password dbwiki


########## Base System Installation

# Select the initramfs generator used to generate the initrd for 2.6 kernels.
#d-i base-installer/kernel/linux/initramfs-generators string yaird


########## Boot Loader Installation

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true


########## Package Selection

#tasksel tasksel/first multiselect standard
#tasksel tasksel/first multiselect standard, web-server

# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential


########## Finishing up the first stage install

# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

# This will prevent the installer from ejecting the CD during the reboot,
# which is useful in some situations.
#d-i cdrom-detect/eject boolean false

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Doc-book-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doc-book-users

Reply via email to