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

Bug#765458: apt: broken cdrom support, breaking installation from weekly ISO images



Package: apt
Version: 1.0.9.2
Severity: serious
Tags: d-i
Justification: breaks d-i

[ X-D-Cc: debian-boot@, please keep it in the loop when replying. ]

Hi,

we received several bug reports about weekly installation images being
unable to find a kernel package to install on the freshly debootstrapped
system. I've been able to replicate this issue with apt 1.9.0.2. Various
checks performed within the /target chroot in the installer context
include:
 - sources.list is containing a well-formed cdrom deb line;
 - moving this file away and running "apt-cdrom add" adds it back;
 - apt-get update fails to proceed, and no Packages file ends up under
   /var/lib/apt/lists/, which explains d-i's failure to find a kernel
   package to install.
 - downgrading apt, apt-utils, libapt-inst1.5, libapt-pkg4.12 to their
   1.0.9.1 versions makes it possible to run apt-get update, even if
   its output isn't very encouraging (it's attached), and the expected
   Packages file pops up under /var/lib/apt/lists/;
 - since I don't want to screw up with apt's internal data under
   /var/lib/apt/, I can't confirm whether the output with downgraded
   *apt* packages is a result of various runs with the new and the old
   versions, or something else.

I'll try to figure out whether 801745284905e7962aa77a9f37a6b4e7fcdc19d0
and/or d916e2a93b798e29d342e9498266767c5be8e2a5 are responsible for
this, but the fact apt is pulled during debootstrap might make the
debian-cd tweak for including local packages a bit less straightforward
than usual.

Mraw,
KiBi.
Ign cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie Release
Ign cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages/DiffIndex
Err cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages
  
Err cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages
  
Err cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages
  
Err cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages
  
Ign cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main Translation-en
Err cdrom://[Debian GNU/Linux 8.0 _Jessie_ - Unofficial amd64 NETINST Binary-1 20141015-09:12] jessie/main amd64 Packages
  Failed to stat - stat (2: No such file or directory)
W: Failed to fetch copy:/var/lib/apt/lists/partial/Debian%20GNU_Linux%208.0%20%5fJessie%5f%20-%20Unofficial%20amd64%20NETINST%20Binary-1%2020141015-09:12_dists_jessie_main_binary-amd64_Packages  Failed to stat - stat (2: No such file or directory)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Reply to: