Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
GNU Social Debian Packaging
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • External Wiki
    • External Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Bhuvan Krishna
  • GNU Social Debian Packaging
  • Wiki
  • signed local debian repo

Last edited by nsaikiran Mar 13, 2017
Page history

signed local debian repo

Creating a local (signed) debian repository.

  • The main steps are from: [Creating your own Signed APT Repository and Debian Packages] (https://scotbofh.wordpress.com/2011/04/26/creating-your-own-signed-apt-repository-and-debian-packages/)

  • NOTE: You might get an error like this:gpg: signing failed: Inappropriate ioctl for device, when executed dpkg-sig --sign builder mypackage_0.1.2_amd64.deb. Then follow the steps mentioned in this steps to get around the problem.

  • while generating conf/distributions file codename should be the one based on your debian version. origin should be localhost.

  • Store the public key, that is generated in the process to a file.( gpg --armor --export jon@aframe.com --output jon@aframe.com.gpg.key will output the key. Just store that in a file).

  • Add that key to apt, with the command sudo apt-key add <key-filename>

  • Go to /etc/apt/sources.list, then add this line: deb file:<folder-containing-conf-folder> stretch main.

  • Run sudo apt update.

Example conf/distributions file

conf/distributions
------------------
Origin:localhost
Label: apt repository
Codename: stretch
Architectures: amd64 source
Components: main
Description: Aframe debian package repo
SignWith: yes
Pull: stretch

Example modification for /etc/apt/sources.list

deb file:/home/vagrant/gnusocial stretch main
Clone repository
  • checks for the packages before sending to sponsors
  • gbp
  • Home
  • maintenance
  • signed local debian repo
  • tips
  • watch file