Ubuntu 10.04 Updates List
Oliver Grawert
ogra at ubuntu.com
Fri Jun 17 17:47:13 UTC 2011
hi,
Am Freitag, den 17.06.2011, 19:37 +0200 schrieb Oliver Grawert:
> 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
>
oops, i just read the OP mail again, the one liner above only gives you
the wget'able urls of all installed packages of a system, so you would
have to run it on 10.04.3 to actually get the difference between the two
machines ...
though it should be generally doable with some similar grep-dctrl
command to get the package list of upgradeable packages.
ciao
oli
More information about the ubuntu-users
mailing list