On Fri, Feb 18, 2011 at 01:54:00PM +0100, Mike Hommey wrote: > On Fri, Feb 18, 2011 at 01:48:39PM +0100, Patrick Schoenfeld wrote: > > Whats happening if you run it with the -u switch and sudo or su > > (depending on whats working on your system..)? > > # build-rdeps -u foo > Hit http://ftp.fr.debian.org unstable InRelease > Hit http://ftp.fr.debian.org unstable/main Sources/DiffIndex > Hit http://ftp.fr.debian.org unstable/main amd64 Packages/DiffIndex > Hit http://ftp.fr.debian.org unstable/main TranslationIndex > Hit http://ftp.fr.debian.org unstable/main Translation-ja > Reading package lists... Done > build-rdeps: unable to find sources files. > Did you forget to run apt-get update (or add --update to this command)? at > /usr/bin/build-rdeps line 315.
So that comes from this regex that doesn't match any file in my /var/lib/apt/lists directory: my $release_pattern = '(.*_dists_(sid|unstable))_Release$'; # ls /var/lib/apt/lists/ ftp.fr.debian.org_debian_dists_unstable_InRelease ftp.fr.debian.org_debian_dists_unstable_main_binary-amd64_Packages ftp.fr.debian.org_debian_dists_unstable_main_binary-amd64_Packages.IndexDiff ftp.fr.debian.org_debian_dists_unstable_main_i18n_Index ftp.fr.debian.org_debian_dists_unstable_main_i18n_Translation-ja ftp.fr.debian.org_debian_dists_unstable_main_source_Sources ftp.fr.debian.org_debian_dists_unstable_main_source_Sources.IndexDiff partial There is no Release file, but there is a InRelease file. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org