#!/bin/sh
set -e
apt-get update

echo "Merging Available information"
rm -f /var/cache/apt/available
apt-cache dumpavail /var/cache/apt/srcpkgcache.bin > /var/cache/apt/available
dpkg --update-avail /var/cache/apt/available
rm -f /var/cache/apt/available
exit 0
