On Sat, Dec 12, 2009 at 3:47 AM, Osamu Aoki <os...@debian.org> wrote: > On Fri, Dec 11, 2009 at 01:49:13PM -0800, Peter Michaux wrote:
>> I have created my own apt simple repository > > Which documentation recommended you to create a so called "simple > repository"? It should be avoided these days. > > (See > http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_small_public_package_archive > ) Thanks for the link. I am trying it now. I'd think it is a bit unfortunate if a simple little repository like I created won't work anymore. >> # ls -1 /home/code/apt >> Contents >> Contents-i386.gz >> Packages >> Packages.gz >> db >> libconfig-properties-perl_1.70-1_all.deb >> >> I can install the package from that apt repository >> >> # cat <<EOF >> /etc/apt/sources.list >> deb file:///home/code/apt ./ >> EOF >> # apt-get update >> Ign file: ./ Release.gpg >> Ign file: ./ Release >> Ign file: ./ Packages > > Since "simple repository" does not have no secureAPT support without > Release.gpg. It does not work well with modern APT system. > >> ... >> # apt-get install libconfig-properties-perl >> ... >> # perl -MConfig::Properties -e 'print($Config::Properties::VERSION."\n");' >> 1.70 >> >> Great. That works. > > I think you got libconfig-properties-perl from some properly made remote > repository ... most likely from > http://security.debian.org/dists/lenny/updates/. I think I am installing from my local repository because if I comment out the line for my local repository in /etc/apt/sources.list then libconfig-properties-perl cannot be found: "Package libconfig-properties-perl has no installation candidate". > If it is from file:///home/code/apt, secure APT should > complain (as I understand when I made my local repository as local http > service. file:// may be different from http:// ... though.) > > I do not know all the inside works of apt-file. It is not core APT > tool. If it has bus as commented, we need to work around it. > >> What to do to get "apt-file update" behaving properly? > > Wait its bug to be fixed ... ? Does any know if there actually is there a known bug that I'm encountering here or if I have something misconfigured? Thanks, Peter -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org