LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01: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, 09:05 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
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, 09:38 AM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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, 01: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, 02:42 PM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
"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 02:45 PM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 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
Open Source Consulting | Domain Registration