[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#416330: server upgrade w/ stock linux 2.6.8 succeeds with some minor issues



Package: upgrade-reports
Severity: normal

<quote>
rmh@feanor:~$ sudo aptitude unmarkauto openoffice.org vim    $(dpkg-query -W 'kernel-image-2.6*' | cut -f1)
[...]
The following packages are unused and will be REMOVED:
  apache2 defoma fontconfig libfontconfig1 ttf-bitstream-vera
0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
[...]
Purging category type1..
fc-cache: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
Removing ttf-bitstream-vera ...
</quote>

Any particular reason for removing apache2 ?  Sure, it's a dummy package, but
the average admin has to check its contents to know that.  I find it confusing.

As for the fc-cache error, looks quite ugly although unimportant.  Should I file
a bug on its owner, asking to move the adequate bits from postrm to prerm ?

<quote>
Configuration file `/etc/hotplug.d/default/default.hotplug'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** default.hotplug (Y/I/N/O/D/Z) [default=N] ? y
</quote>

This makes no sense.  That file didn't even exist in my system before the
update (I checked yesterday's backup).


<quote>
The following NEW packages will be installed:
  analog apache2-doc apache2.2-common at bin86 bind9 bind9-doc bison
  ca-certificates cpp-4.1 dc debian-archive-keyring dhcp-client discover1
  discover1-data dlint dmidecode doc-debian doc-linux-text eject fdutils
  flex ftp g++ g++-3.3 g++-4.1 gcc-4.1 gcc-4.1-base gnu-efi gpgv iamerican
  ibritish iptables iputils-ping ispell laptop-detect libapache2-mod-perl2
  libapache2-mod-python libapr1 libaprutil1 libarchive-tar-perl libbind9-0
  libc-client2002edebian libcompress-zlib-perl libdb4.4 libdbd-pg-perl
  libdbi-perl libdevel-symdump-perl libdiscover1 libdns22 libedit2
  libevent1 libfribidi0 libgc1c2 libgnutls13 libgssapi2 libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libident libio-zlib-perl libisc11
  libisccc0 libisccfg1 liblockfile1 libltdl3 liblwres9 libmailutils1
  libmudflap0 libmudflap0-dev libmysqlclient15off libnet-daemon-perl
  libnewt0.52 libnfsidmap2 libnss-db libpcap0.7 libpci2 libpg-perl
  libplrpc-perl libpq4 librpcsecgss3 libsasl2-2 libsasl2-modules
  libsigc++-2.0-0c2a libslang2 libsocket6-perl libsqlite3-0 libssl0.9.8
  libssp0 libstdc++5-3.3-dev libstdc++6 libstdc++6-4.1-dev libtasn1-3
  libwww-perl libxml2 lpr lsof lwresd m4 mailagent manpages manpages-dev
  mawk mdetect mktemp mlock mpack mtools mysql-common ncurses-term
  nfs-common nvi openbsd-inetd openssh-client openssh-server pidentd
  portmap postgresql postgresql-7.4 postgresql-client-7.4
  postgresql-client-common postgresql-common postgresql-contrib
  postgresql-contrib-7.4 postgresql-doc postgresql-doc-7.4 ppp pppconfig
  pppoe pppoeconf python-central python-minimal python-newt python-support
  python2.4-minimal rcs read-edid readline-common sharutils spamassassin
  spamc sysvinit-utils tasksel tasksel-data tcsh telnet texinfo time
  traceroute update-inetd uw-imapd
</quote>

This is overbroad.  In particular, I have no use for postgresql, ppp,
spamassassin or uw-imapd.

It seems that for some reason tasksel decided that I want web, dns, and
mail tasks (that's what it displays post-upgrade).  OTOH, before upgrade
tasksel wasn't even installed.  When installing and running it in my
backup copy, web and mail tasks (but NOT dns) were enabled (I've never
enabled them, although this could well have been done during install
-it's a colo-).

<quote>
Preparing to replace ucf 1.17 (using .../archives/ucf_2.0020_all.deb) ...
Unpacking replacement ucf ...
dpkg: apache2-common: dependency problems, but removing anyway as you request:
 apache2-mpm-prefork depends on apache2-common (= 2.0.54-5sarge1); however:
  Package apache2-common is to be removed.
(Reading database ... 22793 files and directories currently installed.)
Removing apache2-common ...
Stopping web server: Apache2.
(Reading database ... 22420 files and directories currently installed.)
Preparing to replace apache2-mpm-prefork 2.0.54-5sarge1 (using .../apache2-mpm-prefork_2.2.3-3.3_i386.deb) ...
Stopping web server: Apache2 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
.
Stopping web server: Apache2 ... failed!
You may still have some apache2 processes running.  There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone.  Please review
the situation by hand.
</quote>

That was a bit scary (as in service being interrupted during the whole upgrade).
If it's harmless, I think it should be documented.

<quote>
Setting up qpopper (4.0.5.dfsg-0.1) ...
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

pop-3\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/in.qpopper -f /etc/qpopper.conf

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
-----------------------------------------------------------
</quote>

I had a bunch of similar warnings.  It's a bit confusing since I already had
setup the pop3 line in xinetd before upgrade, and no change was in fact needed.


<quote>
The following packages have been kept back:
  apt-file arj bsdgames bzip2 deborphan dialog dict elinks gawk gnutls-bin grep-dctrl guile-1.6-libs inetutils-ftp inetutils-telnet libgd2-noxpm
  libgsasl7 libguile-ltdl-1 libjpeg62 liblua50 liblualib50 libnet-dns-perl libpng12-0 libqthreads-12 librecode0 netcat netcat6 netselect nmap ntpdate
  openvpn patchutils realpath recode rsync screen sudo sysutils tmpreaper unzip wdiff webalizer wput xinetd zile
0 packages upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
</quote>

IIRC, these weren't installed on first dist-upgrade.  I had to run it a second
time.  I'm not sure why.

Also, I recall in some setups, /dev/hda suddenly renamed to /dev/sda when
upgrading Linux 2.4 to Linux 2.6.  This wasn't my case, but I suppose it'd
be good to mention that too.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)



Reply to: