How I can specify mounted APTonCD iso file as a repository without burning it

Asked by Muhammad Bashir Al-Noimi

How I can specify mounted APTonCD iso file as a repository without burning it?

Question information

Language:
English Edit question
Status:
Solved
For:
APTonCD Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Jones
Solved:
Last query:
Last reply:
Revision history for this message
Laudeci Oliveira (laudeci) said :
#1

First you need to mount your iso file:
mount -t auto aptoncd4.iso /isos/aptoncd4
so, add a file entry "deb file" to your sources.list pointing to you mounted iso.

Not tested, but it might work.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) said :
#2

> so, add a file entry "deb file" to your sources.list pointing to you mounted iso.
what I need to add? I tried to add the following line:
deb file:///media/mountFoder karmic main

but it didn't work!
I know it's incorrect line but I couldn't find any solution for it.

Could you plz help me?

Revision history for this message
Best Mark Jones (linuxguy2009-deactivatedaccount-deactivatedaccount-deactivatedaccount) said :
#3

I'm on Debian 5.0.3 and I just read somewhere how to do this I don't remember where.
In my home folder I have a folder called Repository. I have the full 5 DVD official repo disks that I downloaded.
I have the ISO images there and have them automounted at startup by editing the /etc/rc.local script.
Looks something like /home/mark/Repository/DVD1.iso -o loop /home/mark/Repository/DVD1/
I have 5 lines like that, one for each DVD iso.

I just downloaded the debian-multimedia and debian non-free repos to my hard drive using debmirror.
Just burned an APTonCD iso to disk. Moved the ISO to the repository folder that I have.
Set rc.local to automount it at startup as well.

Now the solution to your question...

"deb file:///home/mark/Repository/Debian-Multimedia/ ./"

Debian-Multimedia is where the APTonCD generated ISO is mounted to.
Not sure why it works exactly but it works great on mine.
Post back and let us know if that works. Good Luck!

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) said :
#4

Thanks Mark Jones, that solved my question.