LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-26-2003, 08:17 PM   #1
sb73542
Member
 
Registered: Jul 2003
Distribution: Ubuntu, SUSE
Posts: 79

Rep: Reputation: 15
A question about apt-get update


Hi, I just install Debian Sid from MEPIS 2003.10. I'm coming from more of a Mandrake background.

I have a very slow dialup connection, so apt-get update takes quite a while. Is there any way to configure it so that subsequent updates come as a sort of diff file, in other words, if 5 packages were added or modifed since last update, I only want those lines to be downloaded and changed in my local machine. Thanks for the help!!
 
Old 12-27-2003, 01:44 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well I'm not sure if it's possible with apt-get.... I know some of the front ends, can do this. For instance aptitude an apt front-end that I like can do this. aptitude is console based utility using ncurses, it is menu driven and quite friendly, under the menus is the option to mark upgradeable if you select that option then select install packages it will only update packages that are installed and have newer versions. just make sure you keep your apt sources list updated.

--Alex
 
Old 12-27-2003, 07:43 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
If I understand you correctly then no that is not possible. The packages are divided up into groups and even if only one package is changed then you will have to download the whole list for that section (be it main, contrib or non-free). You see apt-get only check size and date. If it different, it downloads the list and checks it once it's got it.
 
Old 12-27-2003, 02:25 PM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Ah I am sorry I think I misread you initial question. unfortunantly as far as I am aware there is no way to not update the list unless you download the whole file.

--Alex
 
Old 12-27-2003, 07:36 PM   #5
sb73542
Member
 
Registered: Jul 2003
Distribution: Ubuntu, SUSE
Posts: 79

Original Poster
Rep: Reputation: 15
Thank you both for your replies! I think I'm going to make a suggestion to the Debian team: It seems like it would be simple to have the debian package servers automatically compare updated pools (is that the correct term?) with the previous one and make a diff file (on the server side) that clients can download and merge with their existing lists. It would definitely save Debian bandwidth too; the main Debian unstable branch list is >2.7 MB, whereas a diff file would generally be only a few KB's. Thanks again!
 
Old 12-27-2003, 11:03 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I doubt they would do that. That would require immeasurably more CPU power at the server (their) side. Besides, to make a comparison, both of the files have to be on the same computer so they'd either have to keep a huge backlog of list files on their servers or you'd have to upload your file. My advice to you is to do the update while doing something else like housework, shopping, eating, sleeping, etc.

Last edited by adz; 12-27-2003 at 11:06 PM.
 
Old 12-28-2003, 12:21 PM   #7
sb73542
Member
 
Registered: Jul 2003
Distribution: Ubuntu, SUSE
Posts: 79

Original Poster
Rep: Reputation: 15
Yes, I suppose so. Thanks for all the advice!
 
  


Reply



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
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Apt-get update question justanewbie Debian 3 04-17-2005 08:00 AM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM
Cant get apt to update efi360 Linux - Newbie 7 04-05-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:18 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
Open Source Consulting | Domain Registration