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

Bug#80946: apt gets confused on CD change



Package: apt
Version: 0.3.19

When I use apt to install packages from a CD set (Debian potato, binary1-3)
apt sometimes gets confused.

Example:

    # apt-get install gemdropx
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      libggi2 libgii0 libsdl1.0
    The following NEW packages will be installed:
      gemdropx libggi2 libgii0 libsdl1.0
    0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/1160kB of archives. After unpacking 2519kB will be used.
    Do you want to continue? [Y/n]

I choose "Y".

    Media Change: Please insert the disc labeled 'Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-3 (20000814)' in the drive '/cdrom/' and press enter

Now I insert the binary3 CD and press enter.

    Err cdrom://[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-1 (20000814)] unstable/main libggi2 1:1.99.2.0b2.1-2
      Wrong CD

Here is the problem: apt asked for CD number 3 and complains about not
finding CD number 1.  Very strange.  Just for completeness I add the
remaining output:

    Err ftp://ftp.uni-erlangen.de stable/main libggi2 1:1.99.2.0b2.1-2
      Could not resolve 'ftp.uni-erlangen.de'
    Err ftp://ftp.uni-erlangen.de stable/main libgii0 1:0.6-1.1
      Could not resolve 'ftp.uni-erlangen.de'
    Err ftp://ftp.uni-erlangen.de stable/main libsdl1.0 1.0.1-4
      Could not resolve 'ftp.uni-erlangen.de'
    Failed to fetch ftp://ftp.uni-erlangen.de/pub/Linux/debian/dists/potato/main/binary-i386/libs/libggi2_1.99.2.0b2.1-2.deb
      Could not resolve 'ftp.uni-erlangen.de'
    Failed to fetch ftp://ftp.uni-erlangen.de/pub/Linux/debian/dists/potato/main/binary-i386/libs/libgii0_0.6-1.1.deb
      Could not resolve 'ftp.uni-erlangen.de'
    Failed to fetch ftp://ftp.uni-erlangen.de/pub/Linux/debian/dists/potato/main/binary-i386/libs/libsdl1.0_1.0.1-4.deb
      Could not resolve 'ftp.uni-erlangen.de'
    E: Unable to fetch some archives, maybe try with --fix-missing?

As my modem was switched off, apt was unable to dowload the files
via ftp.

My /etc/apt/sources.list file contains the lines

    deb-src cdrom:[Helix Gnome + Netscape + StarOffice]/helix/ unstable main
    deb cdrom:[Helix Gnome + Netscape + StarOffice]/helix/ unstable main
    deb file:/old/mirror/debian stable main contrib non-free non-US/contrib non-US/main non-US/non-free

    deb-src cdrom:[extra1]/ unstable main
    deb cdrom:[extra1]/ unstable main
    deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-3 (20000814)]/ unstable contrib main non-US/contrib non-US/main
    deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-2 (20000814)]/ unstable contrib main non-US/contrib non-US/main
    deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-1 (20000814)]/ unstable contrib main non-US/contrib non-US/main

    deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable main contrib non-free
    deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
    deb http://security.debian.org stable/updates main contrib non-free
    deb-src ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable main contrib non-free
    deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
    deb http://spidermonkey.helixcode.com/distributions/debian unstable main
    deb file:/home/gnu/add-ons ./
    deb-src file:/home/gnu/add-ons ./

I am using Debian GNU/Linux 2.2, kernel version 2.2.18.
My libc is 2.1.3-13

Jochen
-- 
                                         Omm
                                      (0)-(0)
http://www.mathematik.uni-kl.de/~wwwstoch/voss/privat.html



Reply to: