if cdrom not found then use online files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
Wishlist
|
Michael Vogt |
Bug Description
if this is in the /etc/apt/
deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Unofficial i386 Binary-1 (20040915)]/
unstable main restricted
Then installing files that are on the cdrom fail.
Because I don't have the cdrom anymore.
I mean that apt-get should ask if it should download the file from an online
location, after trying the cdrom (and not finding the file or disc),
Otherwise you get the following result:
lupus@lupus ~ $ sudo apt-get install tla
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
gawk libneon24
Suggested packages:
ssh tla-doc
The following NEW packages will be installed:
gawk libneon24 tla
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1195kB of archives.
After unpacking 2773kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Media Change: Please insert the disc labeled
'Ubuntu 4.10 _Warty Warthog_ - Unofficial i386 Binary-1 (20040915)'
in the drive '/cdrom/' and press enter
Media Change: Please insert the disc labeled
'Ubuntu 4.10 _Warty Warthog_ - Unofficial i386 Binary-1 (20040915)'
in the drive '/cdrom/' and press enter
Media Change: Please insert the disc labeled
'Ubuntu 4.10 _Warty Warthog_ - Unofficial i386 Binary-1 (20040915)'
in the drive '/cdrom/' and press enter
should be:
sorry disc not found do you wish to try the other sources? [Y/n]
maybe add an option that it just does it without asking
This is debian bug #44135 bugs.debian. org/cgi- bin/bugreport. cgi?bug= 44135). There is a patch
(http://
available. But it certainly needs review/testing. If the patch is used, synaptic
can fallback to the network too when "cancel" is clicked in the "please insert
cd" dialog.
Cheers,
Michael