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

Bug#740537: marked as done (Installation fails when the iso is the second cdrom)



Your message dated Tue, 4 Aug 2020 00:09:01 +0200
with message-id <[🔎] 20200804000901.ada4d3e7ac8e2e0050ab3eb3@mailbox.org>
and subject line Mass-closing old installation-report bugs
has caused the Debian Bug report #740537,
regarding Installation fails when the iso is the second cdrom
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
740537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740537
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports

Boot method: CD
Image version: http://cdimage.debian.org/cdimage/release/7.4.0/i386/iso-cd/debian-7.4.0-i386-netinst.iso
Date: Mar  2 09:05:53

Machine: QEMU
Partitions: 4G
 1	1048576-4064280575	4063232000	primary	ext4	/dev/sda1	
 5	4065329152-4293918719	228589568	logical	linux-swap	/dev/sda5


Base System Installation Checklist:
[O] = OK, [E] = Error, [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [ ]
Detect CD:              [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [E]
Install boot loader:    [E]
Overall install:        [O]

Comments/Problems:

Installation fails when the iso is the *second* cdrom.
This test was done because of real life cases.

Here is the command line used to test the installer in QEMU

kvm -net none -boot d -cdrom /dev/cdrom -drive file=/path_to_iso/debian-7.4.0-i386-netinst.iso,index=3,media=cdrom disk.img

There is no network as it is not what is to be tested.
There are 2 optical drives: the real one and the netinst iso.
There is no disk in the real one so the boot continues with the iso.
/dev/sr0 is empty and /dev/sr1 is the netinst iso.

At some point after the base system installation, apt-setup fails:

### SYSLOG ###
Mar  2 09:15:44 in-target: Setting up console-setup (1.88) ...
Mar  2 09:15:48 main-menu[264]: INFO: Menu item 'apt-setup-udeb' selected
Mar  2 09:15:49 apt-setup: umount: can't umount /target/media/cdrom0: Invalid argument
Mar  2 09:15:49 apt-setup: umount: can't umount /target/media/cdrom1: Invalid argument
Mar  2 09:15:49 apt-setup: Using CD-ROM mount point /media/cdrom/
Mar  2 09:15:49 apt-setup: Identifying.. 
Mar  2 09:15:49 apt-setup: [636493caf48da23d66882b6f022bdafd-2]
Mar  2 09:15:49 apt-setup: Scanning disc for index files..
Mar  2 09:15:49 apt-setup: Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
Mar  2 09:15:50 kernel: [  598.471749] ISO 9660 Extensions: Microsoft Joliet Level 3
Mar  2 09:15:50 kernel: [  598.474954] ISO 9660 Extensions: RRIP_1991A
Mar  2 09:15:50 apt-setup: Using CD-ROM mount point /media/cdrom/
Mar  2 09:15:50 apt-setup: Identifying.. 
Mar  2 09:15:50 apt-setup: [2bcf937bf77c4547b28ba57100d6d106-2]
Mar  2 09:15:50 apt-setup: Scanning disc for index files..
Mar  2 09:15:50 apt-setup: 
Mar  2 09:15:50 apt-setup: W
Mar  2 09:15:50 apt-setup: : 
Mar  2 09:15:50 apt-setup: Failed to mount '/dev/sr0' to '/media/cdrom/'
Mar  2 09:15:50 apt-setup: 
Mar  2 09:15:50 apt-setup: E
Mar  2 09:15:50 apt-setup: : 
Mar  2 09:15:50 apt-setup: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture?
Mar  2 09:15:50 apt-setup: 
Mar  2 09:18:50 apt-setup: warning: /usr/lib/apt-setup/generators/40cdrom returned error code 1; discarding output
### SYSLOG ###

Of course, this problem does not occur when the iso is /dev/sr0
At this point, we get the following message

### UI ###
[!!] Configure the package manager

apt configuration problem
An attempt to configure apt to install additional packages from the CD failed

<Go Back> <Continue>
### UI ###

Then 'in-target' process is unable to locate some packages (cf syslog):
laptop-detect, discover, installation-report, popularity-contest

Choosing <Continue> leads to grub installation failure

### UI ###
[!!] Install the GRUB bootloader on a hard disk

GRUB installation failed!
The 'grub-pc' package failed to install into /target/. Without the GRUB boot loader, the
installed system will not boot.

<Go Back> <Continue>
### UI ###

The reason is the same. syslog gives:

in-target: Unable to locate package grub-common

Of course, we can go on without grub.
Installation ends properly.
We are forced to install grub by ourselves.
This is not what a user wants.

Hope this helps,

--
igor

Attachment: lsb-release
Description: Binary data

Attachment: hardware-summary.gz
Description: GNU Zip compressed data

Attachment: partman.gz
Description: GNU Zip compressed data

Attachment: status.gz
Description: GNU Zip compressed data

Attachment: syslog.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
I'm closing the reports below.

That's installation-reports for Debian 7 with
- undefined errors
- problems which are likely to have been fixed in the meantime
- successful installation

Because of the age, there is no chance to analyse them further and therefore
they are no longer relevant or of any use for current releases:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708167
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710921
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712842
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713941
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718451
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721841
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722728
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722986
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724601
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724906
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725750
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725915
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726077
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728126
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728397
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730414
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731114
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731776
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732625
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734171
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734641
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736234
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737683
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739912
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740410
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740537
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740770
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741027
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741155
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742947
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743060
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743142
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743435
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746245
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746658
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746926
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747209
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748127
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748385
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748641
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749220
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751393
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752850
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757165
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757244
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758260


Holger

-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: