|
|
|
|
|
|
| Author |
Message |
Phillip Pi *nix forums beginner
Joined: 04 Feb 2005
Posts: 3
|
Posted: Fri Feb 04, 2005 8:00 am Post subject:
How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
Hello!
I no longer have broadband connection nor can get broadband at home for
my Internet usage. I am forced to use dial-up with EarthLink that only
goes at 3 KB/sec due to poor Verizon's phone systems. Back in Autumn of
2004, I installed Debian v3.1 with its Sarge installer. Net installation
was so fun and easy over cable modem connection. Not any more on dial-up.
:(
I noticed apt-get update takes forever to download (30+ minutes). Just
for kicks, I saw many MB to download for apt-get upgrade. It was about
255 MB would be 25+ hours nonstop (woah). EarthLink doesn't let me stay
online more than 24 hours straight per connection session. Also, my
connection isn't that stable. I am trying to find ways to optimize this
to make my installation and updates efficient.
I do have broadband access, CD burners, and USB Flash drives/sticks (256-
512 MB) at work. Is there a way to get all these Debian packages and
upgrades quickly? I do not and cannot run Debian at work due to heavy
firewall restrictions (apt-get update and upgrade doesn't work well in
VMware v4.5.x test).
Bascially, I would like to take the list of packages that I need to
download and their locations, download them at work to burn to a CD-RW
and/or USB Flash drives/sticks (haven't tested to see if Flash
drives/sticks work on that Debian box). I see *.dep files are download-
able from http://www.debian.org/distrib/packages (unstable, stable,
etc.). I do NOT want have to download each file one by one. I think
there was about a hundred packages in apt-get upgrade list when I
checked last night. Gah! :(
It looks like Debian wasn't really designed for dial-up modems and I do
not really want to get another distribution. Please note that this is a
desktop workstation, not a notebook/laptop so portability is not an
option.
Thank you in advance for any suggestions.
--
"An anthill increases by accumulation. / Medicine is consumed by distribution. / That which is
feared lessens by association. / This is the thing to understand." --Siddha Nagarjuna
/\___/\
/ /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx and
| |o o| | Ant's Quality Foraged Links: http://aqfl.net
\ _ / E-mail: philpi@earthlink.net or ant@zimage.com
( )
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Andreas Janssen *nix forums Guru Wannabe
Joined: 01 Mar 2005
Posts: 137
|
Posted: Fri Feb 04, 2005 9:10 am Post subject:
Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
Hello
Phillip Pi (<ant@zimage.com>) wrote:
| Quote: | [Sarge no more broadband]
I do have broadband access, CD burners, and USB Flash drives/sticks
(256- 512 MB) at work. Is there a way to get all these Debian packages
and upgrades quickly? I do not and cannot run Debian at work due to
heavy firewall restrictions (apt-get update and upgrade doesn't work
well in VMware v4.5.x test).
|
This is asked frequently on this list. You can find more by searching
the list archive and googling for APT offline howto. To give you a
quick answer, you can get a list of filenames with
apt-get --print-uris dist-upgrade
and later copy the packages to /var/cache/apt/archives. Then you run
apt-get dist-upgrade.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Phillip Pi *nix forums beginner
Joined: 04 Feb 2005
Posts: 3
|
Posted: Fri Feb 04, 2005 9:40 am Post subject:
Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
| Quote: | [Sarge no more broadband]
I do have broadband access, CD burners, and USB Flash drives/sticks
(256- 512 MB) at work. Is there a way to get all these Debian packages
and upgrades quickly? I do not and cannot run Debian at work due to
heavy firewall restrictions (apt-get update and upgrade doesn't work
well in VMware v4.5.x test).
This is asked frequently on this list. You can find more by searching
the list archive and googling for APT offline howto. To give you a
quick answer, you can get a list of filenames with
apt-get --print-uris dist-upgrade
and later copy the packages to /var/cache/apt/archives. Then you run
apt-get dist-upgrade.
|
Thanks Andreas. This looks like the solution I want! I used redirect (>
results.txt). Do you have a script to clear out all the extras and only
keep the URLs? I need to figure out how to copy all these URLs to GetRight
in Windows without doing it manually one by one. I have 100 URLs! I am not
a coder so...
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Kent West *nix forums Guru
Joined: 20 Feb 2005
Posts: 737
|
Posted: Fri Feb 04, 2005 1:10 pm Post subject:
Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
Phillip Pi wrote:
| Quote: | I no longer have broadband connection nor can get broadband at home ... I am forced to use dial-up with EarthLink that only
goes at 3 KB/sec due to poor Verizon's phone systems. Back in Autumn of
2004, I installed Debian v3.1 with its Sarge installer.
I noticed apt-get update takes forever to download (30+ minutes). ... I saw many MB to download for apt-get upgrade. It was about
255 MB would be 25+ hours nonstop (woah). EarthLink doesn't let me stay
online more than 24 hours straight per connection session.
I've done many upgrades over dial-up. It's worse when you're running |
Sid, because by the time you get to the end of the packages to be
downloaded, Sid has changed on the mirrors and some package can no
longer be found, so you have to update/upgrade all over again. Nasty.
Still, with persistence, you can do it.
Breaking up your download over multiple dial-up connections is not a
problem. apt can handle that just fine.
| Quote: | I do have broadband access, CD burners, and USB Flash drives/sticks (256-
512 MB) at work. Is there a way to get all these Debian packages and
upgrades quickly? I do not and cannot run Debian at work due to heavy
firewall restrictions (apt-get update and upgrade doesn't work well in
VMware v4.5.x test).
Too bad about the firewall restrictions. Having an essentially mirrored |
Debian box at work (even in VMWare) would make things a lot easier; then
you could just copy the packages from /var/cache/apt/archives to your
home box, with dial-up filling in any little gaps.
The next best solution I see is to burn a new Testing CD every so often
and take it home. Just fetch the latest weekly
(http://ftp.acc.umu.se/pub/cd-images/debian-weekly/i386/) and burn it,
take the CD home, and apt-cdrom it into your system.
| Quote: |
It looks like Debian wasn't really designed for dial-up modems
Sure it is; it's just that Testing and Sid get so many new packages that |
dial-up is problematic. Dial-up works much better for Stable, which
doesn't see so many large downloads.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Phillip Pi *nix forums beginner
Joined: 04 Feb 2005
Posts: 3
|
Posted: Sat Feb 05, 2005 10:30 am Post subject:
Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
On Fri, 4 Feb 2005, Andreas Janssen wrote:
| Quote: | [Sarge no more broadband]
I do have broadband access, CD burners, and USB Flash drives/sticks
(256- 512 MB) at work. Is there a way to get all these Debian packages
and upgrades quickly? I do not and cannot run Debian at work due to
heavy firewall restrictions (apt-get update and upgrade doesn't work
well in VMware v4.5.x test).
This is asked frequently on this list. You can find more by searching
the list archive and googling for APT offline howto. To give you a
quick answer, you can get a list of filenames with
apt-get --print-uris dist-upgrade
|
This works nicely. :)
| Quote: | and later copy the packages to /var/cache/apt/archives. Then you run
apt-get dist-upgrade.
|
Very nice too. Perfect! Extra work for me, but I can stay updated! I need
to uninstall some stuff that I don't use anymore to keep the upgrades
smaller. :)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Andreas Janssen *nix forums Guru Wannabe
Joined: 01 Mar 2005
Posts: 137
|
Posted: Sat Feb 05, 2005 6:20 pm Post subject:
Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?
|
|
|
Hello
Phillip Pi (<ant@zimage.com>) wrote:
| Quote: | [Sarge no more broadband]
I do have broadband access, CD burners, and USB Flash drives/sticks
(256- 512 MB) at work. Is there a way to get all these Debian
packages and upgrades quickly? I do not and cannot run Debian at
work due to heavy firewall restrictions (apt-get update and upgrade
doesn't work well in VMware v4.5.x test).
This is asked frequently on this list. You can find more by searching
the list archive and googling for APT offline howto. To give you a
quick answer, you can get a list of filenames with
apt-get --print-uris dist-upgrade
and later copy the packages to /var/cache/apt/archives. Then you run
apt-get dist-upgrade.
Thanks Andreas. This looks like the solution I want! I used redirect
(> results.txt). Do you have a script to clear out all the extras and
only keep the URLs? I need to figure out how to copy all these URLs to
GetRight in Windows without doing it manually one by one. I have 100
URLs! I am not a coder so...
|
This should work:
apt-get -y --print-uris dist-upgrade |\
grep ".deb" | cut -f1 "-d " | sed s/\'//g
grep will only keep the lines with ".deb", cut removes everything except
the first part of each line with the URL, and sed removes the quotation
marks.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 12:05 pm | All times are GMT
|
|
Debt Consolidation | Bankruptcy | MPAA | Bankruptcy Certification | Debt Consolidation
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|