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

Bug#240331: apt: CDROMs must be manually ejected and mounted on Apple/Mac/PowerPC



Package: apt
Version: 0.5.23
Severity: normal

I first noticed this problem when using base-config from the Sarge
installer (which I downloaded yesterday). I was installing a fresh
system, and for the first time using only CDs rather than doing a
network install. base-config goes into an apt configuration step,
and I chose CDROM. Then it calls apt-cdrom and asks for a CD to 
be inserted so it can scan it.

CD #1 was already in the drive the first time this happened, and I
pushed the OK button several times with no response. I finally figured
out that the CD in the drive had been unmounted, and switched to
another console and mounted it. Then the installer was happy -- until
it asked for the next CD. I figured out that again the CD was
unmounted, and in order to put in another CD, I had to mount that one,
eject it (using the eject command -- remember many Macs don't have a CD
eject button on their CD drives), and then insert a new CD and mount it.

This is way too much for a newbie to figure out.

Then after I got the system going and I was using aptitude and apt-get
to install more packages from the CDs, I found the same thing was
true. Each time a new CD was called for, I had to manually eject the
old one, insert a new one and then mount it. So the entire apt system
just doesn't handle the case of Mac CDs well at all. That's why I
wrote the bug against apt rather than the installer; I'm sure
base-config just uses apt, and if apt was fixed base-config would work
too.

I'd be happy to test any proposed fixes.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "powerpc";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "testing";
APT::Cache-Limit "10000000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --


deb http://debian.crosslink.net/debian/ stable main  
#deb http://non-us.debian.org/debian-non-US stable/non-US main

deb http://debian.crosslink.net/debian/ testing main  
#deb-src http://debian.crosslink.net/debian/ testing main  
#deb http://non-us.debian.org/debian-non-US testing/non-US main
#deb-src http://non-us.debian.org/debian-non-US testing/non-US main

deb http://security.debian.org/ stable/updates main

#deb http://http.us.debian.org/debian/ unstable main
deb-src http://http.us.debian.org/debian/ unstable main

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.20-powerpc
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.3-1    GCC support library
ii  libstdc++5                  1:3.3.3-1    The GNU Standard C++ Library v3

-- no debconf information


-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net




Reply to: