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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 03: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,521
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.