Directories titled "Sources" cause apt-cdrom to fail
Bug #750694 reported by
Mario Limonciello
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Julian Andres Klode |
Bug Description
Binary package hint: apt
In a scenario that I'm installing, there is a directory that contains a subdirectory "Sources" on my installation media. I find that directory's presence causes the installation to fail at the stage that apt scans the cdrom.
Manually running apt-cdrom add provides the following error:
Read error - read (21: Is a directory).
Removing the directory causes that portion of the installation to succeed.
Attached in an strace log. The directory in question is /cdrom/
Changed in apt (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
Confirming this bog on Ubuntu 10.04 LTS:
$ sudo apt-cdrom add bef22ecebcc2f9d 3c0-2]
Using CD-ROM mount point /media/apt/
Identifying.. [4e8258cfd5d73b
Scanning disc for index files..
Found 0 package indexes, 1 source indexes, 0 translation indexes and 0 signatures
Please provide a name for this Disc, such as 'Debian 5.0.3 Disk 1':
florp
Name: 'florp'
This disc is called:
'florp'
Copying package lists...E: Read error - read (21: Is a directory)