--- joko/doc/SampleTasks/sysadmin_2003-03.twingle 2003/03/07 23:56:43 1.2 +++ joko/doc/SampleTasks/sysadmin_2003-03.twingle 2003/03/08 01:27:11 1.5 @@ -1,6 +1,12 @@ @topic quepasa.netfrag.org - from php-upgrade to super-upgrade (unstable/main) -This would break a SuSE system! +We had errors: +[Fri Mar 7 07:48:07 2003] [error] PHP Parse error: parse error, expecting `']'' in /data/www/virtual/$ +[Fri Mar 7 07:48:07 2003] [error] PHP Fatal error: Undefined class name 'interwikimap' in /data/www/v$ + +Try an upgrade? Yes! + +This would break a SuSE system! (see list of packages/libraries required below!!!) Let's see how it works out with GNU/Debian..... cd /usr/lib @@ -291,3 +297,165 @@ Setting up libgd-gd1-perl (1.41-4) ... Setting up libgd-perl (1.41-4) ... root@quepasa:/usr/lib# + + + +--- Yakka still does not work... + +#> dpkg -i libxml-2.4.19 +... didn't work out ... +#> apt-get install libxml2 +Preparing to replace libxml2 2.4.19-4 (using .../libxml2_2.5.3-1_i386.deb) ... +Unpacking replacement libxml2 ... +Setting up libxml2 (2.5.3-1) ... +#> apt-get install libxslt1 +Preparing to replace libxslt1 1.0.21-0.2 (using .../libxslt1_1.0.27-1_i386.deb) ... +Unpacking replacement libxslt1 ... +Setting up libxslt1 (1.0.27-1) ... +#> apt-get install libxml1 +Unpacking libxml1 (from .../libxml1_1%3a1.8.17-2_i386.deb) ... +Setting up libxml1 (1.8.17-2) ... +#> apt-get install sablotron +Sorry, sablotron is already the newest version. +0 packages upgraded, 0 newly installed, 0 to remove and 261 not upgraded. +#> apt-get install expat +Unpacking expat (from .../expat_1.95.6-3_i386.deb) ... +Setting up expat (1.95.6-3) ... +#> apt-get install php4-domxml +Preparing to replace php4-domxml 4:4.2.3-8 (using .../php4-domxml_4.2.3-9_SU-1_i386.deb) ... +Unpacking replacement php4-domxml ... +Setting up php4-domxml (4.2.3-9_SU-1) ... +#> apt-get install php4-mcrypt +Preparing to replace php4-mcrypt 3:4.2.1-2 (using .../php4-mcrypt_3%3a4.2.3-1_i386.deb) ... +Unpacking replacement php4-mcrypt ... +Setting up php4-mcrypt (4.2.3-1) ... +#> apt-get install libdb1-compat libexpat1 libmm12 +Reading Package Lists... Done +Building Dependency Tree... Done +Sorry, libdb1-compat is already the newest version. +Sorry, libexpat1 is already the newest version. +Sorry, libmm12 is already the newest version. +0 packages upgraded, 0 newly installed, 0 to remove and 259 not upgraded. +#> apt-get install libpam0g +Sorry, libpam0g is already the newest version. +#> apt-get install libxslt-dev +Reading Package Lists... Done +Building Dependency Tree... Done +Note, selecting libxslt1-dev instead of libxslt-dev +The following extra packages will be installed: + libglib2.0-0 libxml2-dev libxslt1-dev pkg-config zlib1g zlib1g-dev +The following NEW packages will be installed: + libglib2.0-0 libxml2-dev libxslt1-dev pkg-config zlib1g-dev +1 packages upgraded, 5 newly installed, 0 to remove and 258 not upgraded. +Need to get 2246kB of archives. After unpacking 8984kB will be used. +Do you want to continue? [Y/n] +Get:1 ftp://ftp.de.debian.org unstable/main zlib1g 1:1.1.4-11 [44.7kB] +Get:2 ftp://ftp.de.debian.org unstable/main libglib2.0-0 2.2.1-2 [292kB] +Get:3 ftp://ftp.de.debian.org unstable/main zlib1g-dev 1:1.1.4-11 [216kB] +Get:4 ftp://ftp.de.debian.org unstable/main libxml2-dev 2.5.3-1 [1288kB] +Get:5 ftp://ftp.de.debian.org unstable/main pkg-config 0.15.0-2 [38.3kB] +Get:6 ftp://ftp.de.debian.org unstable/main libxslt1-dev 1.0.27-1 [367kB] +Fetched 2246kB in 2s (941kB/s) +(Reading database ... 31314 files and directories currently installed.) +Preparing to replace zlib1g 1:1.1.4-1 (using .../zlib1g_1%3a1.1.4-11_i386.deb) ... +Unpacking replacement zlib1g ... +Selecting previously deselected package libglib2.0-0. +Unpacking libglib2.0-0 (from .../libglib2.0-0_2.2.1-2_i386.deb) ... +Selecting previously deselected package zlib1g-dev. +Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.1.4-11_i386.deb) ... +Selecting previously deselected package libxml2-dev. +Unpacking libxml2-dev (from .../libxml2-dev_2.5.3-1_i386.deb) ... +Selecting previously deselected package pkg-config. +Unpacking pkg-config (from .../pkg-config_0.15.0-2_i386.deb) ... +Selecting previously deselected package libxslt1-dev. +Unpacking libxslt1-dev (from .../libxslt1-dev_1.0.27-1_i386.deb) ... +Setting up zlib1g (1.1.4-11) ... + +Setting up libglib2.0-0 (2.2.1-2) ... + +Setting up zlib1g-dev (1.1.4-11) ... +Setting up libxml2-dev (2.5.3-1) ... + +Setting up pkg-config (0.15.0-2) ... +Setting up libxslt1-dev (1.0.27-1) ... + + +-------- still doesn't work..... + +#> apt-get install php4-dev +Reading Package Lists... Done +Building Dependency Tree... Done +The following extra packages will be installed: + autoconf autoconf2.13 automake1.4 autotools-dev libtool +The following NEW packages will be installed: + autoconf autoconf2.13 automake1.4 autotools-dev libtool php4-dev +0 packages upgraded, 6 newly installed, 0 to remove and 258 not upgraded. +Need to get 1745kB/2074kB of archives. After unpacking 6577kB will be used. +Do you want to continue? [Y/n] +Get:1 ftp://ftp.de.debian.org unstable/main autoconf 2.57-2 [777kB] +Get:2 ftp://ftp.de.debian.org unstable/main autoconf2.13 2.13-47 [365kB] +Get:3 ftp://ftp.de.debian.org unstable/main autotools-dev 20030110.1 [51.3kB] +Get:4 ftp://ftp.de.debian.org unstable/main automake1.4 1:1.4-p6-6 [274kB] +Get:5 ftp://ftp.de.debian.org unstable/main libtool 1.4.3-5 [279kB] +Fetched 1745kB in 2s (654kB/s) +Selecting previously deselected package autoconf. +(Reading database ... 31629 files and directories currently installed.) +Unpacking autoconf (from .../autoconf_2.57-2_all.deb) ... +Selecting previously deselected package autoconf2.13. +Unpacking autoconf2.13 (from .../autoconf2.13_2.13-47_all.deb) ... +Adding `diversion of /usr/bin/autoconf to /usr/bin/autoconf2.50 by autoconf2.13' +Adding `diversion of /usr/bin/autoheader to /usr/bin/autoheader2.50 by autoconf2.13' +Adding `diversion of /usr/bin/autoreconf to /usr/bin/autoreconf2.50 by autoconf2.13' +Selecting previously deselected package autotools-dev. +Unpacking autotools-dev (from .../autotools-dev_20030110.1_all.deb) ... +Selecting previously deselected package automake1.4. +Unpacking automake1.4 (from .../automake1.4_1%3a1.4-p6-6_all.deb) ... +Selecting previously deselected package libtool. +Unpacking libtool (from .../libtool_1.4.3-5_i386.deb) ... +Selecting previously deselected package php4-dev. +Unpacking php4-dev (from .../php4-dev_4.2.3-9_SU-1_all.deb) ... +Setting up autoconf (2.57-2) ... + +Setting up autoconf2.13 (2.13-47) ... + +Setting up autotools-dev (20030110.1) ... +Setting up automake1.4 (1.4-p6-6) ... + +Setting up libtool (1.4.3-5) ... +Configuring libtool... + +Setting up php4-dev (4.2.3-9_SU-1) ... + + + +--- still not working!!! + +#> apt-get install libbz2 +Reading Package Lists... Done +Building Dependency Tree... Done +The following NEW packages will be installed: + libbz2 +0 packages upgraded, 1 newly installed, 0 to remove and 258 not upgraded. +Need to get 29.4kB of archives. After unpacking 62.5kB will be used. +Get:1 ftp://ftp.de.debian.org unstable/main libbz2 0.9.5d-4 [29.4kB] +Fetched 29.4kB in 0s (39.2kB/s) +Selecting previously deselected package libbz2. +(Reading database ... 32069 files and directories currently installed.) +Unpacking libbz2 (from .../libbz2_0.9.5d-4_i386.deb) ... +Setting up libbz2 (0.9.5d-4) ... +#> apt-get install libdb2 +Preparing to replace libdb2 2:2.7.7.0-7 (using .../libdb2_2%3a2.7.7.0-8_i386.deb) ... +Unpacking replacement libdb2 ... +Setting up libdb2 (2.7.7.0-8) ... +#> apt-get install libpcre3 +Preparing to replace libpcre3 3.4-1.1 (using .../libpcre3_3.9-1_i386.deb) ... +Unpacking replacement libpcre3 ... +Setting up libpcre3 (3.9-1) ... +#> apt-get install apache +Reading Package Lists... Done +Building Dependency Tree... Done +The following extra packages will be installed: + apache-common +2 packages upgraded, 0 newly installed, 0 to remove and 254 not upgraded. +Need to get 0B/1174kB of archives. After unpacking 4096B will be freed. +Do you want to continue? [Y/n]