rpm2apt readme, howto and faq. ============================== Written by evseev(at)altlinux(dot)ru at Sep 2004 Distributed as public domain. No warranties. Purpose: Publish to APT storage all RPM packages you (re-)built personally. Source RPM directory structure (created normally by rpmbuild): RPM <-- fullpath of root folder should be declared | in TEAM_DIR variable of rpm2apt script +- RPMS | +- noarch | +- i586 | +- ... | +- SRPMS Generated APT directory structure (created by rpm2apt): apt <-- fullpath of root folder is in BASE_DIR variable | +- ix86 <-- BASE_ARCH variable, may be also "ppc" and so on. | +- RPMS. <-- here are placed symlinks to RPM/RPMS/* | +- base <-- here are placed APT repository indexes | +- SRPMS. <-- here are placed symlinks to RPM/SRPMS/* Because packages are not actually copied from RPM directory to APT directory, but published via symbolic links, top RPM/ directory must be visible on the same FTP/HTTP site where APT/ directory besides. You can do this by moving ~/RPM to /var/ftp/pub/RPM, then create symlink at old location pointing to new one. rpm2apt uses another small utility, abs2rel, for converting packages paths from absolute form to relative, so top directory containing APT and RPM folders still freely relocatable. abs2rel is written on C, so it's platform-dependent. Team name (in terms of APT - repository name, so you can have multiple repositories on single place with shared indexing base) is the only parameter of rpm2apt, for example: rpm2apt miscpkgs genbasedir utility that's used for generating APT indexes in /base/ directory is installed as a part of Connectiva's apt-utils package. Using on client machine: put following lines to /etc/apt/sources.list: rpm ftp://repository.host/pub/apt ix86 rpm-src ftp://repository.host/pub/apt ix86