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

stable-->testing report



This is a report of an upgrade from stable to testing on 
Monday August 13th 2001.  It took what seemed like a lot of cycles of
apt-get dist-upgrade and dpkg --configure -a, but it was ultimately
successful. There were just two problems which seem to me to be worth
reporting, one having to do with LIBDB2 right at the start, one having
to do with EXIM in the middle of the process. There was also a smaller
problem with DNSUTILS.

Sources.list looks like this:

deb http://sluglug.ucsc.edu/debian testing main contrib non-free
deb http://non-US.debian.org/debian-non-US testing/non-US main contrib non-free

(sluglug.ucsc.edu is a local mirror)

I did apt-get update and then installed apt from testing with:

%% apt-get install apt

The first subsequent iteration of `apt-get dist-upgrade'  produced
this problem right at the start of the process:

%% apt-get dist-upgrade
   Reading Package Lists... Done
   Building Dependency Tree... Done
   Calculating Upgrade... Done
   The following packages will be REMOVED:
      catdvi dotfile dotfile-bash dotfile-elm dotfile-emacs dotfile-fvwm1
      dotfile-fvwm2 dotfile-rtin dotfile-tcsh freetype2-dev libncurses4-dev
      librpm1 libwmf0-dev minfo-smotif netscape4 pnmtopng tetex-lib tetex-nonfree
      xcontrib xlib6g-dev xpm4g xpm4g-dev 
   The following NEW packages will be installed:
      console-common cpp-2.95 debconf-utils expect gcc-2.95 gnome-bin groff-base
      hermes1 host html2text ifupdown ipchains klogd libbz2-1.0 libcap1 libdb3
      libdns4 libdps1 libgmp3 libgnome32 libgnomesupport0 libgnomeui32 libgnorba27
      libgpmg1-dev libgtk1.2 libisc3 libkpathsea3 libldap2 liblwres1 libmagick5
      libmorph libncurses5-dev libnetpbm9 libpcre3 libplot librep9 librpm0
      libsasl7 libssl0.9.6 libttf2 libungif4g libwraster2 libwww0 libxaw6 libxaw7
      libxml2 logrotate net-tools netkit-inetd netkit-ping perl perl-doc
      perl-modules slang1-dev tcl8.3 ted-common texinfo tk8.3 xlibs xlibs-dev
      xserver-common-v3 xutils 
   The following packages have been kept back
       realplayer rwho 
   372 packages upgraded, 62 newly installed, 22 to remove and 2  not upgraded.
   2 packages not fully installed or removed.
   Need to get 0B/204MB of archives. After unpacking 95.9MB will be used.
   Do you want to continue? [Y/n] 
   perl: error while loading shared libraries: libdb.so.3: cannot open
   shared object file: No such file or directory 
   E: Failure running script /usr/sbin/dpkg-preconfigure --apt

I went to /var/cache/apt/archives/ and started hand-installing
likely-looking packages. Luckily, the first one I tried was:

%% dpkg -i libdb2_2%3a2.7.7-8_i386.deb

That installed fine. And when that was done, the upgrade proceeded in
a familiar and reassuring way until:

   Errors were encountered while processing:
   /var/cache/apt/archives/exim_3.31-1_i386.deb
   E: Sub-process /usr/bin/dpkg returned an error code (1)

At that point, I tried:

%% dpkg --configure -a

Which worked fine until:

   Errors were encountered while processing:
  [xfig, ted, debhelper, wmmail, wmaker, alien]

%% apt-get dist-upgrade
   Reading Package Lists... Done
   Building Dependency Tree... Done
   You might want to run `apt-get -f install' to correct these.
   Sorry, but the following packages have unmet dependencies:
   debhelper: Depends: html2text but it is not installed
              Depends: debconf-utils but it is not installed
         ted: Depends: ted-common (= 2.10-3) but it is not installed
      wmaker: Depends: hermes1 (>= 1.3.2-1) but it is not installed
              Depends: libproplist0 (>= 0.10.1) but 0.9.1-2 is installed
              Depends: libwraster2 (>= 0.65.0) but it is not installed
      wmmail: Depends: libproplist0 (>= 0.10.1) but 0.9.1-2 is installed
        xfig: Depends: xaw3dg (>= 1.5-6) but 1.3-6.9potato1 is installed
           E: Unmet dependencies. Try using -f.

%% apt-get -f install

followed by:

%% dpkg --configure -a

followed by:

%% apt-get dist-upgrade

brought me to this point: 

    Reading Package Lists... Done
    Building Dependency Tree... Done
    Calculating Upgrade... Done
    The following NEW packages will be installed:
       expect gnome-bin host libdns4 libgmp3 libgnome32 libgnomesupport0
       libgnomeui32 libgnorba27 libgpmg1-dev libisc3 liblwres1 libmorph
       libncurses5-dev libplot librep9 libssl0.9.6 logrotate perl-doc slang1-dev
       tcl8.3 tk8.3 xlibs-dev xserver-common-v3 xutils 
    The following packages have been kept back
       realplayer rwho 
    228 packages upgraded, 25 newly installed, 0 to remove and 2  not upgraded.
    Need to get 0B/100MB of archives. After unpacking 62.3MB will be used.
    Do you want to continue? [Y/n] 

    Preparing to replace exim 3.12-10.1 (using
    .../archives/exim_3.31-1_i386.deb) ... 
    Stopping MTA: exim.
    mv: cannot create regular file `/etc/exim/exim.conf': No such file
    or directory 
    dpkg: error processing
    /var/cache/apt/archives/exim_3.31-1_i386.deb (--unpack): 
    subprocess pre-installation script returned error exit status 1
    Starting MTA: exim.

   [mailx, logrotate, man-db, groff, nvi, setserial, makedev, mbr,
    modutils, procps, ae, biff, bin86, bison, dc, libdns4, libics3,
    liblwres1, libssl0.9.6, dnsutils]

then:

    Unpacking replacement dnsutils ...
    Errors were encountered while processing:
    /var/cache/apt/archives/exim_3.31-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

%% dpkg --configure -a

    dpkg: dependency problems prevent configuration of dnsutils:
    dnsutils depends on host; however:
    Package host is not installed.
    dpkg: error processing dnsutils (--configure):
    dependency problems - leaving unconfigured

%% apt-get install host

proceeded as normal

%% dpkg --configure -a
   
  [completed without doing anything]

%% apt-get dist-upgrade

    Reading Package Lists... Done
    Building Dependency Tree... Done
    Calculating Upgrade... Done
    The following NEW packages will be installed:
       expect gnome-bin libgmp3 libgnome32 libgnomesupport0 libgnomeui32
       libgnorba27 libgpmg1-dev libmorph libncurses5-dev libplot librep9 perl-doc
       slang1-dev tcl8.3 tk8.3 xlibs-dev xserver-common-v3 xutils 
    The following packages have been kept back
       realplayer rwho 
    213 packages upgraded, 19 newly installed, 0 to remove and 2  not upgraded.
    Need to get 0B/96.4MB of archives. After unpacking 58.8MB will be used.
    Do you want to continue? [Y/n] 

    Preparing to replace exim 3.12-10.1 (using
    .../archives/exim_3.31-1_i386.deb) ... 
    Stopping MTA: exim.
    mv: cannot create regular file `/etc/exim/exim.conf': No such file
    or directory 
    dpkg: error processing
    /var/cache/apt/archives/exim_3.31-1_i386.deb (--unpack): 
    subprocess pre-installation script returned error exit status 1
    Starting MTA: exim.

    [doc-debian, doc-linux-text, file, finger, flex, ftp, gpm. ispell,
     iamerican, ibritish, less, lynx, m4, manpages-dev, mime-support,
     mpack, mtools, mutt, ncurses, term, patch]

%% dpkg --configure -a

    [ispell mpack finger iamerican ftp lynx gpm ncurses-term doc-debian
     flex less manpages-dev mime-support m4  mutt mtools ibritish 
     doc-linux-text patch]

%% apt-get dist-upgrade
 
    Calculating Upgrade... Done
    The following NEW packages will be installed:
      expect gnome-bin libgmp3 libgnome32 libgnomesupport0 libgnomeui32
      libgnorba27 libgpmg1-dev libmorph libncurses5-dev libplot librep9 perl-doc
      slang1-dev tcl8.3 tk8.3 xlibs-dev xserver-common-v3 xutils 
    The following packages have been kept back
      realplayer rwho 
    193 packages upgraded, 19 newly installed, 0 to remove and 2  not upgraded.
    Need to get 0B/86.2MB of archives. After unpacking 57.9MB will be used.
    Do you want to continue? [Y/n] 

    Preparing to replace exim 3.12-10.1 (using
    .../archives/exim_3.31-1_i386.deb) ... 
    Stopping MTA: exim.
    mv: cannot create regular file `/etc/exim/exim.conf': No such file
    or directory 
    dpkg: error processing
    /var/cache/apt/archives/exim_3.31-1_i386.deb (--unpack): 
    subprocess pre-installation script returned error exit status 1
    Starting MTA: exim.

    [python-base, sharutils, rsh-client, ssh, tcsh, time, wenglish,
     libpaperg, psutils, a2ps, aalib1, aalib-bin, xlibs-dev,
     libgpmg1-dev, slang1-dev, libncurses5-dev, aalib1-dev, acroread,
     tcl8.3, tk8.3 ]

%% dpkg --configure -a
 
    [libpaperg, tcl8.3, tk8.3, libncurses5-dev, libgpmg1-dev,
     rsh-client, slang1-dev, psutils, wenglish, xlibs-dev,
     a2ps, ssh, python-base, time, acroread, tcsh, sharutils, 
     aalib1, aalib-bin, aalib1-dev ]

At that point, I created the directory /etc/exim/ manually, and:

%% dpkg -i exim_3.31-1_i386.deb

And it seemed to install properly:

    Preparing to replace exim 3.12-10.1 (using exim_3.31-1_i386.deb) ...
    Stopping MTA: exim.
    Unpacking replacement exim ...
    Setting up exim (3.31-1) ...
    Installing new version of config file /etc/init.d/exim ...
    Installing new version of config file /etc/cron.daily/exim ...
    Installing new version of config file /etc/cron.d/exim ...
    Installing new version of config file /etc/email-addresses ...

%% dpkg --configure -a

had nothing to do, and then:

%% apt-get dist-upgrade

    Reading Package Lists... Done
    Building Dependency Tree... Done
    Calculating Upgrade... Done
    The following NEW packages will be installed:
       expect gnome-bin libgmp3 libgnome32 libgnomesupport0 libgnomeui32
       libgnorba27 libmorph libplot librep9 perl-doc xserver-common-v3 xutils 
    The following packages have been kept back
       realplayer rwho 
    178 packages upgraded, 13 newly installed, 0 to remove and 2  not upgraded.
    Need to get 0B/70.9MB of archives. After unpacking 34.0MB will be used.
    Do you want to continue? [Y/n] 
   
That completed uneventfully (except that I was asked about
configuration details that I had already been asked about, with
respect to fetchmail and with respect to the X server).

The upgrade seems to have been successful ultimately (thought I
haven't tested it a great deal yet), but the problems with libdb2 and
exim seem noteworthy.

Thank you for all your excellent work,

Jim



Reply to: