Probably this method is not working correctly, it seems to return false whenever a problem with reading and appending a file is encountered (apt-pkg/sourcelist.cc):
// CNC:2003-03-03 - By Anton V. Denisov <[email protected]>. // SourceList::ReadSourceDir - Read a directory with sources files // Based on ReadConfigDir() /*{{{*/ // --------------------------------------------------------------------- /* */ bool pkgSourceList::ReadSourceDir(string Dir) { vector<string> const List = GetListOfFilesInDir(Dir, "list", true); // Read the files for (vector<string>::const_iterator I = List.begin(); I != List.end(); ++I) if (ReadAppend(*I) == false) return false; return true; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/849736 Title: apt-cache policy silently shows inaccurate information when any file in /etc/apt/sources.list.d is unreadable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/849736/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
