Ubuntu 10.04 Updates List

Oliver Grawert ogra at ubuntu.com
Fri Jun 17 17:37:36 UTC 2011


hi,
Am Freitag, den 17.06.2011, 12:08 -0400 schrieb Donald Talbert:
> On Fri, 2011-06-17 at 17:13 +0200, Nils Kassube wrote:
> > Esben Stien wrote:
> > > Nils Kassube <kassube at gmx.net> writes:
> > > > In synaptic mark all updates and then select "File" -> "Generate
> > > > package download script".
> > > 
> > > You didn't read my entire mail before you replied.
> > 
> > Or maybe I didn't understand your intention, because I did read the mail 
> > completely before I replied. Anyway, sorry if that answer wasn't what 
> > you are looking for.
> > 
> > 
> > Nils
> > 
> 
> Close though, I'm also interested in how to do what the OP is asking. :)
here is a one liner:

for file in $(grep-dctrl -n -s Package -F Status "ok
installed" /var/lib/dpkg/status|sort -u);do apt-cache show $file|grep
Filename|sed -e 's/Filename: /http:\/\/archive.ubuntu.com\//';done

ciao
	oli





More information about the ubuntu-users mailing list