LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-14-2015, 11:19 AM   #1
stds_sak
Member
 
Registered: May 2014
Location: India
Distribution: Windows 10, Debian and derivatives, Mint, Whatever I find new and interesting
Posts: 57

Rep: Reputation: Disabled
how to install from multiple dvds


Hi, I am an newbie to regular Linux user, I like trying out new distros. Recently I have downloaded Debian, it have me 3 dvds. It says in the documentation that DVD packages are arranged according to usage and popularity. While installing, I am getting an option to install extra packages via the internet but no way I found I could install the extra package from the DVDs. How can I do that? Please help.

P.S. - I am using Debian 8.0.0
 
Old 05-14-2015, 12:08 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
The installer should ask you if you want to scan additional disks during installation:

https://www.debian.org/releases/jess...stall-software

If you have already installed the base system with just a single DVD, you should be able to add additional disks to your sources,list file using the command:
Code:
apt-cdrom add
see:

http://manpages.debian.org/cgi-bin/m...=sid&locale=en

or:

https://wiki.debian.org/SourcesList
 
1 members found this post helpful.
Old 05-14-2015, 12:24 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,615

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
If you have an unmetered and fairly decent internet connection I would suggest you only use the first DVD and choose to set up a network mirror during installation. The multiple DVDs are only really for those with slow or expensive internet.
 
Old 05-14-2015, 12:50 PM   #4
stds_sak
Member
 
Registered: May 2014
Location: India
Distribution: Windows 10, Debian and derivatives, Mint, Whatever I find new and interesting
Posts: 57

Original Poster
Rep: Reputation: Disabled
Internet speed or download limitation is not an issue. I wanna know how to use the extra dvds. I have them. But while installing Debian I didn't get an option to scan for extra disks. 1st up, my main systems are win 8 and deepin 2014-3, as I said trying out new distros. Now I installed Debian in a virtual machine in my win machine. Just to make sure I have no problems while installing it in my main machine. I usually use USB sticks for new OSes. So I made an USB of the first disk and tried installing, it did perfectly, but to check for other disks didn't pop up. Will surely check for a DVD boot though. But my Linux machine doesn't have a DVD drive. Once it broke down, I replaced it with a HDD. I wanna know how to use all those disks from either images or USB. I have copied all files from other 2 DVDs in a pendrive. Any ideas ??? And thank you very much for your replies

Last edited by stds_sak; 05-14-2015 at 01:04 PM.
 
Old 05-14-2015, 01:02 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,615

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
Quote:
Originally Posted by stds_sak View Post
Internet speed or limitation is not an issue. I wanna know how to use the extra dvds
You don't.
Everything is in the online repositories -- if you've a fast, unmetered internet connection just use the first DVD to install and, when prompted, select internet mirrors.
Once the system is installed you'll just install everything from the repositories.
Edit: see the above for adding the DVDs. That will just mean that, potentially, every time you try to install or upgrade the system asks for a DVD.

Last edited by 273; 05-14-2015 at 01:05 PM.
 
Old 05-14-2015, 04:40 PM   #6
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Just to clarify: apt-get will always attempt to get the latest versions of the packages you install, so even if you add the DVDs to your sources.list, apt-get will download the packages from the Debian repositories if these packages have a newer version than those contained on the DVDs. The complete sets of CDs/DVDs are useful in case you need to have all the packages available for Debian in a location without internet connection.

I usually install Debian using only the netinstall CD or the first CD, and I find it really annoying having to insert a CD/DVD every time I use apt-get to install something, so I always remove the CD line from my sources.list after installation.

Last edited by Hungry ghost; 05-14-2015 at 04:41 PM.
 
Old 05-14-2015, 05:36 PM   #7
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
The whole set of DVDs or CDs are really for computers having no internet connection, or a very slow one. If you are new to Debian based systems, the first CD or DVD is all you need to get started. If you don't like Gnome, there are alternate CDs that will install xfce or kde as the desktop environment. If you are familiar with aot; the netinst CD will install a base system without a desktop environment and you can use apt to install whatever you like.
 
Old 05-14-2015, 10:05 PM   #8
stds_sak
Member
 
Registered: May 2014
Location: India
Distribution: Windows 10, Debian and derivatives, Mint, Whatever I find new and interesting
Posts: 57

Original Poster
Rep: Reputation: Disabled
Guys guys guys, please listen once, I know how to use apt to get software from online Debian repositories, I know when to use net install, I know why not use the disks for packages, but please, I am thinking we are deviating from my question here, how to use the dvds. As I have said before, I am using a vmware machine to install Debian, I first made a bootable usb stick of the first disk, ported it to the virtual machine. And a Debian lxde installed without a hiccup, but there I did not see any option asking me to scan other disks for software packages. Now in the lxde desktop, I go to LXTerminal, and type apt-cdrom add, it prompts me to enter teh disk, i choose teh disk image in the vmware settings/options menu. and this is the reply i get

ay@debian:~$ apt-cdrom add
Using CD-ROM mount point /media/cdrom/
Unmounting CD-ROM...
Waiting for disc...
Please insert a Disc in the drive and press enter

[ selected disk image in vmware and pressed enter ]

Mounting CD-ROM...
Identifying... [6889b2279f89a8c705d3e15a05cc8b81-2]
Scanning disc for index files...
Found 2 package indexes, 0 source indexes, 2 translation indexes and 0 signatures
Found label 'Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-2 20150425-12:54'
This disc is called:
'Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-2 20150425-12:54'
Copying package lists...E: Could not create temporary file for /var/lib/apt/lists/partial/Debian20GNU_Linux%208.0.0%20%5fJessie%5f%20-%20Official%20amd64%20DVD%20Binary-2%2020150425-12:54_dists_jessie_contrib_binary-amd64_Packages - mkstemp (13: Permission denied)
E: No CD-ROM could be auto-detected or found using the default mount point.
You may try the --cdrom option to set the CD-ROM mount point.
See 'man apt-cdrom' for more information about the CD-ROM auto-detection and mount point.
ay@debian:~$


P.S - No idea what is that permission denied is for though, maybe that's where all the problem lies. Please help and also thanks a bunch for reading my problem and giving me solutions.
 
Old 05-14-2015, 10:34 PM   #9
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
A regular user doesn't have permission to use the apt-cdrom command, so you need to run it as root.
 
1 members found this post helpful.
Old 05-14-2015, 11:14 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
You need to post the complete output of;
Code:
cat /etc/apt/sources.list
Your probablem may well be that the cdrom is not listed there.
 
Old 05-15-2015, 02:30 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The Op needs to either set up sudo or use root, to add packages. But I don't think that dvd 2 will install anything without apt-get or tasksel. Dvd 2 & 3 are just repo's, also I think the installer only asks to scan another dvd, if there's no internet connection.
If it is really important for you to scan a dvd, start the installer Advanced Mode>>Expert Install, there is a Tool Menu where you can load additional tools maybe the option for dvd is there.

Last edited by EDDY1; 05-15-2015 at 07:25 AM.
 
Old 05-15-2015, 06:55 AM   #12
stds_sak
Member
 
Registered: May 2014
Location: India
Distribution: Windows 10, Debian and derivatives, Mint, Whatever I find new and interesting
Posts: 57

Original Poster
Rep: Reputation: Disabled
@odiseo77 , thanks a lot, it helped going to the root terminal and using apt-cdrom add, but it didn't really complete as I expected it to ask for what packages I wanna install or most probably I don't know what do next, I got this

Code:
root@debian:/home/ay# apt-cdrom add
Using CD-ROM mount point /media/cdrom/
Unmounting CD-ROM...
Waiting for disc...
Please insert a Disc in the drive and press enter 
Mounting CD-ROM...
Identifying... [6889b2279f89a8c705d3e15a05cc8b81-2]
Scanning disc for index files...
Found 2 package indexes, 0 source indexes, 2 translation indexes and 0 signatures
This disc is called: 
'Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-2 20150425-12:54'
Reading Package Indexes... Done
Reading Translation Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-2 20150425-12:54]/ jessie contrib main
Unmounting CD-ROM...
Repeat this process for the rest of the CDs in your set.
root@debian:/home/ay#
PLease guide this newbie through this, pretty please!!


@EDDY1
Quote:
The Op needs to either set up sjdo or use root, to add packages.
No idea what you said.


@widget This is after I added via Root terminal

Code:
#

# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-2 20150425-12:54]/ jessie contrib main
deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
 
Old 05-15-2015, 07:22 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Correction sudo, gives user temporary root privledges.
Now that you have added dvd 2 to sources.list, if you use apt-get insatll a package & it is is listed on dvd 2, the Jack ill request dvd2, the only problem is you will be installing a package that may need updating. You'll find that debian has a lot of updates on a weekly bases.

Last edited by EDDY1; 05-15-2015 at 07:24 AM.
 
1 members found this post helpful.
Old 05-15-2015, 08:08 AM   #14
stds_sak
Member
 
Registered: May 2014
Location: India
Distribution: Windows 10, Debian and derivatives, Mint, Whatever I find new and interesting
Posts: 57

Original Poster
Rep: Reputation: Disabled
Okay, understood till now. Final question now, how do I know which packages are there in the disk ?? Anywhere is it listed ?? Debian homepage I last checked, they showed " being updated " !!
 
Old 05-15-2015, 12:07 PM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Go to where you downloaded dvd there will a package list in the downloads section
 
  


Reply

Tags
debian, dvds


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
Is it time for Slackware on multiple DVDs? spudgunner Slackware 78 07-03-2012 08:16 PM
Looking for backup solution that uses multiple DVDs statguy Slackware 18 09-14-2009 07:03 AM
create multiple install DVDs ncsuapex Linux - Software 1 07-11-2008 10:49 AM
Burn Multiple dvds at once aeruzcar Linux - Software 1 11-21-2005 01:32 AM
Backing up 30G to multiple DVDs tonyfreeman Programming 1 12-23-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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