Configure apt for iso images
Hi,
I'm recently installed my first debian system. I downloaded the first 4 cd iso images. Since the basic install was accomplished using only the first CD, I did not burn the rest of the images. Now I want to upgrade my system from these iso images but can't. I've tried mounting these images into a directory and asking APT to treat the directory like another cdrom. But apt does not recognise it as a cd and fails. What do I need to do to trick apt into believing that the mounted image is just another cdrom. Is there a different approach? |
I have never tried this with Debian and Apt, but it worked with Mandrake using urpmi, so it's worth a shot...
Code:
# apt-cdrom -d /mnt/isos/disc1 add |
I haven't tried any of these, but maybe the apt howto has some words of wisdom:
http://www.debian.org/doc/manuals/ap...g-scanpackages Maybe you can try apt-cdrom -d /home/kov/mycdrom add or maybe you have to set up the mount points in /etc/fstab before trying it. Or you may be able to use the "use apt locally" section. Sorry I couldn't be more help. Also, if you downloaded these files to this machine in the first place, do you have high speed internet? The CD's are just repeats of the stable repository and you don't really need them anymore with high speed internet. |
The methods you suggested above didn't work. But I had previously ignored a "filesystem" option. When this option is used instead of the "cdrom" apt instantly recognises the package database.
Cheers. |
All times are GMT -5. The time now is 01:24 PM. |