Ticket #108 (closed task: fixed)

Opened 10 months ago

Last modified 10 months ago

Create a package repository over HTTP

Reported by: apoloval Assigned to: apoloval
Priority: minor Milestone: Software packaging
Component: Package system Version:
Keywords: Cc:

Description

For making easier the EzWeb Platform installation, a Debian package repository is going to be created.

Change History

02/07/08 14:55:31 changed by apoloval

There is an interesting howto.

02/07/08 14:56:24 changed by apoloval

A good candidate for hosting this files is blas, accesing with ezweb.morfeo-project.org.

02/07/08 15:56:28 changed by apoloval

Done. You should add this line to your /etc/apt/sources.list

 
  deb http://ezweb.morfeo-project.org/packages/debian/ latest main
 

For uploading new packages to repository, you should

  • Install them in pool
     
       $ cp /my/new/packages/ezweb* /var/www/wp_ezweb/packages/debian/pool/ezweb/
     
    
  • Regenerate the package indices
       $ cd /var/www/wp_ezweb/packages/debian
       $ dpkg-scanpackages pool /dev/null > dists/latest/main/Packages
    
  • Create index files for each architecture
       $ cd dists/latest/main
       $ rm -rf binary*
       $ mkdir binary-i386
       $ mv Packages binary-i386/
       $ cat binary-i386/Packages | gzip -9c
       $ bzip2 binary-i386/Packages
       $ cp -r binary-i386 binary-amd64
       $ cp -r binary-i386 binary-powerpc
       $ cp -r binary-i386 binary-sparc
    

With this lines, an apt-get update in clients will update its repository and an apt-get install ezweb-platform will update the package.

02/07/08 15:57:02 changed by apoloval

  • status changed from new to closed.
  • resolution set to fixed.