Help with apt-get update with local repository
Good day.
I installed Debian 9.6 amd64 on my laptop and after that, I copied the
three DVD ISOs to the /Public folder and create three folder for mounting
the three ISOs and change the sources.list file, by the following:
# mkdir -p /media/armando/repositorydvd1
# mkdir -p /media/armando/repositorydvd2
# mkdir -p /media/armando/repositorydvd1
# nano /etc/apt/sources.list
and then, I wrote:
deb file:///media/armando/repositorydvd1/ stretch main contrib
deb file:///media/armando/repositorydvd2/ stretch main contrib
deb file:///media/armando/repositorydvd3/ stretch main contrib
then I save the changes.
After that, I launch the Console and mount three ISOs of Debian like follow:
# mount /home/armando/Público/debian-9.6.0-amd64-DVD-1.iso
/media/armando/repositorydvd1
# mount /home/armando/Público/debian-9.6.0-amd64-DVD-2.iso
/media/armando/repositorydvd2
# mount /home/armando/Público/debian-9.6.0-amd64-DVD-3.iso
/media/armando/repositorydvd3
Then, in the Console, I typed:
# apt-get update
The appears error like this:
Err:4
file:/media/armando/repositorydvd1/dist/stretch/contrib/binary-amd64/Packages
(2: No such file or directory)
Why is that? What I am doing wrong?
Thanks.
Enviado con AquaMail para Android
https://www.mobisystems.com/aqua-mail
Reply to: