Thursday, March 21, 2013

Debian: add iso image to sources.list file

In this post you can see how to mount an iso image file from command line.
In this other post you can see how to mount an iso image file at the system startup.

Now we can see how to insert into sources.list file the pointing to the debian distribution image file.

Go under /etc/apt
Open sources.list file and add(better if at the end of the file) this:

deb file:/home/you/Desktop/debian_image squeeze main contrib 

Now we suppose we have squeeze distribution.
If no, change the name with your distribution name.

At the end, from the command line give:
 
apt-get update
 
Bye...

1 comment:

  1. Thank you, I was just looking for this. It worked beautifuly

    ReplyDelete