Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-03-2011, 09:24 AM   #1
sumeet inani
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
using iso as repository in debian

I am using debian
The advantage is I have iso of 8 DVD's which contain repository so I don't have to grab files from internet to install software.
Currently I did following
Mounted iso using 'mount <path-to-iso-file> <mount-point> -o loop'
Then found packages binary using 'find <mount-point> -iname '.*gz$'
Created 'contrib' & 'main' folders in root for each dvd namely 'mkdir /root/dvd<number>-<main/contrib>' & copied Packages.gz (found above) to corresponding folder
Added following to /etc/apt/sources.list
                               deb file:/root dvd<number>-<main/contrib>/
Then 'apt-get update'
I do not want to keep dvd iso's mounted all the time.
I have to keep a list of files of each dvd separately.
Long ago , I had installed using physical dvd's while booting . Then OS used to tell me to insert desired 'dvd<number>' while installing external packages.
Can it happen now ?
Old 12-04-2011, 09:58 AM   #2
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,957

Rep: Reputation: 300Reputation: 300Reputation: 300Reputation: 300
The man page says
Locations to fetch packages from.
You are going to have dependency trouble if you try to mix different age packages, some from the repository and some from the install CD.
Old 12-09-2011, 08:41 PM   #3
sumeet inani
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Original Poster
Rep: Reputation: 49
Sorry for my late reply.
But I don't like to download any debian file from repository , since 8 DVD iso images I have suffice for all debs needed by program . That is also the thing I like about debian , ease of installing for an offline computer .
Old 12-10-2011, 12:01 PM   #4
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
There should be no problems, as you probably know, only updates that you can get online are not going to be newer versions of installed packages, only fixes, though you might want to check what they are, so to be aware when you install something new.
Old 12-10-2011, 04:04 PM   #5
Registered: Apr 2009
Distribution: Debian testing
Posts: 555

Rep: Reputation: 101Reputation: 101
Perhaps section 2.4 of the apt-howto will help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use ISO as HTTP repository chschroe SUSE / openSUSE 2 01-23-2011 05:42 PM
ISO image for snaptic repository milindlokde Debian 2 05-26-2009 11:01 AM
complete releases repository iso's are where ? kobra stryke Fedora 1 01-10-2009 02:10 PM
Creating Software ISO Repository... linuxshadow Linux - Server 5 06-13-2008 03:49 AM
ISO images as repository sheelatam SUSE / openSUSE 1 11-21-2007 04:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration