Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old July 4th, 2005   #1
j_goldie
Spilled the Beans
 
Join Date: Jun 2005
Beans: 13
Using apt-zip for slow connections

There's a link on http://sistemac.carnet.hr/index.php?...ash=7bbe489d70
for debian, but sadly it's in croatian, so there's a rough translation...

apt-zip enables to transfer with some portable media (ZIP drive, USB flash disk,

etc.) packages from high speed link computer to eg. home computer with slow link.

First, in /etc/fstab add the line(assuming that we have USB flash disk on /dev/sda)

/dev/sda1 /mnt/usbkey vfat user,noauto 0 0

Later in /etc/apt/apt-zip.conf configure the following lines

# MEDIUM should be defined in /etc/fstab with option `noauto'.

MEDIUM=/mnt/usbkey


# DEFAULT_APTGETACTION is the action taken by apt-get when neither

# the --aptgetaction nor the --packages options are given.

# Possible actions include: dselect-upgrade(default), upgrade and dist-upgrade

DEFAULT_APTGETACTION=dist-upgrade


Now refresh your repository

# apt-get update

Now put on USB flash disk list of needed packages:

# apt-zip-list

Of course, one can choose method other than dist-upgrade. For instance, i wanted to install gnucash. Then I had put on command line apt-zip-list --aptgetaction=upgrade --packages=gnucash.

One gets on USB flash disk to files:
- apt-zip.options which is conf file
- fetch-script-wget-<machine name> which is used for downloading

Now go with USB stick on some UNIX machine with high speed link, mount it and type
# sh fetch-script-wget-ico-notebook

Once the script had downloaded all needed packages, take the USB stick home, put it in USB port and write
# apt-zip-inst
For gnucash i used # apt-zip-inst --aptgetaction=upgrade --packages=gnucash
To finish gnucash installation(tu put shortcut in the gnome menu) i used
Unofficial Ubuntu 5.04 Starter Guide.
http://ubuntuguide.org/#gnucash
That's it!
Anyway, consult apt-zip documentation (like man page in order to get things right.)
In hope that someone will find it useful...

This post was on Ubuntu Forums > Ubuntu Hoary Hedgehog 5.04 > Hoary 5.04 Application Support > Other application support, and as Intangible pointed out, this post should be here. Sorry, for the inconvenience. I don't know how to delete
or move the message from the forum, so i just copied it here. I hope that this won't be the problem

Last edited by j_goldie; July 6th, 2005 at 04:53 AM..
j_goldie is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:03 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry