[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#260146: apt-get update -m does not work anymore



Package: apt
Version: 0.5.26

Hi,
  since latest apt-get update my DSelect::UpdateOptions "-m" stopped
working, as for unknown reason apt-get update now ignores -m, and always
reports error code 100 when some package lists failed to download.

  I need this feature because not all sites I'm downloading packages from
are always up, and currently when this happens, apt internal
package list IS updated in such situation, but dselect's list is left
alone (which I think is broken itself), not knowing about new and updated
packages available.

  For now I've applied change below - which IMHO is correct thing to do
anyway, as both apt and dselect available package lists should be always
in sync as much as possible.

  If you'll apply something like patch below, then I can live without
update -m being resurrected. Otherwise please give me option to accept
only some downloaded package lists back.
						Thanks,
							Petr Vandrovec


--- /usr/lib/dpkg/methods/apt/update.orig 2004-07-18 22:44:29.000000000 +0200
+++ /usr/lib/dpkg/methods/apt/update      2004-07-16 22:20:11.000000000 +0200
@@ -25,7 +25,7 @@
 CACHEDIR=`echo $CACHEDIR | sed -e "s|/$||"`

 STATUS=1
-if $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" update
+if $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" update || true
 then
     echo $"Merging Available information"
     rm -f $CACHEDIR/available




Reply to: