LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-03-2011, 10:24 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Rep: Reputation: 48
using iso as repository in debian


hi
I am using debian 6.0.2.1
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
Code:
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, 10:58 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
http://linux.die.net/man/8/apt-get
The man page says
Quote:
/etc/apt/sources.list
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, 09:41 PM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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, 01:01 PM   #4
alan_ri
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, 05:04 PM   #5
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

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


Reply


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 06:42 PM
ISO image for snaptic repository milindlokde Debian 2 05-26-2009 12:01 PM
complete releases repository iso's are where ? kobra stryke Fedora 1 01-10-2009 03:10 PM
Creating Software ISO Repository... linuxshadow Linux - Server 5 06-13-2008 04:49 AM
ISO images as repository sheelatam SUSE / openSUSE 1 11-21-2007 05:35 AM


All times are GMT -5. The time now is 10:17 PM.

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