![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Outdated Tutorials & Tips Outdated Tutorials & Tips |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Dipped in Ubuntu
![]() |
Howto: NoNetDebs - upgrade Ubuntu without Internet (or with low-bandwidth connection)
Hi,
NEW: major changes. New host and new features - see post #49. For those accessing the Internet from a library, school, college, workplace, from windows, etc. Just upload the status file from the offline Ubuntu (the complete pathname is /var/lib/dpkg/status) to your user account, select the ubuntu release, check if you want to upgrade or not, add a list of packages you want to install, click "List packages", wait a minute and you will get a list of the packages you need and you still don't have installed on your ubuntu offline, just like if you had done "sudo apt-get install". http://nonetdebs.homeip.net or http://nonetdebs.unixpod.com To see how it works check post #11. VERY IMPORTANT: To install ubuntu-restricted-extras offline in Gutsy check this post. If you don't do it like posted on that link, you'll get broken packages and a broken system! ================================================ The following is here just for historic curiosity and concept. Please read post #11 and #49 for about nonetdebs website. ================================================ last few days I've been messing around with this BASH script I've made - nonetdebs. It's fresh (not wide testing done yet, just here) and I need some feedback about if it is useful and if it really works. nonetdebs can download or list the packages you need to download for your Ubuntu at home with no Internet connection. ![]() It is somehow related/based in this http://ubuntu.wordpress.com/2005/09/...slow-internet/ and this http://beans.seartipy.com/2006/05/06...et-connection/ but done the automatic and easiest way (with a nurcses GUI), plus the independence of which Linux/Ubuntu version you are running (nonetdebs creates a chroot, so nothing is installed on the connected system, the packages are just downloaded) and plus avoids downloading already installed packages (the file you bring from the other computer tells what packages are already installed there). nonetdebs can be an alternative to APTonCD and/or APT-move: - APTonCD and APT-move need an equivalent version of Ubuntu on both computers, nonetdebs don't; - Creating DVD mirrors of the repositories is a big download and needs frequent updates, nonetdebs just downloads upgrades and new packages you want, knowing the packages you already have. It is a more individualized option. What you need: 1. The status file from your Ubuntu box. You can email if to yourself (~2 MB, maybe 5 MB, 10 MB max, it is located at /var/lib/dpkg/status), or copy it to a CD-RW or USB memory stick/pen. 2. A computer that have Internet connection. Option 1: A computer, as long as you can boot it with a LiveCD (Ubuntu Desktop?) and have an Internet connection with it. For real Windows, maybe you can use Wubi to install Ubuntu in it and use this script, or use cygwin --- all untested options except for the LiveCD (testers needed). A writeable partition from the LiveCD: ext3, something writeable. Many possible untested options here... (except FAT32, debootstrap apparently doesn't like it) Option 2: Any Linux box with Internet, as long as you can install debootstrap and dialog and you know its root password (k/x/ubuntu, fedora, whatever). BASH and wget are also needed, but are generally available in almost all Linux distros.How it works: * on the following text, "the other computer" is the Ubuntu without Internet. The complicated way: 1. You copy the file /var/lib/dpkg/status from the other computer to a USB pen/stick or to a CD.The simple way: 1. You have a copy of your status file from the other computer (email attachment, or on CD or USB);More Info I've tested it upgrading a Ubuntu 7.10 Gutsy Tribe-5 to its latest updates (more than 400 packages upgraded) with a LiveCD and a USB memory pen, then I connected it to internet, add the regular repositories, and no more needed updates were found. ![]() Note to aptitude users: although it is possible to make apt-get download "recommended packages" (to be used with aptitude on the other computer) it doesn't work with Dapper, so I've not enabled this option, but it can be done with Feisty/Gutsy (Edgy not tested) just with some tweaking (with apt.conf on the chroot directory and APT options). If you try to write to non-writeable partitions, the script will tell you that you can't. TODO: nonetrepo - check on the other computer if the new repository already exists on source.list (duplicates). WISHLIST: nonetdebs - gtk frontend (zenity). The nonetdebs script can be found here: http://ubuntu.no.sapo.pt/nonetdebs/nonetdebs ("dialog" and "debootstrap" also packages required).
__________________
. Howto: Easy FTP with vsftpd | Howto: Easy SFTP with Scponly | Upgrade Ubuntu without Internet | http://ubuntu.no.sapo.pt Last edited by epimeteo; May 8th, 2008 at 12:46 AM.. Reason: added link to install "ubuntu-restricted-extras" in gutsy offline. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|