LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2011, 04:16 AM   #1
oyesteeer
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: Disabled
Exclamation 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...........
 
Old 05-25-2011, 04:25 AM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,606

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Quote:
Originally Posted by oyesteeer View Post
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.
 
Old 05-25-2011, 04:27 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
Old 05-25-2011, 04:42 AM   #4
oyesteeer
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
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 ...................
 
Old 05-25-2011, 04:49 AM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,606

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
Quote:
Originally Posted by oyesteeer View Post
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

Last edited by crts; 05-25-2011 at 04:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration