RE: dpkg/apt question

2004-07-23 Thread Preston Boyington
Monique Y. Mudama wrote:
 
 Is there any particular reason that you don't want to use aptitude or
 dselect to interactively change the installed packages?
 
 --
 monique

sorry, there was more to the story than i guess i led you to believe.  here's a bit 
more information.

the existing debian box that i was given is basically a test machine.  the company 
wanted to see if there was an efficient way of getting machines used here to a 
baseline setup.  if this could be done without reinstalling then we could keep the 
machines running Debian.  if not, then another distribution would be chosen (i don't 
pretend to understand the reasoning for their thinking about changing).

wanting to establish a baseline for the packages we took a fresh box, loaded only 
what would be used, and generated a package list.

using the commands with the generated package list:

dpkg --set-selections  packages.txt
apt-get dselect-upgrade

we showed how easy it was to totally change the test bed of machines (initially one, 
then five).

we are now going to roll out these changes to all our machines in this complex (30+) 
and another 15-20 machines in two satellite offices.


thanks all,
Preston



RE: dpkg/apt question

2004-07-23 Thread RickTaylor
 we are now going to roll out these changes to all our machines in this complex (30+) 
 and another 15-20 machines in two satellite offices.
  
 thanks all,
 Preston

There are a large number of utility programs just in case you're unaware of them.
Stuff to let you do ongoing package management, etc. 

From their listings {Their search engine's down.} Most of these have much
more functionality than the name implies:

apt-move (4.1.21) Move cache of Debian packages into a mirror hierarchy
apt-proxy (1.3.0) Debian archive proxy and partial mirror builder
apt-show-source (0.06-3) Shows source-package information
apt-show-versions (0.03) Lists available package versions with distribution
apt-spy (2.3-2) writes a sources.list file based on bandwidth tests.
apt-utils (0.5.4.0.1 [s390], 0.5.4 [alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, 
powerpc, sparc])
APT utility programs:

usr/bin/apt-extracttemplatesadmin/apt-utils
usr/bin/apt-ftparchive  admin/apt-utils
usr/bin/apt-sortpkgsadmin/apt-utils

apt-zip (0.13.2) Update a non-networked computer using apt and removable media

dpkg-ftp (1.6.10) Ftp method for dselect. 
dpkg-multicd (0.18) Installation methods for multiple binary CDs
dpkg-repack (1.8) puts an unpacked .deb file back together

 ...
This message has been brought to you in part by a grant from Columba.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dpkg/apt question

2004-07-22 Thread Thomas Adam
--- Preston Boyington [EMAIL PROTECTED] wrote: 

 dpkg --set-selections  packages.txt
 
 then:
 
 apt-get install
^^^

Wrong. You want to do:

apt-get dselect-upgrade

-- Thomas Adam

=
The Linux Weekend Mechanic -- http://linuxgazette.net
TAG Editor -- http://linuxgazette.net

shrug We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)





___ALL-NEW Yahoo! Messenger - 
so many all-new ways to express yourself http://uk.messenger.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dpkg/apt question

2004-07-22 Thread Monique Y. Mudama
On 2004-07-22, Preston Boyington penned:
 i have inherited an existing debian box and want to change the
 packages to suit me and the office that it will now be used.

 i would like to take the installed packages listed from:

 dpkg --get-selections  packages.txt

 and edit the file to reflect what i actually want/need on the box.

 after i get the edited list prepared, is there a command i can issue
 that will instruct apt or dpkg to add/remove the programs to reflect
 my changes?

 on a fresh install i would do:

 dpkg --set-selections  packages.txt

 then:

 apt-get install

 but i don't know the command to do this from a existing setup.

 would someone shed some light on this for me?

 thanks, Preston

Is there any particular reason that you don't want to use aptitude or
dselect to interactively change the installed packages?

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]