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

Bug#51148: apt: misleading dependency message during install



Package: apt
Version: 0.3.14
Severity: normal

Hi,

Using apt method under dselect, all in one step purging expect5.24
and installing expect5.31, I got the following message from apt,

    dpkg: expect5.24: dependency problems, but removing anyway as you

which is misleading, since expect5.31 provides expect.  A complete
transcript follows,

    52 jsroot ~ # dselect
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
      expect5.24* ssh* 
    The following NEW packages will be installed:
      expect5.31 tcl8.2 tclreadline 
    0 packages upgraded, 3 newly installed, 2 to remove and 0 not
    upgraded.
    Need to get 1074kB of archives. After unpacking 2113kB will be
    used.
    Do you want to continue? [Y/n] 
    Get:1 http://ftp-mirror.internap.com potato/main tcl8.2 8.2.2-1
    [767kB]
    Get:2 http://ftp-mirror.internap.com potato/main tclreadline
    1.0.0-1 [61.3kB]  
    Get:3 http://ftp-mirror.internap.com potato/main expect5.31
    5.31.2-2 [246kB]   
    Fetched 1074kB in 3m27s (5187B/s)
                
    (Reading database ... 33009 files and directories currently
    installed.)
    Removing ssh ...
    Stopping OpenBSD Secure Shell server: sshd.
    Purging configuration files for ssh ...
    dpkg - warning: while removing ssh, directory `/etc/ssh' not empty
    so not removed.
    (Reading database ... 32978 files and directories currently
    installed.)
    Unpacking tcl8.2 (from .../tcl8.2_8.2.2-1_i386.deb) ...
    Unpacking tclreadline (from .../tclreadline_1.0.0-1_i386.deb) ...
    dpkg: expect5.24: dependency problems, but removing anyway as you
    request:
     dejagnu depends on expect; however:
      Package expect is not installed.
      Package expect5.24 which provides expect is to be removed.
    (Reading database ... 33100 files and directories currently
    installed.)
    Removing expect5.24 ...
    Checking available versions of expect, updating links in
    /etc/alternatives ...
    (You may modify the symlinks there yourself if desired - see `man
    ln'.)
    Discarding obsolete slave link expect.1
    (/usr/share/man/man1/expect.1.gz).
    Last package providing expect (/usr/bin/expect) removed, deleting
    it.
    Purging configuration files for expect5.24 ...
    (Reading database ... 33055 files and directories currently
    installed.)
    Unpacking expect5.31 (from .../expect5.31_5.31.2-2_i386.deb) ...
    Setting up tcl8.2 (8.2.2-1) ...
    Checking available versions of tclsh, updating links in
    /etc/alternatives ...
    (You may modify the symlinks there yourself if desired - see `man
    ln'.)
    Updating tclsh (/usr/bin/tclsh) to point to /usr/bin/tclsh8.2.
    Updating tclsh.1 (/usr/share/man/man1/tclsh.1.gz) to point to
    /usr/share/man/man1/tclsh8.2.1.gz.
    
    Setting up tclreadline (1.0.0-1) ...
    
    Setting up expect5.31 (5.31.2-2) ...
    Checking available versions of expect, updating links in
    /etc/alternatives ...
    (You may modify the symlinks there yourself if desired - see `man
    ln'.)
    Updating expect (/usr/bin/expect) to point to /usr/bin/expect5.31.
    Updating expect.1 (/usr/share/man/man1/expect.1.gz) to point to
    /usr/share/man/man1/expect5.31.1.gz.
    
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Press enter to continue.
     
    running dpkg --pending --configure ...
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following NEW packages will be installed:
      ssh 
    0 packages upgraded, 1 newly installed, 0 to remove and 0 not
    upgraded.
    Need to get 0B/212kB of archives. After unpacking 436kB will be
    used.
    Do you want to continue? [Y/n] 
    Configuring packages ...      
    (Reading database ... 33099 files and directories currently
    installed.)
    Unpacking ssh (from .../ssh_1%3a1.2pre11-2_i386.deb) ...
    Setting up ssh (1.2pre11-2) ...
    Starting OpenBSD Secure Shell server: sshd.
    
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Press enter to continue.
    
    running dpkg --pending --configure ...
    running dpkg --pending --remove ...
    53 jsroot ~ # cd /etc/ssh

I do believe that I cleanly satisfied all dependencies under
dselect before starting the install.

Thanks,
-- 
Jeff Sheinberg  <jeffsh@erols.com>


-- System Information
Debian Release: potato
Kernel Version: Linux eden-hda7.local 2.2.13 #2 Wed Nov 17 20:40:57 EST 1999 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.2-10       GNU C Library: Shared libraries and timezone
ii  libstdc++2.10   2.95.2-3       The GNU stdc++ library


Reply to: