
Hi people, first time poster here... Okay, this is somewhat difficult to explain, but I'll try my best. I use Knoppix 3.8.1 at work, but I cannot get good internet access (it keeps randomly cutting off downloads larger than about 500K), and I want to update/replace a couple of packages, but I know that doing this is going to require a whole lot of dependencies. First of all I want to replace OpenOffice.org with an english version (this knoppix only came with the german version). And then I want to upgrade KDE from 3.3.2 to 3.4.1. I want to do this by 1. Working out from my knoppix machine at work which packages it's going to need. 2. saving that list somehow, going home, downloading all of the packages at home. 3. Writing a CDRW or something with those packages. 4. Configuring apt on my machine at work to get all of the packages it needs from the CDRW, rather than the net. Has anyone had to something like this before? The ones that I think I need pointers on are going to be 1 and 4. Anyone know how I would go about those in particular? -- Cameron

On Wed, 2005-07-27 at 22:37 -0400, Camster342 wrote:
I want to do this by 1. Working out from my knoppix machine at work which packages it's going to need.
run apt-get -u dist-upgrade This will show you a list of all packages which it is planning to download and prompt you before downloading so you can cancel.
4. Configuring apt on my machine at work to get all of the packages it needs from the CDRW, rather than the net.
Copy the .deb's from the cd to /var/cache/apt/archives/ then run apt-get -u dist-upgrade again and I'm pretty sure apt will just magically use them. Regards -- Matt Brown matt(a)mattb.net.nz Mob +64 275 611 544 www.mattb.net.nz

On Wed, 2005-07-27 at 22:37 -0400, Camster342 wrote:
Hi people, first time poster here...
Okay, this is somewhat difficult to explain, but I'll try my best. I use Knoppix 3.8.1 at work, but I cannot get good internet access (it keeps randomly cutting off downloads larger than about 500K), and I want to update/replace a couple of packages, but I know that doing this is going to require a whole lot of dependencies. First of all I want to replace OpenOffice.org with an english version (this knoppix only came with the german version). And then I want to upgrade KDE from 3.3.2 to 3.4.1.
I want to do this by 1. Working out from my knoppix machine at work which packages it's going to need. 2. saving that list somehow, going home, downloading all of the packages at home. 3. Writing a CDRW or something with those packages. I have a script setup to do this type of thing (although in reverse)
it basically consists of apt-get --print-uris upgrade | awk '{print "wget -O " $2 " " $1}'
/tmp/wget-script
/tmp/wget-script will be formated like this wget -O debconf-i18n_1.4.52_all.deb 'http://craigm.tintz.co.nz:9999/debian/pool/main/d/debconf/debconf-i18n_1.4.5...' wget -O debconf_1.4.52_all.deb 'http://craigm.tintz.co.nz:9999/debian/pool/main/d/debconf/debconf_1.4.52_all...' wget -O base-passwd_3.5.10_i386.deb 'http://craigm.tintz.co.nz:9999/debian/pool/main/b/base-passwd/base-passwd_3....' take the wget-script home at a shell type . wget-script which will download all the packages and name them correctly in the current directory write the files to the CDRW take CDRW back to work
4. Configuring apt on my machine at work to get all of the packages it needs from the CDRW, rather than the net.
apt-get -o dir::cache::archives="/cdrom/" upgrade
Has anyone had to something like this before? The ones that I think I need pointers on are going to be 1 and 4. Anyone know how I would go about those in particular?
-- Cameron
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
participants (3)
-
Camster342
-
Craig Mckenna
-
Matt Brown