LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:51 PM   #1
dimastoledo
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Question Is there a way to integrate apt-get with any downloader manager?


Hello!
I'm new to this forum. Escuse me my bad English.

I'm using apt-get in a Conectiva9 distribution. I like it and synaptic.
But with a PPP conection, its performance iis really bad because it gets only one file at a time.
Is there a way to make apt-get more flexible and acelerate the process of downloading packages files, like the downloaders managers (kget, or Downloader for X, for example)?

Thanks a lot.
 
Old 05-02-2004, 06:17 PM   #2
hellblade
Member
 
Registered: Jan 2004
Location: Greece
Distribution: Debian Sid
Posts: 58

Rep: Reputation: 15
Hi.
I don't think it's possible, but one solution is to browse the archives with your browser and download the packages you want. Then:
# dpkg -i your_downloaded_packages.deb

I hope that helps you.
 
Old 05-02-2004, 07:06 PM   #3
dimastoledo
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to hellblade for the rapid response.
This alternate solution is good for individual packages and I will use it in this case.
But when I'm upgrading the system, in the automated process I do only
Quote:
apt-get update
and
Quote:
apt-get upgrade
.
Then, all rpm packages that have new version and no conflit with other dependencies will be upgraded. In this way and at this time, I didn't know what files will be.

Another situation: to install a software , I make
Quote:
apt-get install RpmPackageName
and this and all dependencies packages will be downloaded.

I think, too, that apt-get has a database where it put the name of the downloads files and I can't alter this manually.

Is this a case for the apt-get developers?
 
Old 05-03-2004, 05:36 AM   #4
hellblade
Member
 
Registered: Jan 2004
Location: Greece
Distribution: Debian Sid
Posts: 58

Rep: Reputation: 15
Try adding the same sources from two mirrors. Then I think you will get two files at a time.
An other way is to set an apt-proxy in your machine, add there the sources you use and point that (eg. deb http://localhost:9999/main/ unstable main contrib non-free) in your apt sources.list. I think that apt-proxy can be configured to download more than one files at a time.

*note that my example is for debian which is not your case

I hope this helps.

Last edited by hellblade; 05-03-2004 at 05:37 AM.
 
Old 05-04-2004, 07:14 AM   #5
dimastoledo
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

I didn't have apt-proxy. I will try it, if compatible with rpm and Conectiva distribution.

Yesterday, I added mirrors in the sources.list file and apt got two files at a time, but not for all packages. I will investigate it in more details at another opportunity.



Thanks a lot.
 
Old 05-04-2004, 06:32 PM   #6
clausi
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 48

Rep: Reputation: 15
The following tip was published on a german Linux website recently:

Code:
apt-get --print-uris -y dist-upgrade | grep "^'" | awk '{ print $1 }' | sed "s/'//g" > get.lst
should print the packages in the file get.lst. Then you can wget the packages:

Code:
wget -c -i get.lst
If you run wget in the dir "/var/cache/apt/archives/", they should be accessible after another
Code:
apt-get update
If you have a friend with a good connection, you get let him wget the packages in a new dir, for example "~/packages", then run:
Code:
dpkg-scanpackages ~/packages /dev/null > ~/packages/Packages
and let him burm the content of the directory onto a CD. You can add the CD with
Code:
apt-cdrom add -d /<mountpoint of the CDROM>
to your package repository, update && dist-upgrade.

Note I didn't test it.

Edit: Opps, this is supposed to hold for Debian, dunno about other implementations.

Last edited by clausi; 05-04-2004 at 06:36 PM.
 
  


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
Help with Synaptic Package Manager REPOSITORY/apt-get nvidia pkgs beeblequix Debian 4 10-07-2005 04:27 PM
Mathematica and integrate ahwkong Programming 1 04-17-2005 11:02 AM
apt manager for SuSE colabus Linux - Newbie 1 10-13-2004 06:19 PM
Is apt-get like a download manager? geraldomanaus Debian 8 06-16-2004 07:16 PM
red hat 9 apt-rpm package manager ronss Red Hat 3 09-25-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:50 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