[Bug 813213] Re: poldek fails to see packages from all repos if one repository is broken

Cactus 813213 at bugs.launchpad.net
Wed Nov 23 22:57:17 CET 2011


diff --git a/pkgset-load.c b/pkgset-load.c
index 470dae5..000e4df 100644
--- a/pkgset-load.c
+++ b/pkgset-load.c
@@ -98,7 +98,7 @@ int pkgset_load(struct pkgset *ps, int ldflags, tn_array *sources)
         if ((pkgdir->flags & PKGDIR_LOADED) == 0) {
             if (!pkgdir_load(pkgdir, ps->depdirs, ldflags)) {
                 logn(LOGERR, _("%s: load failed"), pkgdir->idxpath);
-                iserr = 1;
+                //iserr = 1;
             }
         }
         MEMINF("after load %s", pkgdir_idstr(pkgdir));

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/813213

Title:
  poldek fails to see packages from all repos if one repository is
  broken

Status in poldek:
  New
Status in PLD Linux Distribution:
  New

Bug description:
  say, if i have one repo broken:

  # poldek -u grub2
  Loading [pndir]th...
  Loading [pndir]th...
  Loading [dir]local-pld...
  error: opendir /home/glen/rpm/pld/RPMS: No such file or directory
  error: /home/glen/rpm/pld/RPMS: load failed
  Loading [pndir]dsl-delfi...
  Loading [pndir]dsl-delfi...
  warn: no packages loaded
  error: grub2: no such package

  workarounded can be to specify repos manually:

  # poldek -u grub2 --sn th
  Loading [pndir]th...
  Loading [pndir]th...
  16749 packages read
  grub2-1.97.2-2.x86_64: equal version installed, skipped
  Nothing to do

  # cat /etc/poldek/source.conf
  [source]
  name = local-pld
  type = dir
  path = /home/glen/rpm/pld/RPMS
  auto = yes
  autoup = no

To manage notifications about this bug go to:
https://bugs.launchpad.net/poldek/+bug/813213/+subscriptions


More information about the pld-bugs mailing list