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 07-30-2013, 02:26 PM   #1
senthilkumaravelu
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Rep: Reputation: Disabled
Question Adding Index of Image file(.ISO) in synaptic


Dear friends,

I am to this forum, I have a question i am using debian7, I have all these dvd downloaded in iso format. i wish to add these dvd index files in synatic repository but failed.

I sucessfully mounted image in /media/cdrom0
but i cant add the index file
I tried "apt-cdrom -d /media/cdrom1 add" after creating directory in media

the message comes as use this command to add other cds but i cant find it in repository

Please help me friends, if there is any problem with above message please forgive me.

thank you,
Senthilkumaravelu
 
Old 07-31-2013, 10:05 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Dvd of what? Debian packages? If that's it you should be able to add that to the /etc/apt/sources.list file. I'm not a Debain user so can't give you any details but googling might help. If the iso files have something else, more info.
 
Old 07-31-2013, 10:38 AM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
Quote:
Originally Posted by senthilkumaravelu View Post
..
I sucessfully mounted image in /media/cdrom0
but i cant add the index file
I tried "apt-cdrom -d /media/cdrom1 add" after creating directory in media
I'm confused
0 != 1 ( 0 is not 1 )

best not to create your own dirs in /media
These directories are maintained by the systems automount, typically the "volume label" failing that the UUID

A good place to put your own mountpoint is in /mnt/

but you might be better off using the --auto-detect flag,
e.g. insert disk and apt-cdrom add --auto-detect
 
Old 07-31-2013, 02:13 PM   #4
senthilkumaravelu
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Smile Adding Iso files in repository

Dear friends,


Thanks for your reply. the problem is i want to add "iso" dvd image file in repository. I know how to add dvd in synaptic but i am asking about adding iso files does any one knows the way.

thank you
 
Old 07-31-2013, 03:42 PM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
"Automagic"
add an entry in /etc/fstab

for example, a line such as
Code:
/path/to/debian-live-7.0.0-amd64-gnome-desktop.iso /mnt/debian-live-7.0.0-amd64-gnome-desktop iso9660 ro 0 0
as root
Code:
mkdir /mnt/debian-live-7.0.0-amd64-gnome-desktop
mount /mnt/debian-live-7.0.0-amd64-gnome-desktop
and then add to /etc/apt/source.list ( or new file in /etc/apt/source.list.d )

Code:
deb file:/path/to/debian-live-7.0.0-amd64-gnome-desktop wheezy main

man fstab
man sources.list

for more details,

note, for older versions of mount you may need to add loop option ( ro,loop )

Last edited by Firerat; 07-31-2013 at 03:45 PM.
 
  


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
can't mount the iso image file gbstack Linux - Newbie 3 09-06-2008 11:16 AM
Adding software in an ISO image knockout_artist Linux - Newbie 2 04-26-2008 11:55 PM
adding drivers in ISO image ..?? cyberiapost Linux - Newbie 2 01-12-2007 12:25 AM
mount .iso (image) file and read *.avi file smartdragonfly Linux - Software 2 12-21-2006 05:48 AM
Help turning a ISO Image to a file kevinbowers Linux - Laptop and Netbook 5 09-26-2006 04:24 PM


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

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