Repositorio desde CD-ROM / imagen .iso

JOSE LUIS PALACIOS VERGARA joselpalaciosv en gmail.com
Sab Sep 14 16:32:23 CLST 2013


Estimados Listeros:
Necesito por favor si alguien sabe la manera correcta de que una imagen de
imagen de un DVD de Debian quede correctamente accesible desde el
repositorio local.
La imagen la tengo en:

/mnt/debian-6.0.6-amd64-DVD-1.iso
la unidad quedó montada en:
/media/cdrom0
mount -o loop /mnt/debian-6.0.6-amd64-DVD-1.iso  /media/cdrom0

Luego hago

apt-cdrom -d=/mnt/cdrom add
Using CD-ROM mount point /media/cdrom/
Identifying.. [52bdbda1d35f25a529b550fadda1c41e-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 0
signatures
This disc is called:
'Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56'
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56]/ squeeze contrib main
Repeat this process for the rest of the CDs in your set.

Luego:
apt-get update
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze InRelease
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze InRelease
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze Release.gpg
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze Release.gpg
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1
20120929-15:56] squeeze/main Translation-en
Err cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze/contrib i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
update cannot be used to add new CD-ROMs
Err cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
update cannot be used to add new CD-ROMs
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 DVD Binary-1
20120929-16:46] squeeze/main Translation-en
W: Failed to fetch cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official
amd64 DVD Binary-1
20120929-16:46]/dists/squeeze/contrib/binary-i386/Packages  Please use
apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be
used to add new CD-ROMs

W: Failed to fetch cdrom://[Debian GNU/Linux 6.0.6 _Squeeze_ - Official
amd64 DVD Binary-1 20120929-16:46]/dists/squeeze/main/binary-i386/Packages
 Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update
cannot be used to add new CD-ROMs

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

Con lo que no puedo utilizarlo para instalar nada desde esa unidad.
Alguien tiene idea de cual puede ser el problema.

Muchas Gracias
Feliz 18!!!

Saludos

José Luis


Más información sobre la lista de distribución Linux