Greetings, I am working on creating a custom debian repository at the University for whom I work.
I have successfully created a "simple" repository, one which has all the relevant files in a single hierarchy. I am now trying to split things off and use "pools", so that I can serve various distributions (etch, lenny, sid) from the same URL. Here is the problem I encounter, both with 'apt-get update' and 'aptitude update'. Failed to fetch http://lager.d.umn.edu/debian/dists/etch/Release Unable to find expected entry umd/binary-i386/Packages in Meta-index file (malformed Release file?) Reading package lists... Done W: Couldn't stat source package list http://lager.d.umn.edu etch/umd Packages (/var/lib/apt/lists/lager.d.umn.edu_debian_dists_etch_umd_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead. But the first line claims 'Failed to fetch', but I can: % wget http://lager.d.umn.edu/debian/dists/etch/Release --2008-04-30 11:38:52-- http://lager.d.umn.edu/debian/dists/etch/Release Resolving lager.d.umn.edu... 131.212.109.132 Connecting to lager.d.umn.edu|131.212.109.132|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2234 (2.2K) [text/plain] Saving to: `Release' 100%[================================================>] 2,234 --.-K/s in 0s 2008-04-30 11:38:52 (154 MB/s) - `Release' saved [2234/2234] Here is the directory tree of my repository space: debian |-- dists | `-- etch | |-- Contents-i386 | |-- Contents-i386.gz | |-- Release | |-- Release.gpg | `-- umd | |-- binary-i386 | | |-- Packages | | |-- Packages.gz | | `-- Release | `-- source | |-- Release | |-- Sources | `-- Sources.gz `-- pool `-- umd `-- c `-- cookieauth |-- cookieauth2_3.0b2-1.diff.gz |-- cookieauth2_3.0b2-1.dsc |-- cookieauth2_3.0b2-1_i386.changes |-- cookieauth2_3.0b2.orig.tar.gz `-- libapache2-mod-cookieauth2_3.0b2-1_i386.deb Here is the script I use to create the repository: #!/bin/bash ARCHIVE=/home/mzagrabe/os/debian/apt-archive PACKAGES=${ARCHIVE}/dists/etch/umd/binary-i386/Packages SOURCES=${ARCHIVE}/dists/etch/umd/source/Sources CONTENTS=${ARCHIVE}/dists/etch/Contents-i386 RELEASE=${ARCHIVE}/dists/etch/Release cd ${ARCHIVE} apt-ftparchive packages . > ${PACKAGES} gzip -9 < ${PACKAGES} > ${PACKAGES}.gz apt-ftparchive sources . > ${SOURCES} gzip -9 < ${SOURCES} > ${SOURCES}.gz apt-ftparchive contents . > ${CONTENTS} gzip -9 < ${CONTENTS} > ${CONTENTS}.gz apt-ftparchive --config-file=/etc/apt/apt-ftparchive.conf release . > ${RELEASE} gpg -b -o ${RELEASE}.gpg ${RELEASE} and here is the /etc/apt/apt-ftparchive.conf file: APT { FTPArchive { Release { Origin "UMD ITSS"; Label "UMD ITSS Debian repository"; Suite custom; Codename etch; Component umd; Architectures "i386 source"; Archive stable; Description "Unofficial Debian packages by UMD ITSS"; } } } Here is the sources.list line I am using: deb http://lager.d.umn.edu/debian etch umd And version of apt: ii apt 0.6.46.4-0.1 Advanced front-end for dpk Does anyone see anything I missed? TIA -- Matt Zagrabelny - [EMAIL PROTECTED] - (218) 726 8844 University of Minnesota Duluth Information Technology Systems & Services PGP key 1024D/84E22DA2 2005-11-07 Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 He is not a fool who gives up what he cannot keep to gain what he cannot lose. -Jim Elliot
signature.asc
Description: This is a digitally signed message part