Public bug reported:
Binary package hint: synaptic
This is an Ubuntu 7.10 system with Synaptic version 0.60ubuntu5
I have a laptop with an internal CDrom drive. Because I have a dialup
connection, I purchased a set of repositories on disk. These were a DVD
set, so I purchased an external DVDrom drive. I plannned on buying
updated DVD sets on a 6 month basis.
Unfortunately, though Nautilus mounted and displayed the contents of the
drive fine, Synaptic would not accept it when I used the "Add CD"
process.
The System>Administration>Software Sources process was identical in
failing to mount the disks.
Attepting an apt workaround, here was the command and output:
**********************************************88
[EMAIL PROTECTED]:~$ sudo apt-cdrom -d /media/dvdrom0 add
Using CD-ROM mount point /media/dvdrom0/
Unmounting CD-ROM
Waiting for disc...
Please insert a Disc in the drive and press enter
Mounting CD-ROM...
Identifying.. [fe42a07e880b7c155adbf052288edee4-2]
Scanning disc for index files..
Found 3 package indexes, 0 source indexes, 0 translation indexes and 0
signatures
This disc is called:
'Main No1'
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Main No1]/ gutsy main
deb cdrom:[Main No1]/ gutsy-security main
deb cdrom:[Main No1]/ gutsy-updates main
Unmounting CD-ROM...
Repeat this process for the rest of the CDs in your set.
*************************************************************
then, open Synaptic and try to install "apt-doc" -- it has no
dependencies, is short, and is located on the "Main No1" disk. Output
follows:
*************************************
Please insert the disk labeled:
Main No1
in drive /cdrom/
***********************************
It's in there already from adding it before, so I hit OK
The message disappears, then returns, still asking me to insert Main
No1.
So then I:
**********************************************************
[EMAIL PROTECTED]:~$ apt-cache policy apt-doc
apt-doc:
Installed: (none)
Candidate: 0.7.6ubuntu14
Version table:
0.7.6ubuntu14 0
500 cdrom://Main No1 gutsy/main Packages
************************************************************
Trying via terminal with apt-get:
**************************************
[EMAIL PROTECTED]:~$ sudo apt-get install apt-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
apt-doc
0 upgraded, 1 newly installed, 0 to remove and 180 not upgraded.
Need to get 0B/97.8kB of archives.
After unpacking 283kB of additional disk space will be used.
Media change: please insert the disc labeled
'Main No1'
in the drive '/cdrom/' and press enter
******************************************
I do, then same message repeats:
******************************************
Media change: please insert the disc labeled
'Main No1'
in the drive '/cdrom/' and press enter
**********************************************
Finally, attempted to fool apt by changing the links in / and /media to
point "cdrom" to the external drive via the following steps:
1.) I added an /etc fstab entry for scd1 (external dvdrom) just like the
existing scd0 (internal cdrom)
2.) I added a folder to /media called dvdrom0
3.) I renamed the link /media/cdrom to /media/cdrom-old
4.) I added a new link to /media called cdrom, pointing to dvdrom0
5.) I renamed the link in / from /cdrom to /cdrom-old
6.) I copied the link /media/cdrom to /
This finally did allow me to install the application. However it has
mixed up the links to the internal cdrom, and requires manual undoing
after installing a program.
Since repositories on disk tend to be in DVD format, and because
external drives allow non-dvdrom equipped machines to use the
repositories, this ought to be simple. If Nautilus can atomatically
mount the drive, surely apt/Synaptic/Software Sources should also be
able to do so.
An external drive is an economical way to add repositories to multiple
machines which aren't networked, without great expense. You can plug the
drive into any box. Unfortunately Synaptic doesn't seem able to
recognize the drive, unlike the rest of the operating system.
** Affects: synaptic (Ubuntu)
Importance: Undecided
Status: New
--
Synaptic won't accept external drive sources disks
https://bugs.launchpad.net/bugs/190117
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs