Editing Apt-mirror

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 32 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
* Download and install '''apt-mirror''' from http://apt-mirror.sourceforge.net/
* Download and install '''apt-mirror''' from http://apt-mirror.sourceforge.net/
-
::On Ubuntu can be installed via apt-get
+
On Ubuntu can be installed via apt-get
  apt-get install apt-mirror
  apt-get install apt-mirror
* Apply patch [https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1015131/+attachment/3195994/+files/apt-mirror-https.patch apt-mirror-https.patch] from launchpad bug [https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1015131 #1015131] - '''NB:''' no longer required
* Apply patch [https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1015131/+attachment/3195994/+files/apt-mirror-https.patch apt-mirror-https.patch] from launchpad bug [https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1015131 #1015131] - '''NB:''' no longer required
-
::On Ubuntu apt-mirror is installed in /usr/bin
+
On Ubuntu apt-mirror is installed in /usr/bin
  cd /usr/bin && sudo patch -p0 -i ''/path/to/apt-mirror-https.patch''
  cd /usr/bin && sudo patch -p0 -i ''/path/to/apt-mirror-https.patch''
* Create apt-mirror config file '''mirror.list'''
* Create apt-mirror config file '''mirror.list'''
-
::Copy [[Apt-mirror#mirror.list_for_Maemo_5_Fremantle|Maemo 5 Fremantle mirror.list]] file.
+
Copy [[Apt-mirror#mirror.list_for_Maemo_5_Fremantle|Maemo 5 Fremantle mirror.list]] file.
-
::base_path - path where will be all files downloaded
+
base_path - path where will be all files downloaded
-
::nthreads - number of maximal parallel downloads
+
nthreads - number of maximal parallel downloads
-
::On Ubuntu default '''mirror.list''' is /etc/apt/mirror.list
+
On Ubuntu default '''mirror.list''' is /etc/apt/mirror.list
* Run apt-mirror manually:
* Run apt-mirror manually:
  apt-mirror ''/path/to/mirror.list''
  apt-mirror ''/path/to/mirror.list''
-
::On Ubuntu if file argument is not specified default /etc/apt/mirror.list is used
+
On Ubuntu if file argument is not specified default /etc/apt/mirror.list is used
* Run apt-mirror automatically:
* Run apt-mirror automatically:
-
::Install cron and configre file /etc/cron.d/apt-mirror
+
Install cron and configre file /etc/cron.d/apt-mirror
  #
  #

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)