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

Re: Generating a list (with urls) of packages needed by apt-get dist-upgrade



On Wed, 19 Jan 2005 17:23:52 +0000 (GMT)
Thomas Adam <thomas_adam16@yahoo.com> wrote:

>  --- Marco <brbromo@gmail.com> wrote: 
> > 2. Generate (at home) a list (with urls) of packages needed for
> > "apt-get dist-upgrade"
> 
> You can use something like this:
> 
> sudo apt-get -dy --print-uris upgrade | grep "^'" | \
> while read uri x; do uri=${uri#\'}; uri=${uri%\'}; \
> echo $uri; done >> ./PackageList.txt
> 
> > 3. Use that list to download all (and just) the needed packages at
> > the university.
> 
> cd /some/dir && wget -ci ./PackagesList.txt
> 
> > 4. Put them on a cdrw or usb key.
> > 5. Do "apt-get dist-upgrade" with packages from the cdrw or usb key.
> 
> sudo cp /usbstick/*.deb /var/cache/apt/archives && sudo apt-get
> dist-upgrade

That looks like an awful lot of work that's easy to mess up with a
single typo. Why not use apt-zip?

HTH,
Jacob



Reply to: