How to install all packages from iso file without physical cd
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How to install all packages from iso file without physical cd
I had installed a debian file using
#dpkg -i <file>
Now package manager gave count error though that debian file got installed.I tried
#apt-get install -f
It says want to download 20MB but no internet on my pc so destined to fail.
In synaptic package manager I selected broken packages & marked them for removal.I saw file-roller,totem.seahorse,nautilus etc. got uninstalled.
question ) I just have iso image of my ubuntu 8.04.How can I use it to install all packages that come by default on cd.
sudo apt-cdrom add
Using CD-ROM mount point /cdrom/
Unmounting CD-ROM
Waiting for disc...
Please insert a Disc in the drive and press enter
Mounting CD-ROM...
E: Failed to mount the cdrom.
Note I don't have real physical disk just iso file.
Also I commented all lines from /apt/get/sources.list except cdrom & did 'apt-get update' before using above commands
Last edited by sumeet inani; 01-02-2010 at 04:10 AM.
I am able to mount iso as cd & apt-cdrom recognises it.
But question is
How can I tell system to install all packages found on cdrom because I don't remember 20 packages uninstalled.
i also tried
#apt-get install nautilus
but message is usual 'no installation candidate'
Also
#apt-get upgrade
#apt-get dist-upgrade
gave no help.
Also my system has no internet.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513
Rep:
Let's say you mounted the .iso image at /media/cdrom. In /etc/apt/sources.list language, that would be: deb file:///media/cdrom/ squeeze main contrib non-free. If you don't want to use non-free, just leave it out. Now, apt-get will use the cd image file to install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.