--- joko/doc/SampleTasks/sysadmin_2003-03.twingle 2003/03/07 23:30:46 1.1 +++ joko/doc/SampleTasks/sysadmin_2003-03.twingle 2003/03/08 00:56:44 1.4 @@ -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 @@ -75,3 +81,300 @@ Get:43 ftp://ftp.de.debian.org unstable/main libxml2 2.5.3-1 [547kB] Fetched 26.7MB in 18s (1420kB/s) + +------------------------------¦ Configuring Libc-client2003debian +------------------------------+ + ¦ As per IESG recommendations, libc-client no longer supports plaintext passwords over ¦ + ¦ non-SSL/TLS connections by default. This affects uw-imapd, ipopd and any other programs that ¦ + ¦ use libc-client for mail access. However, this functionality can be re-enabled by a directive ¦ + ¦ in the semi-official /etc/c-client.cf configuration file. If you answer yes, the directive ¦ + ¦ will be added for you. Note POP2 will not work over an encrypted connection. ¦ + ¦ ¦ + ¦ Note: cramd-md5 passwords are treated as plaintext passwords! ¦ + ¦ ¦ + ¦ Should plaintext passwords be enabled? ¦ + ¦ ¦ + ¦ no ¦ + ¦ yes ¦ + ¦ ¦ + ¦ ¦ + ¦ ¦ + ¦ ¦ + +-------------------------------------------------------------------------------------------------+ + +(Reading database ... 30565 files and directories currently installed.) +Removing libnss-db ... +dpkg: libdigest-md5-perl: dependency problems, but removing anyway as you request: + libwww-perl depends on libdigest-md5-perl. + libnet-dns-perl depends on libdigest-md5-perl. + libdigest-hmac-perl depends on libdigest-md5-perl. +Removing libdigest-md5-perl ... + +(Reading database ... 30542 files and directories currently installed.) +Preparing to replace libc6-dev 2.3.1-9 (using .../libc6-dev_2.3.1-14_i386.deb) ... +Unpacking replacement libc6-dev ... +Preparing to replace libc6 2.3.1-9 (using .../libc6_2.3.1-14_i386.deb) ... +Unpacking replacement libc6 ... +Setting up libc6 (2.3.1-14) ... +Current default timezone: 'Europe/Berlin'. +Local time is now: Sat Mar 8 00:38:08 CET 2003. +Universal Time is now: Fri Mar 7 23:38:08 UTC 2003. +Run 'tzconfig' if you wish to change it. + +(Reading database ... 30542 files and directories currently installed.) +Preparing to replace libexpat1 1.95.5-1 (using .../libexpat1_1.95.6-3_i386.deb) ... +Unpacking replacement libexpat1 ... +Selecting previously deselected package gcc-3.2-base. +Unpacking gcc-3.2-base (from .../gcc-3.2-base_1%3a3.2.3-0pre3_i386.deb) ... +Preparing to replace libgcc1 1:3.0.4-7 (using .../libgcc1_1%3a3.2.3-0pre3_i386.deb) ... +Unpacking replacement libgcc1 ... +Selecting previously deselected package libstdc++5. +Unpacking libstdc++5 (from .../libstdc++5_1%3a3.2.3-0pre3_i386.deb) ... +Preparing to replace sablotron 0.96.1-2 (using .../sablotron_0.97-6_i386.deb) ... +Unpacking replacement sablotron ... +Preparing to replace php4-xslt 4:4.2.3-8 (using .../php4-xslt_4.2.3-9_SU-1_i386.deb) ... +Unpacking replacement php4-xslt ... +(Reading database ... 30556 files and directories currently installed.) +Removing libsablot0 ... +Selecting previously deselected package libsablot0c102. +(Reading database ... 30550 files and directories currently installed.) +Unpacking libsablot0c102 (from .../libsablot0c102_0.97-6_i386.deb) ... +Preparing to replace php4-cgi 4:4.2.3-9 (using .../php4-cgi_4.2.3-9_SU-1_i386.deb) ... +Unpacking replacement php4-cgi ... +Preparing to replace libnet-perl 1:1.09.01-1 (using .../libnet-perl_1%3a1.12-1_all.deb) ... +Unpacking replacement libnet-perl ... +Preparing to replace perl-modules 5.6.1-8.2 (using .../perl-modules_5.8.0-17_all.deb) ... +Unpacking replacement perl-modules ... +dpkg: warning - unable to delete old file `/usr/share/perl/5.6.1/CGI': Directory not empty +dpkg: warning - unable to delete old file `/usr/share/perl/5.6.1/CPAN': Directory not empty +dpkg: warning - unable to delete old file `/usr/share/perl/5.6.1/Test': Directory not empty +Selecting previously deselected package libdb4.0. +Unpacking libdb4.0 (from .../libdb4.0_4.0.14-1_i386.deb) ... +Preparing to replace perl-doc 5.6.1-8.2 (using .../perl-doc_5.8.0-17_all.deb) ... +Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc' +Unpacking replacement perl-doc ... +Preparing to replace perl 5.6.1-8.2 (using .../perl_5.8.0-17_i386.deb) ... +Unpacking replacement perl ... +Preparing to replace libdbi-perl 1.21-2 (using .../libdbi-perl_1.32-1_i386.deb) ... +Unpacking replacement libdbi-perl ... +Preparing to replace libconvert-uulib-perl 0.201-2 (using .../libconvert-uulib-perl_0.212-1.1_i386.deb) ... +Unpacking replacement libconvert-uulib-perl ... +Preparing to replace libdbd-mysql-perl 1.2216-2 (using .../libdbd-mysql-perl_2.1020-2_i386.deb) ... +Unpacking replacement libdbd-mysql-perl ... +Preparing to replace libunix-syslog-perl 0.98-1 (using .../libunix-syslog-perl_0.100-1_i386.deb) ... +Unpacking replacement libunix-syslog-perl ... +Selecting previously deselected package libssl0.9.7. +Unpacking libssl0.9.7 (from .../libssl0.9.7_0.9.7a-1_i386.deb) ... +Preparing to replace libnet-ssleay-perl 1.08-1.1 (using .../libnet-ssleay-perl_1.22-1_i386.deb) ... +Unpacking replacement libnet-ssleay-perl ... +Preparing to replace libcompress-zlib-perl 1.16-1 (using .../libcompress-zlib-perl_1.16-1.1_i386.deb) ... +Unpacking replacement libcompress-zlib-perl ... +Selecting previously deselected package libgd-gd1-perl. +Unpacking libgd-gd1-perl (from .../libgd-gd1-perl_1.41-4_i386.deb) ... +dpkg: error processing /var/cache/apt/archives/libgd-gd1-perl_1.41-4_i386.deb (--unpack): + trying to overwrite `/usr/lib/perl5/auto/GD/GD.so', which is also in package libgd-perl +dpkg-deb: subprocess paste killed by signal (Broken pipe) +Preparing to replace libgd-perl 1.38-5 (using .../libgd-perl_1.41-4_all.deb) ... +Unpacking replacement libgd-perl ... +Selecting previously deselected package libcomerr1-kerberos4kth. +Unpacking libcomerr1-kerberos4kth (from .../libcomerr1-kerberos4kth_1.2.1-7_i386.deb) ... +Selecting previously deselected package libasn1-6-heimdal. +Unpacking libasn1-6-heimdal (from .../libasn1-6-heimdal_0.5.1-6_i386.deb) ... +Errors were encountered while processing: + /var/cache/apt/archives/libgd-gd1-perl_1.41-4_i386.deb +E: Sub-process /usr/bin/dpkg returned an error code (1) + + +#> dpkg --configure -a +Errors were encountered while processing: + libgd-perl + libcompress-zlib-perl + libnet-ssleay-perl + libunix-syslog-perl + perl + libdbd-mysql-perl + perl-modules + perl-doc + libconvert-uulib-perl + libdbi-perl + libnet-perl + + +root@quepasa:/usr/lib# apt-get -f install +Reading Package Lists... Done +Building Dependency Tree... Done +Correcting dependencies... Done +The following extra packages will be installed: + libapache-mod-perl libdb3 libdigest-nilsimsa-perl libdigest-sha1-perl libgd-gd1-perl + libhtml-parser-perl libkrb-1-kerberos4kth libkrb5-17-heimdal libmime-base64-perl libperl5.8 + libpgperl libpq3 libroken16-kerberos4kth perl-base razor +The following packages will be REMOVED: + libtime-hires-perl +The following NEW packages will be installed: + libdigest-nilsimsa-perl libgd-gd1-perl libkrb-1-kerberos4kth libkrb5-17-heimdal libperl5.8 libpq3 + libroken16-kerberos4kth +8 packages upgraded, 7 newly installed, 1 to remove and 263 not upgraded. +11 packages not fully installed or removed. +Need to get 0B/2948kB of archives. After unpacking 4333kB will be used. +Do you want to continue? [Y/n] + +Selecting previously deselected package libkrb-1-kerberos4kth. +(Reading database ... 31214 files and directories currently installed.) +Unpacking libkrb-1-kerberos4kth (from .../libkrb-1-kerberos4kth_1.2.1-7_i386.deb) ... +Preparing to replace libdb3 3.2.9-16 (using .../libdb3_3.2.9-17_i386.deb) ... +Unpacking replacement libdb3 ... +Selecting previously deselected package libroken16-kerberos4kth. +Unpacking libroken16-kerberos4kth (from .../libroken16-kerberos4kth_1.2.1-7_i386.deb) ... +Selecting previously deselected package libkrb5-17-heimdal. +Unpacking libkrb5-17-heimdal (from .../libkrb5-17-heimdal_0.5.1-6_i386.deb) ... +Selecting previously deselected package libpq3. +Unpacking libpq3 (from .../libpq3_7.3.2r-2_i386.deb) ... +cp: cannot stat `/etc/postgresql/pg_hba.conf': No such file or directory +cp: cannot stat `/etc/postgresql/pg_hba.conf': No such file or directory +cp: cannot stat `/etc/postgresql/postgresql.conf': No such file or directory +Could not save old binaries +Selecting previously deselected package libperl5.8. +Unpacking libperl5.8 (from .../libperl5.8_5.8.0-17_i386.deb) ... +Preparing to replace libpgperl 7.2.1-2woody2 (using .../libpgperl_7.3.2r-2_i386.deb) ... +Unpacking replacement libpgperl ... +Preparing to replace libmime-base64-perl 2.12-4 (using .../libmime-base64-perl_2.12-4.1_i386.deb) ... +Unpacking replacement libmime-base64-perl ... +Preparing to replace libapache-mod-perl 1.26-3.0woody1 (using .../libapache-mod-perl_1.27-3_i386.deb) ... +Unpacking replacement libapache-mod-perl ... +Preparing to replace libhtml-parser-perl 3.25-1 (using .../libhtml-parser-perl_3.26-0.1_i386.deb) ... +Unpacking replacement libhtml-parser-perl ... +Selecting previously deselected package libdigest-nilsimsa-perl. +Unpacking libdigest-nilsimsa-perl (from .../libdigest-nilsimsa-perl_0.06-1_i386.deb) ... +Preparing to replace libdigest-sha1-perl 2.00-1 (using .../libdigest-sha1-perl_2.01-0.1_i386.deb) ... +Unpacking replacement libdigest-sha1-perl ... +Preparing to replace razor 1.20-1 (using .../razor_2.200-2_i386.deb) ... +Unpacking replacement razor ... +dpkg: libtime-hires-perl: dependency problems, but removing anyway as you request: + amavis-milter depends on libtime-hires-perl; however: + Package libtime-hires-perl is to be removed. + Package perl which provides libtime-hires-perl is not configured yet. +(Reading database ... 31292 files and directories currently installed.) +Removing libtime-hires-perl ... +(Reading database ... 31279 files and directories currently installed.) +Preparing to replace perl-base 5.6.1-8.2 (using .../perl-base_5.8.0-17_i386.deb) ... +Unpacking replacement perl-base ... +dpkg: warning - unable to delete old file `/usr/share/perl/5.6.1': Directory not empty +Setting up perl-base (5.8.0-17) ... +(Reading database ... 31267 files and directories currently installed.) +Unpacking libgd-gd1-perl (from .../libgd-gd1-perl_1.41-4_i386.deb) ... +Setting up libkrb-1-kerberos4kth (1.2.1-7) ... + +Setting up libdb3 (3.2.9-17) ... + +Setting up libroken16-kerberos4kth (1.2.1-7) ... + +Setting up libkrb5-17-heimdal (0.5.1-6) ... + +Setting up libpq3 (7.3.2r-2) ... + +Setting up libperl5.8 (5.8.0-17) ... + +Setting up perl-modules (5.8.0-17) ... +Setting up perl (5.8.0-17) ... + +Setting up libpgperl (7.3.2r-2) ... +Setting up libmime-base64-perl (2.12-4.1) ... +Setting up libapache-mod-perl (1.27-3) ... + +Setting up libhtml-parser-perl (3.26-0.1) ... +Setting up libdigest-nilsimsa-perl (0.06-1) ... +Setting up libdigest-sha1-perl (2.01-0.1) ... +Setting up razor (2.200-2) ... + +Setting up libcompress-zlib-perl (1.16-1.1) ... +Setting up libconvert-uulib-perl (0.212-1.1) ... +Setting up libdbi-perl (1.32-1) ... +Setting up libdbd-mysql-perl (2.1020-2) ... +Setting up libnet-perl (1.12-1) ... + +Setting up libnet-ssleay-perl (1.22-1) ... +Setting up libunix-syslog-perl (0.100-1) ... +Setting up perl-doc (5.8.0-17) ... + +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) ...