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

Bug#586428: Please clear the apt cache



* Frans Pop <elendil@planet.nl> [2010-06-20 07:17]:
> >  cleanup () {
> > +       rm -f /target/var/cache/apt/archives/*.deb 2>/dev/null || true
> >         rm -f "$KERNEL_LIST" "$KERNEL_LIST.unfiltered"
> >  }
> 
> Shouldn't this call 'apt-get cleanup' in /target instead?

Yeah, I was wondering about that too.  I wasn't sure whether it's
smart to use apt-get at this point, but I don't really see a reason
why not to.

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: