Rootmanual:Repository: Skillnad mellan sidversioner

Från Lysators datorhandbok, den ultimata referensen.
Hoppa till navigering Hoppa till sök
Ingen redigeringssammanfattning
Rad 1: Rad 1:
== Adding packages to the repository ==
== Adding packages to the repository ==

=== Creating deb-file ===
Update me!

=== Add deb to the repository ===
# Connecto to [[Repomaster]] and transfear the .deb file to any directory.
# Connecto to [[Repomaster]] and transfear the .deb file to any directory.
# Cd to the root directory of the dist you want to add a package for inside the repository (e.g for ubuntu /srv/repos/ubuntu)
# Cd to the root directory of the dist you want to add a package for inside the repository (e.g for ubuntu /srv/repos/ubuntu)

Versionen från 17 mars 2014 kl. 17.21

Adding packages to the repository

  1. Connecto to Repomaster and transfear the .deb file to any directory.
  2. Cd to the root directory of the dist you want to add a package for inside the repository (e.g for ubuntu /srv/repos/ubuntu)
  3. Run: reprepro includedeb <osrelease> <debfile> (osrelease is the name of the relase, e.g trusty for ubuntu 14.04 or wheezy for debian 7)
    1. Enter the gpg-password to sign the package
  4. If there are no errors, the package is now available in the repository. To see the new package, update the list (e.g apt-get update) and the new package should be available.