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

Bug#382424: second pkgsel run after cdrom eject hangs

On Thu, Sep 21, 2006 at 10:39:25PM +0200, Jens Seidel wrote:
> On Sun, Aug 27, 2006 at 03:20:54PM -0400, Joey Hess wrote:
> > Jens Seidel wrote:
> > > APT is not able to mount a Debian CD, since APT searchs by default in
> > > /cdrom (see #282344) but /target/etc/fstab refers to /media/cdrom0.
> > > To reproduce it use the Beta 3 netinst ISO ("install" target) and
> > > install a system without network mirror. Once the installation finished
> > > the CD is unmounted. Now select again "Select and install software" and
> > > try to install another task. The system hangs now because APT cannot
> > > mount the CD. The same happens if the user unmout the CD manually ...
> I tried to start aptitude from the console and noticed that 
> APT::CDROM::NoMount "true";
> has no effect. 

According to apt's changelog this is now fixed in 0.7.1:
 "only unmount if APT::CDROM::NoMount is false"

I'm not sure about the remaining issues.

> Even after removing this line (or using "false") apt
> fails to mount the CD (even after the following fix!).
> The problem is the line '"/cdrom/" {'. Remove the trailing slash and it
> works like a charm:
> "/cdrom" {
> Whether you add a slash to 'mount "/cdrom";' (to make both entries
> consistent) is unimportant and has no effect.


Reply to: