I want to download entire multiverse repository I know it maybe several GBs around 20, but I want to. NOTE:I ONLY WANT TO DOWNLOAD AND WILL INSTALL LATER using dpkg -i [pkg] First created a file which contains names of all the available packages using apt-cache.     apt-cache  dumpavail |grep -oP "(?&lt;=Package: ).*" >> packagelist   This will create a file packagelist with all the available packages. i want to understand the working of apt-cache dumpavail command. i know >> is there to append and creates a file package list and all, but didn't get that grep (?&lt;=package: ) and it's working so ones understood i don't have to memorize that stuff.
2241
I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?
115872
So I'm playing around with offline package installation on 12.04 Server, having downloaded packages by retrieving and wgetting their URIs using the instructions here:   I did this with apt-get upgrade and apt-get dist-upgrade, then went about installing the downloaded packages using dpkg -i. So the process looked like so:   Get URIs wget the packages to a folder (upgrade packages to /upgrade and dist-upgrade packages to /dist-upgrade) run dpkg -i /upgrade/*.deb and then dpkg -i /dist-upgrade/*.deb   My question is: would this method of manually installing the updated packages correctly get everything updated, giving the same result as if I'd just run apt-get upgrade and apt-get dist-upgrade normally? Or is there something that the normal apt-get commands do that wouldn't get done with this way?
52854
Similar questions have been asked already but none of them have solved my problem:  I need to install a package on a standalone Linux box, specifically kdbg. Now I tired the command   sudo apt-get install --download-only kdbg   on a box connected to the internet, but it only downloads the package and dependencies that I don't have installed. Some of those dependencies (that command downloaded 117 total packages) have sub dependencies, and those sub dependencies have even more dependencies and I'm going down a rabbit hole trying to fish those packages out of the repo.  Now I tried using a couple of other commands that supposedly will download all dependencies, even the ones I have installed. I've tried    apt-get download PACKAGE &amp;&amp; apt-cache depends -i PACKAGE | awk '/Depends:/ {print $2}' | xargs  apt-get download    and    apt-get download $(apt-rdepends &lt;package&gt;|grep -v "^ ").   Command one only downloads the direct dependencies, like the ones you'd find on packages.ubuntu.com if you were to search kdbg, and command two gives me the error message:  Can't select candidate version for package &lt;package&gt; as it has no candidate   for several different packages.  So, to restate my question, is there a way for me to download kdbg, all of its dependencies, all of those dependencies' dependencies, so on and so forth? Or perhaps I am using one of the above commands incorrectly?  Thanks in advance.
71312
I have more than 500 systems running ubuntu 10.04, ubuntu 10.10 and ubuntu 11.04. It is difficult for us to install new packages to these machines from internet, because of the high bandwidth usage. I am planning to set up an apt-cacher server, such that it should install packages from a local machine, instead of installing packages from the internet. Can anyone give me a neat solution please? Thanks in advance. Error in server configuration: root@karthick:~# sudo /usr/share/apt-cacher/apt-cacher-import.pl /var/cache/apt/archives Importing: acl_2.2.49-3_i386.deb Failed to rename acl_2.2.49-3_i386.deb. Try read-only (-r) or symlink (-s) options. at /usr/share/apt-cacher/apt-cacher-import.pl line 154.  Error in client on installing packages  Can anyone sort out pls?
63892
I would like to build my own local repository on my LAN, so that machines on the LAN can update and upgrade from it. I want to download the packages and store them on my local server so that I can update, upgrade, install, etc, from it without using the internet.
69701
Is there any way (dpkg, apt?) to get a package's sources and URL to repository, if available, in Debian ?
78609
:~$ sudo apt-get remove nginx* && sudo apt-get install nginx-full*  Reading package lists... Done Building dependency tree        Reading state information... Done  After this operation, 5,579 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nginx-full-dbg amd64 1.10.0-0ubuntu0.16.04.1 [3,789 kB] Fetched 3,789 kB in 33s (112 kB/s)                                              Selecting previously unselected package nginx-common. (Reading database ... 189767 files and directories currently installed.) Preparing to unpack .../nginx-common_1.10.0-0ubuntu0.16.04.1_all.deb ... Unpacking nginx-common (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full. Preparing to unpack .../nginx-full_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full-dbg. Preparing to unpack .../nginx-full-dbg_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full-dbg (1.10.0-0ubuntu0.16.04.1) ... Processing triggers for ufw (0.35-0ubuntu1) ... Rules updated for profile 'Apache Full' Rules updated for profile 'Nginx HTTP'  Processing triggers for systemd (229-4ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up nginx-common (1.10.0-0ubuntu0.16.04.1) ... Setting up nginx-full (1.10.0-0ubuntu0.16.04.1) ... Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.  invoke-rc.d: initscript nginx, action "start" failed.  dpkg: error processing package nginx-full (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nginx-full-dbg:  nginx-full-dbg depends on nginx-full (= 1.10.0-0ubuntu0.16.04.1); however:   Package nginx-full is not configured yet.  dpkg: error processing package nginx-full-dbg (--configure):   dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                            Errors were encountered while processing:  nginx-full   nginx-full-dbg  E: Sub-process /usr/bin/dpkg returned an error code (1)
60914
Is it possible to set up a server to mirror a distro's repository, but only download/store requested upgrades or new packages rather than download them all?  So all computers on the LAN can connect to this server for all upgrades so they only have to be downloaded once.  I've looked at apt-mirror but that seems to download everything.
19876
I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
54910
Having a local repository can be very useful. It is possible to use rsync to create a repository mirror, but this results in all the releases being downloaded, even older ones and would include files for architectures that might not be needed.  apt-mirror allows one to selectively choose parts of the repository. mirrorkit provides a front-end to apt-mirror.  What is the best way to create a local repository mirror for selected parts of the Ubuntu archives?    For example, one might wish to include:   Main, Restricted, Universe, Multiverse,  All Ubuntu and Lubuntu but exclude other derivatives, such as Kubuntu and Xubuntu. Only AMD64 and i386 but exclude other architectures. Only Trusty Tahr, but not Precise Penguin or Utopic Unicorn.   One might wish to configure the process so that it downloaded from a local mirror, rather than the main archives.  How can I create local repository using apt-mirror and mirrorkit for a selected architecture, release, or Ubuntu variant?
62018
I'm contemplating writing a script that does this:   Goes through each file in /usr/lib Does a dpkg -s search on each file. Reports a list of "orphan" files not belonging to any .deb package.   The idea is that over time, I've installed a lot of make install software and I'd like to get a list of leftover files from manually installed software I've since deleted.
103856
I use apt-cache pkgname to retrieve the packages as   me@host:~$ apt-cache pkgnames | wc -l 62803   get 62803 results   but   me@host:~$ dpkg -l | wc -l 2336   What's the reasons which lead such a huge distinction. I presume that dpkg is super than apt.
20545
I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error.  I searched for hours for a solution to this problem, and finally came upon a suggestion that said to change servers for downloading updates from.  I did this, and it gave me a 404 error when I clicked on "Check" in the Update Manager.  I tried switching my server back to the main one (and after that, several other ones), but I am now still getting a 404 error:   And the other error I get when downloading or updating:   Edit: Output of cat /etc/apt/sources.list:  deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team.  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties  deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties deb http://us.archive.ubuntu.com/ubuntu/ precise-security universe  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu precise partner deb-src http://archive.canonical.com/ubuntu precise partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software.
93188
Not for any specific program, just in general if I wanted to install something via APT how do I know what packages I need to "apt-get install" for that program
106916
I need to automatically install a package with its config file already present on the server.  I'm looking for something like:  apt-get install --yes --force-yes --keep-current-confs mysql-server  Probably a dumb question but I can't find such an option.
13558
I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system.  How would I do this?
109722
I would like to have  on my system but I would like to install it via apt-get. Is there a special package to install this?  Download link would be: