Editing Reprepro

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
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 1: Line 1:
-
[http://mirrorer.alioth.debian.org/ reprepro] is a tool to create and manage debian package repositories. This page documents its installation on stage.maemo.org, the Maemo repository server. Note that this is not the tool that maemo.org uses.
+
[http://mirrorer.alioth.debian.org/ reprepro] is a tool to create and manage debian package repositories. This page documents its installation on stage.maemo.org, the Maemo repository server.  
 +
 
''' Preparation '''
''' Preparation '''
Line 13: Line 14:
inoticoming and reprepro are maintained and written by the same person.
inoticoming and reprepro are maintained and written by the same person.
-
So, in short, I've installed these packages and their dependencies on the repository server: reprepro, libdb4.2, and inotincoming.
+
So, in short, I've installed these packages and their dependencies on the repository server: reprepro, libdb4.2, and inotincoming. (I used this command:
-
 
+
aptitude install reprepro inoticoming libdb4.2)
-
-- Note: explicitly stating libdb4.2 does not make much sense here. aptitude will get whatever version of that crappy lib reprepro needs just fine.
+
Line 27: Line 27:
Here we're putting the directories under the /srv/ directory so that we can isolate them from the rest of our web content. I have installed nginx to serve the repos because it is small and fast.
Here we're putting the directories under the /srv/ directory so that we can isolate them from the rest of our web content. I have installed nginx to serve the repos because it is small and fast.
-
 
-
-- Note: If you try this at home, it's usually a good idea to only make one repository and the different projects just different distributions within that. (Unless you have a reason against that, of course).
 
Line 43: Line 41:
  Components: free non-free
  Components: free non-free
  Description: Maemo.org package repositories for diablo
  Description: Maemo.org package repositories for diablo
-
Log: /var/log/repos/ 
 
-
 
-
''' Logging '''
 
-
 
-
I have tried to make reprepro as verbose as possible, at least to start with. The logs are held in a directory along with the inoticoming logs in /var/log/repos/.
 
Line 55: Line 48:
  sudo reprepro -Vb . includedeb diablo /home/jeremiah/maemo-perl-packages/libv-perl_0.13-1_all.deb
  sudo reprepro -Vb . includedeb diablo /home/jeremiah/maemo-perl-packages/libv-perl_0.13-1_all.deb
-
The -b flag tells reprepro where its base dir is, here represented by the current dir (.) but you can export a variable with REPREPRO_BASE_DIR. Those type of directories are all configurable with reprepro and well documented in the man pages.
+
Note that I am calling that command from /srv/extras - you'll need to make sure reprepro knows where you are so that it can find the right configuration file for the repo you want to add packages to.  
Here is the output from that command, showing how reprepro created the needed directories and also added a tracking database as well as exported indexes;
Here is the output from that command, showing how reprepro created the needed directories and also added a tracking database as well as exported indexes;
Line 83: Line 76:
http://alioth.debian.org/scm/viewvc.php/*checkout*/mirrorer/docs/manual.html?revision=HEAD&root=mirrorer<br>
http://alioth.debian.org/scm/viewvc.php/*checkout*/mirrorer/docs/manual.html?revision=HEAD&root=mirrorer<br>
http://www.debian-administration.org/articles/286<br>
http://www.debian-administration.org/articles/286<br>
-
 
-
[[Category:Software]]
 

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)