LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-29-2006, 12:13 PM   #1
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
Installing updates


Hie, so my Ubuntu show`s that i have 100MB of updates to download, but my internet connection is slow And my question : Can I start all updates and later(in new session) continue downloading?
 
Old 06-29-2006, 12:24 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Yes. When you start updating, apt will first download all the files and only then start installing them (and even then it first checks out a few things). So if you cut off the download, the already downloaded files should stay in the cache and you should be able to continue from there. Yet again, if the packages seem to disappear, your settings tell apt not to keep cache on the disk; in that case you'll need to alter your apt configuration. But in a normal situation, yes, you can continue download when you want.
 
Old 06-29-2006, 04:08 PM   #3
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
If you issue the apt-get --help command then the following is displayed.

Here is the switch that you are looking to use.

-d Download only - do NOT install or unpack archives


So the command would be:

sudo apt-get update
sudo apt-get upgrade -d

----------------------------------------

apt-get help
apt 0.6.43.3ubuntu2 for linux i386 compiled on Apr 18 2006 19:46:38
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
why after installing updates using up2date boxerboy Fedora 6 08-02-2005 05:18 PM
Kaffeine won't work after installing updates justintime32 Mandriva 1 03-09-2005 08:24 PM
installing software updates in Suse 9.1 smokeyjoe Suse/Novell 3 11-27-2004 01:09 AM
Installing Updates from a cd (fedora 1) FocusedWolf Linux - General 2 02-20-2004 11:10 PM
Installing openSSH updates on RH 7.2 tawsie Linux - Newbie 1 09-19-2003 10:42 AM


All times are GMT -5. The time now is 09:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration