LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help me (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-882581/)

oyesteeer 05-25-2011 03:16 AM

help me
 
where does all the updated packages get saved in my computer in which I have installed Ubuntu 9.10?
its really hard to download all those large files in slower Internet connection and the backups are unknown
please help me if i can save those downloaded packages in other devices...........

crts 05-25-2011 03:25 AM

Quote:

Originally Posted by oyesteeer (Post 4366345)
where does all the updated packages get saved in my computer in which I have installed Ubuntu 9.10?
its really hard to download all those large files in slower Internet connection and the backups are unknown
please help me if i can save those downloaded packages in other devices...........

Hi,

have a look at
/var/cache/apt/archives

You should find the *.deb files in there.

EricTRA 05-25-2011 03:27 AM

Hello and Welcome to LinuxQuestions,

It depends on what package manager/software center you use. If for example you use the apt-get command from the console then packages you've already downloaded will be saved in /var/cache/apt/archives. You could try to find out with the find command:
Code:

sudo find /var/cache -type f -name '*.deb'
Also change the title of your thread to something more descriptive. Just 'help me' isn't drawing any attention to your problem.

Kind regards,

Eric

oyesteeer 05-25-2011 03:42 AM

ok thanks for your suggestion guys
and i use the default i guess synaptic package manager and ubuntu software center
will saving all those .deb files be a solution then ...................

crts 05-25-2011 03:49 AM

Quote:

Originally Posted by oyesteeer (Post 4366352)
ok thanks for your suggestion guys
and i use the default i guess synaptic package manager and ubuntu software center
will saving all those .deb files be a solution then ...................

Well, it will be the solution if you intend to reinstall ubuntu 9.10. Then you would not have to re-download the updates again. If you intend to upgrade you distribution then there will probably be some compatibility issues.

[EDIT]
Since you are using software center and synaptic you should use Eric's command to find the '*.deb' packages. In order to make a backup you can mount an external drive. Example: [UNTESTED]
Code:

sudo -i    # will ask for password and give root privileges
mount /dev/sdb1 /mnt    # /dev/sdb1 being you external disk
find /var/cache/ -name '*.deb' -type f -exec cp -a '{}' /mnt \;  # find and copy



All times are GMT -5. The time now is 11:23 AM.