General :: Download Packages With Apt But Don't Install Them?
Feb 22, 2010
I'm running a Knoppix Live CD, and I want to install ClamAV. What I'd really like is to download all the relevant packages and save them onto a USB pen, and then I can install it easily whenever I run the Live CD anywhere and update the definitions at my leisure without having to connect to the internet or go through remodelling Knoppix. I'm not entirely sure how to do this though, mainly because of dependencies. I would think it would be along the lines of cd'ing to the usb and running:
and then to install use dpkg, but I'm not sure how to get it to look for the dependencies in the same place:
Code:
dpkg -i clamav-base
dpkg -i clamav
I'm just about to go and try it, but I thought I'd ask first to get the wisdom , but also to see if anyone else does something similar and whether they think this is a good way to achieve the goal, regardless of whether this technically works.
Right now I am using UBUNTU Hardy Haron. I just moved from windows to linux. It is very easy to install any games or software in windows. Just double click exe, next - next and finish. I want to install some mario games in my pc (ubuntu). I have downloaded tar.bz2 of it. Extracted it and configure and install-sh both are there. I already tried by ./configure. It requires g++, cpp several packages. Now my question comes. What are those packages? How to find out them? How to install them? Is there any other easy way for installation? What are different type of compilers over here?
I was wondering if there is a possibility to configure yum in such way that it would download and install packages at the same time?What i mean is that after downloading certain package it continues to download the next one but at the same time it is installing the one it has already downloaded? Is it possible in fedora? I remeber back when i was using openSUSE 11.2 that the behaviour of the installer was configurable and would let users to choose if they want to download all packages first and then install them or download a package, keep downloading next ones but install the already downloaded ones .
I have a new installation of Ubuntu 9.10 karmic, but apt-get update gives error messages "Failed to fetch....; Could not resolve..." for all the packages in the sources.list file. The computer is talking to the network and the webserver is working. I can ping external websites. Is there a setting that must be changed to make downloads function?
On Debian repo I found virtualbox-ose packages there. What will be the difference in operation/function between their packages and the packages download on virtualbox.org website?
On Fedora repo I found VirtualBox-ose packages there. What will be the difference in operation/function between their packages and the packages download on virtualbox.org website?
I ran into some errors while installing Oracle Grid Control on RHEL 5.4. I believe I need to install some packages. Where is the right place to download packages for RHEL? I would prefer binary code. Also, I downloaded a source file somewhere. Can you please tell me how to build and install it?
I am thinking in starting a CentOS based distribution for communication (call center) and collaboration (IM, email, calendar) tools. What I want to find is Where to get CentOS-only base packages?Any post related with creation of a CentOS based distribution?
I am running Debian Squeeze. How can I download packages in Java? For example I need the javax.mail package.
In windows, I simply download the JAR and point my classpath to that JAR.... How does this work in linux/debian? Is there apt-get command that I can use to get java packages?
I download all packages of Fedora 12 64 bit and all rpmfusion packages , all of them free and nonfree. all of them is near 20GB, I download all of them by rsync.I download them in work,In home I use Fedora12 64 bit and do not have internet connection , I copy all packages with USB flash and copy them to my Fedora box , and I want install VLC and other codecs and Nvidia driver for some games.What I must do ?I said again I do not have internet connection in home but I have all packages , free and nofree and rpmfusion packages
I have downloaded fedora 9 iso to my xp os so I can dual boot my machine. I can't seem to find a place to plug up my RJ-45 to download the extras package in an RPM or a tar file so that I can transfer it onto my linux os so I need a wireless site to download from.
I don't know where it can come from, but apt won't download any package. Here is the error I get (after a few minutes) :
Code: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed:
[Code].....
I believe it uses http, so that is not a protocol blocked by the ISP.
And it is not automatic : last time I was about to report it here, the bug disappeared (and I didn't report because I thought it could have been fixed somehow, and I couldn't get the error message)
And wired connection works fine, too.
Actually, I just download the package from the address in the log via firefox. I really have no clue, since it is a pretty fresh install (no more than two weeks)
The only thing I can think of would be some bug in apt. I googled for an apt bug, and I saw that apt's http method 'doesn't handle redirects', but that was in 2005. Besides, I wouldn't be the only one to have this problem, and that doesn't explain why it works with a wired connection.
I didn't do anything but writing this post. It really looks random. What can I do when it happens to find out where it comes from?
I was wondering how can I re-download only all currently installed packages. I would like to save them to removable media, because I use netinst disc to install, and on slow connection it's hell to download 1GB of packages with console-only.
I'm hitting my head against the wall trying to figure out (and find any information on) how to download a package and all its dependencies.I've tried to clean the cache,$ sudo apt-get clean and then download a package and its depednencies,but it doesn't download dependencies that are already installed.I need to do this to install a package on a machine that doesn't see the net.I remember doing this somehow ages ago, and I think I might have even combined the package and its dependencies into a single self-contained .deb using dpkg.
in yast> software installation how can i configure it to download all packages first then install them (as ubuntu does) rather than downloading each package and kimmediately installing it.
I just upgraded to Maverick Meerkat not too long ago. Was running just fine up until it stopped downloading packages.won't download updates, new programs from the software center, synaptic packet manager, or the apt-get command in terminal.It keeps telling me that I need to check my internet connection but I can't find anything wrong with it.Everything else is working just fine. t would be greatly appreciated if someone could shed some light on this issue.
I've got an ASUS eee1005 that I'm trying to load eeebuntu -- I've read good things about it! However, I managed to get it (partially) installed using only unetbootin and the eeebuntu-nbr iso. Luckily I've got other working laptops in the house, or I'd be stuck because now I've got a partially installed distro that isn't allowing me usage of my wireless. Basically, what I'd like to do is be able to go back to the install process and load all the packages I want, which, hopefully, will give me NetworkManager so that I can finally connect. I can boot to the thumbdrive (8gig, btw) but I don't think I've got the right files on it to do the install. Here's what appears on the thumbdrive:
[code]...
I would think that with these files on the thumbdrive, it could find its way into the install process. Apparently not. I've read most, if not all of the 'install from USB' threads and how-to's, and it's still not working right - Now, having a partially installed distro (with GUI that's not GNOME, or KDE. . ?) Are there any options I can use to pickup where the install left off and start adding packages? Or should I just scrap it and re-install?
Zypper seems unable to reach the openSUSE servers. I am currently on a network that may or may not block certain traffic, so I don't know if their firewall is in the way. I am able to browse the web without any problems. Sometimes Zypper downloads proceed eventually, but the download is doggone slow. I did this code...
Apparently Zypper has trouble downloading this URI, but if I open it in Chrome it loads perfectly without any problems. How can I find the root of this problem?
It's on a desktop that has a dialup modem but no other Internet access (and I haven't even gotten the modem working yet...). So I have it hooked up to a Win2K laptop on the network that is Sharing its (dialup) Internet connection.I can take the laptop to the public library and leech off their wifi to download stuff at much higher speeds. It's not practical for me to take the desktop to the library... Is there a way for me to use the Windows laptop (at the library) to download the packages Update Manager tries to get for Ubuntu, bring it home, transfer them to the Ubuntu desktop, and have Update Manager just install 'em from there?
The other night I tried to upgrade my system to Karmic Koala. The machine took forever to download the packages and when it was almost completed, the installation phase in the Update Manager suspended. Both keyboard and mouse weren't responsive so I was forced to shut the system down manually. Now when I boot up, it loads the desktop, a dialogue box pops up stating there's an Apt Authentication issue. When I click "Run this action now" it opens a window showing it is about to download 15 packages.
But unfortunately before it can load, the system hangs. If I reboot, close the dialogue box and try to use the Update Manager as a means to correct the problem, the same thing happens. In addition to trying to find a solution, I'm keen to avoid doing a full, clean install, as I don't want to lose the system configs and data (I've got 200gb in music files and use the system as a music server). I've also tried to load in "recovery mode" but it doesn't load properly.
My internet connection is one where I have to pay according to the amount of data transferred and Ubuntu updates require large downloads. I was wondering if there was some way to export the list of packages required for an update in ubuntu and then go and download them from another PC. (The other PC in question will be running windows).I'd love to know of any apps that can do this ..If there aren't any can someone tell me if there is a way to do this? I am just getting used to Linux but I still have no experience at all with writing shell scripts (which I suppose would be needed for this sort of thing).
So in summary, this is what I want. Synaptic (or any other package manager in Linux) should generate a file with all the packages that should be downloaded. A program on the PC with a better internet connection then interprets this file and downloads the packages creating a local copy of the packages. These local copies are then transferred to the Linux box which required the updates and the updates are applied..
Whenever I do sudo apt-get or use the Ubuntu Software Center, I can't download anything because a message comes up saying "Action requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources." I've been trying to download GIMP and Thunderbird, so... I dunno what the problem is.
I just upgraded from 11.2 to 11.4 and the installation/upgrade worked just perfect. I than followed the instructions in the "New User How To/FAQ", "Multimedia and restricted format" post. I was following the instruction in the 11.4 section. I added the additional repositories as explained. I then was on the section where it talks about going into software management and selecting the "Packman" repository and clicking to "switch systems packages" to the versions in this repository (packman). I than click this link and the "warning" screen appears and I am present with conflict resolution after conflict resolution dialog. It just seems that there are some many conflicts, it just seems wrong and I canceled.
The installation/upgrade appears to have worked just fine. My mail is there, audio and dvd play back worked the first try after the upgrade. I am not clear if this is what I should expect or their is something wrong or if I even need to complete this step for a successfully installation.
I'm user of Fedora 11. Back this weekend the official repositories works 100% I can download packages with 100 kbytes. This weekend cannot download packages, only with 3 Kbytes! PTM! What is happening?
I want to install some things on machine without internet connection. There is something like packages.ubuntu.com or debian.packages.org for Fedora? Well - as you can see on this site i can see packages with depends (ex. frozen-bubble): click to Debian packages site, click for packages.ubuntu.com. I can download packages with their depends easily from that sites. How i can get rpm with depends? I need to collect everything on usb flash drive and install on off-line machine without any problems. I can download single rpm with yumdownloader but i need depends too. Koji not satisfy me - no depends info. I need to download few apps from repo (on machine with internet connection), but with their depends - how? Or maybe there is something like Keryx for rpm-based distros?