PDA

View Full Version : [ubuntu] list of updates



Mike V
April 28th, 2009, 02:55 AM
Any one knows how to get the list of software needed to be installed after a:



sudo apt-get update


I have and offline server (dont want to use aptoncd) and want to update it, I want to download all the updates, copy them to the apt archive directory and then run



sudo apt-get upgrade


Any ideas?

Mike

Titan8990
April 28th, 2009, 11:59 AM
just do apt-get upgrade and then say 'no' instead of yes with proceeding.


offline server? Not sure I understand the concept.

EXCiD3
April 28th, 2009, 11:05 PM
Check out Keryx (http://keryxproject.org). :)

Namtabmai
April 28th, 2009, 11:28 PM
sudo apt-get upgrade --print-uris


Should do it I think. Then copy the debs into

/var/cache/apt/archives

and run upgrade as normal.

Mike V
April 29th, 2009, 01:07 AM
Thanks Namtabmai, let me check if that works.


Titan8990
By offline I mean that is on a LAN but it can not download the deb files.

EXCiD3
April 29th, 2009, 02:09 AM
That will not work, your offline machine will have NO access to the latest package lists and will not be able to show you any updates. Just give Keryx a shot, i developed it for exactly your situation. :)

Mike V
April 29th, 2009, 03:34 AM
EXCiD3

you are right, I totally forgot that, thanks

EXCiD3
April 29th, 2009, 05:43 AM
EXCiD3

you are right, I totally forgot that, thanks

No worries, I've got dialup at home so I have plenty of experience. :popcorn: Cheers!