downloading already installed packages

Asked by Niraj

1) i have many packages installed on my machine now i want to just download these packages again with dependencies to install on my other machine which is not having internet connection.How can i do it?
i tried with 'apt-get install --download-only'
but it gives a message that package is already installed. So no download takes place. What should i do?

2) can i upgrade from ubuntu 7.10(Gutsy) to 8.04(hardy) through installation cd (bootable) of hardy without internet ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nicola S.
Solved:
Last query:
Last reply:
Revision history for this message
Best Nicola S. (strambinico) said :
#1

Hi!

1) You can download any package you need (and dependencies) from here: http://packages.ubuntu.com/
Just choose your version and search for the packages.

2) You can upgrade offline with cd, but you must get the "alternate" version:
   1. Download and burn the alternate installation CD.
   2. Insert it into your CD-ROM drive.
   3. A dialog will be displayed offering you the opportunity to upgrade using that CD.
   4. Follow the on-screen instructions.

If the upgrade dialog is not displayed for any reason, you may also run the following command using Alt+F2:

gksu "sh /cdrom/cdromupgrade"

Or in Kubuntu run the following command using Alt+F2:

kdesu "sh /cdrom/cdromupgrade"

Revision history for this message
Niraj (kulkarniniraj) said :
#2

Thanks Nicola S., that solved my question.