Re: Obsessed with a clean system

2004-08-16 Thread Lourens Steenkamp
Lourens replying to Greg Folkert [EMAIL PROTECTED] wrote:

  On Thu, 2004-08-12 at 13:36, Lourens Steenkamp wrote:
   Lourens replying to Greg Folkert [EMAIL PROTECTED] wrote:
   
   [big snip]
   
 
 Doesn't matter to me... I have a local mirror for the 4 archs I
 use.
   
   I have also aquired a mirror (woody, sarge, sid, experimental,
   security stuff, no src).
   Could you tell me how you keep your mirror in sync?
   
   TIA.
  
  I apologize for the over-length lines. I don't like to break-up these
  kinds of lines.
  
  I use this script:

[snipped]

Thank you very much for your response, I will look at this this coming
weekend.

Have fun

*

Lourens Steenkamp
Enjoying Debian GNU/Linux 3.0 r2

*

Here is bigger than you can imagine,
Now is forever ...
  Bruce Cockburn : Messenger Wind


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



Re: Obsessed with a clean system

2004-08-14 Thread John Summerfield
William Ballard wrote:
But keeping it clean primarily saves time.  Nobody cares about disk 
space.  

Those running firewalls such as ipcop  and APs such as pebble from 
compact flash care quitea bit.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Obsessed with a clean system

2004-08-13 Thread Paul Gear
William Ballard wrote:
 ...
I used to be obsessed with clean drives before I upgraded the 120MB Connor 
in my Amiga.  Since then, I haven't spent much time worrying about it.
 
 
 But keeping it clean primarily saves time.  Nobody cares about disk 
 space.  Why download upgrades to all those packages you never need?  
 Why fight broken upgrades on things?

It's also about minimising the number of security bugs that actually
affect you.

I used to work on HP-UX servers, and i routinely deleted the audio
subsystem on them because they didn't have audio hardware.  Everyone
thought i was crazy, until one day a trivially exploitable security bug
was announced.  Then i got to thumb my nose at all the people who
thought i was being anal, and i saved our team a lot of time in security
patching.

-- 
Paul
http://paulgear.webhop.net
--
War is an instrument entirely inefficient toward redressing wrong; and
multiplies, instead of indemnifying losses.
-- Thomas Jefferson http://www.quotedb.com/quotes/1770


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



Re: Obsessed with a clean system

2004-08-13 Thread Paul Gear
Loki wrote:
 On Thu, 12 Aug 2004, Kirk Strauser wrote:
 
 
I cheated on my mirror: I installed a Squid server and pointed apt at that
proxy.  That way, there's no penalty of downloading more packages than
needed, but additional hosts benefit from the packages already downloaded
by earlier hosts.
 
 
 Well yeah, if you have infinite disk space to devote to your cache. :)
 ...
 Also, things cycle out of the cache. They expire, or you run out of cache
 space and Squid wisely deletes cache objects. It's good, but a mirror is
 better.

You don't need infinite disk space to make use of a cache.  You only
need enough to store the sets of packages that you use.  I'm about to
build a new mail/proxy/web server with 80 Gb drives in RAID 1.  About 5
of that 80 Gb will be required for the actual work of the server (the
current machine has 4 Gb total), and i could easily spare 40 Gb for cache.

-- 
Paul
http://paulgear.webhop.net
--
War is an instrument entirely inefficient toward redressing wrong; and
multiplies, instead of indemnifying losses.
-- Thomas Jefferson http://www.quotedb.com/quotes/1770


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



Re: Obsessed with a clean system

2004-08-12 Thread Lourens Steenkamp
Lourens replying to Greg Folkert [EMAIL PROTECTED] wrote:

[big snip]

  
  Doesn't matter to me... I have a local mirror for the 4 archs I use.

I have also aquired a mirror (woody, sarge, sid, experimental, security
stuff, no src).
Could you tell me how you keep your mirror in sync?

TIA.


*

Lourens Steenkamp
Enjoying Debian GNU/Linux 3.0 r2

*

Here is bigger than you can imagine,
Now is forever ...
  Bruce Cockburn : Messenger Wind


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



Re: Obsessed with a clean system

2004-08-12 Thread Kirk Strauser
On Thursday 12 August 2004 12:36, Lourens Steenkamp wrote:

 I have also aquired a mirror (woody, sarge, sid, experimental, security
 stuff, no src).
 Could you tell me how you keep your mirror in sync?

I cheated on my mirror: I installed a Squid server and pointed apt at that 
proxy.  That way, there's no penalty of downloading more packages than 
needed, but additional hosts benefit from the packages already downloaded 
by earlier hosts.
-- 
Kirk Strauser


pgpbD9MiDfzlU.pgp
Description: signature


Re: Obsessed with a clean system

2004-08-12 Thread Greg Folkert
On Thu, 2004-08-12 at 13:36, Lourens Steenkamp wrote:
 Lourens replying to Greg Folkert [EMAIL PROTECTED] wrote:
 
 [big snip]
 
   
   Doesn't matter to me... I have a local mirror for the 4 archs I use.
 
 I have also aquired a mirror (woody, sarge, sid, experimental, security
 stuff, no src).
 Could you tell me how you keep your mirror in sync?
 
 TIA.

I apologize for the over-length lines. I don't like to break-up these
kinds of lines.

I use this script:

#Begin Script

#! /bin/sh
set -e

# This script originates from http://www.debian.org/mirror/anonftpsync

# Note: You MUST have rsync 2.0.16-1 or newer, which is available in slink
# and all newer Debian releases, or at http://rsync.samba.org/

# Set the variables below to fit your site. You can then use cron to have
# this script run daily to automatically update your copy of the archive.

# Don't forget:
# chmod 744 anonftpsync

# TO is the destination for the base of the Debian mirror directory
# (the dir that holds dists/ and ls-lR).

TO=/publish/debian

OPTIONS=--verbose --recursive --links --hard-links --times --compress 
--delete --delete-after

# RSYNC_HOST is the site you have chosen from the mirrors file.
# (http://www.debian.org/mirror/list-full)

RSYNC_HOST=ftp.us.debian.org

# RSYNC_DIR is the directory given in the Packages over rsync: line of
# the mirrors file for the site you have chosen to mirror.

RSYNC_DIR=debian/

# EXCLUDE is a list of parameters listing patterns that rsync will exclude.
# The following example would exclude mostly everything:
EXCLUDE=\
  --exclude binary-arm/ --exclude *_arm.deb --exclude *_arm.udeb --exclude 
disks-arm/ --exclude upgrade-arm/ --exclude *-arm.gz --exclude *arm*.nondebbin.* \
  --exclude binary-hurd-i386/ --exclude *_hurd-i386.deb --exclude 
*_hurd-i386.udeb --exclude disks-hurd-i386/ --exclude upgrade-hurd-i386/ --exclude 
*-hurd-i386.gz --exclude *hurd-i386*.nondebbin.* \
  --exclude binary-ia64/ --exclude *_ia64.deb --exclude *_ia64.udeb --exclude 
disks-ia64/ --exclude upgrade-ia64/ --exclude *-ia64.gz --exclude *ia64*.nondebbin.* \
  --exclude binary-m68k/ --exclude *_m68k.deb --exclude *_m68k.udeb --exclude 
disks-m68k/ --exclude upgrade-m68k/ --exclude *-m68k.gz --exclude *m68k*.nondebbin.* \
  --exclude binary-mips*/ --exclude *_mips*.deb --exclude *_mips*.udeb 
--exclude disks-mips*/ --exclude upgrade-mips*/ --exclude *-mips*.gz --exclude 
*mips*.nondebbin.* \
  --exclude binary-powerpc/ --exclude *_powerpc.deb --exclude *_powerpc.udeb 
--exclude disks-powerpc/ --exclude upgrade-powerpc/ --exclude *-powerpc.gz --exclude 
*powerpc*.nondebbin.* \
  --exclude binary-sh*/ --exclude *_sh*.deb --exclude *_sh*.udeb --exclude 
disks-sh*/ --exclude upgrade-sh*/ --exclude *-sh*.gz --exclude *sh*.nondebbin.* \
  --exclude binary-s390/ --exclude *_s390.deb --exclude *_s390.udeb --exclude 
disks-s390/ --exclude upgrade-s390/ --exclude *-s390.gz --exclude *s390*.nondebbin.* \
  

# With a blank EXCLUDE you will mirror the entire archive.
#EXCLUDE=

# There should be no need to edit anything below this point, unless there
# are problems.

#-#

# Note: on some non-Debian systems, hostname doesn't accept -f option.
# If that's the case on your system, make sure hostname prints the full
# hostname, and remove the -f option. If there's no hostname command,
# explicitly replace `hostname -f` with the hostname.
HOSTNAME=`hostname -f`

LOCK=${TO}/Archive-Update-in-Progress-${HOSTNAME}

# Get in the right directory and set the umask to be group writable
#
cd $TO
umask 002

# Check to see if another sync is in progress
if lockfile -! -l 43200 -r 0 $LOCK; then
  echo ${HOSTNAME} is unable to start rsync, lock file exists
  exit 1
fi
# Note: on some non-Debian systems, trap doesn't accept exit as signal
# specification. If that's the case on your system, try using 0.
trap rm -f $LOCK  /dev/null 21 exit

set +e
rsync $OPTIONS \
 --exclude Archive-Update-in-Progress-${HOSTNAME} \
 --exclude project/trace/${HOSTNAME} \
 $EXCLUDE \
 $RSYNC_HOST::$RSYNC_DIR $TO  rsync.log 21
date -u  ${TO}/project/trace/${HOSTNAME}

# Note: if you don't have savelog, use any other log rotation facility, or
# comment this out, the log will simply be overwritten each time.

Re: Obsessed with a clean system

2004-08-12 Thread Loki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Aug 2004, Kirk Strauser wrote:

 I cheated on my mirror: I installed a Squid server and pointed apt at that
 proxy.  That way, there's no penalty of downloading more packages than
 needed, but additional hosts benefit from the packages already downloaded
 by earlier hosts.

Well yeah, if you have infinite disk space to devote to your cache. :)

This isn't a mirror. I do this (well actually I have a squid server for
general use, but I point apt at it too), and it's handy when you're
updating several machines at once, particularly if they're on the same
version (which of course none of them are anymore; unstable/ppc,
unstable/i386 and testing/i386 - bah, well at least the non-arch-dependent
packages get shared between unstable/ppc and unstable/i386), but it's not
a mirror. A mirror stores all the files. Like how when you look in a
non-metaphorical mirror made of glass, it reflects all your face at once,
not just the part that somebody else has already looked at. :)

Also, things cycle out of the cache. They expire, or you run out of cache
space and Squid wisely deletes cache objects. It's good, but a mirror is
better.
- -- 
GnuPG public key available from
http://ca.geocities.com/redvision.geo/gnupg_key.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBHD0IMqUhaD+LmFcRAhuOAJwIr2wKdFW17oeC+GN15RZ0t9uQXQCfa+6Y
lyLNvj44fqE+uzKfJkqhyIE=
=lLol
-END PGP SIGNATURE-


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



Re: Obsessed with a clean system

2004-08-11 Thread Oliver Elphick
On Wed, 2004-08-11 at 04:04, Tong Sun wrote:
 Looking at the packages I installed, I know there
 would be lots of them that I will never use. E.g.,
 
 kscreensaver ktux xscreensaver kdewallpapers atlantik
 atlantikdesigner gnome-games gnome-games-data katomic
 kbackgammon kbattleship kblackbox kdegames
 kdegames-card-data kenolaba kfouleggs kgoldrunner
 khangman kjumpingcube klickety kmahjongg kmessedwords
 kolf konquest kpat ksirtet ksmiletris ksokoban
 kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
 lskat
 
 I don't want them, but I have to keep them. This to me
 is a huge list. 

You do not have to keep them.

 I used to remove all files in unwanted rpm packages in
 RH, leaving only empty shells in the system. Anybody
 has done similar things in Debian?

[EMAIL PROTECTED] sudo apt-get -u remove kbattleship
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  kbattleship kde kde-amusements kdegames
0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 963kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
[EMAIL PROTECTED] dpkg -L kde
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/kde
/usr/share/doc/kde/README.Debian
/usr/share/doc/kde/copyright
/usr/share/doc/kde/changelog.gz

[EMAIL PROTECTED] dpkg -L kde-amusements
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/kde-amusements
/usr/share/doc/kde-amusements/README.Debian
/usr/share/doc/kde-amusements/copyright
/usr/share/doc/kde-amusements/changelog.gz

[EMAIL PROTECTED] dpkg -L kdegames
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/kdegames
/usr/share/doc/kdegames/AUTHORS
/usr/share/doc/kdegames/README
/usr/share/doc/kdegames/copyright
/usr/share/doc/kdegames/changelog.gz
/usr/share/doc/kdegames/changelog.Debian.gz

So you see that those three reverse dependencies are actually dummy
packages.  Their only purpose is to cause other packages to be
installed.

You can safely allow them to be removed, so far as the current operation
of your system is concerned.  It might in the future lead to some
hiccups; for example, if a new and necessary dependency were to be added
to kde, you would miss it.  Arguably, that would be added at the wrong
level, though.

-- 
Oliver Elphick  [EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
 Be still before the LORD and wait patiently for him;
  do not fret when men succeed in their ways, when they
  carry out their wicked schemes. 
Psalms 37:7 


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



Re: Obsessed with a clean system

2004-08-11 Thread Jon Dowland
On Wed, 11 Aug 2004 07:58:45 +0100, Oliver Elphick [EMAIL PROTECTED] wrote:
 It might in the future lead to some
 hiccups; for example, if a new and necessary dependency were to be added
 to kde, you would miss it.  Arguably, that would be added at the wrong
 level, though.

Yes I think it would - each package should describe what packages it
depends as a Depends: and failure to do so is imho a bug.

Most dependency-bugs I encounter in sid are in the KDE packages.

-- 
Jon Dowland
[EMAIL PROTECTED]


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



Re: Obsessed with a clean system

2004-08-11 Thread Micha Feigin
On Tue, Aug 10, 2004 at 09:16:19PM -0700, William Ballard wrote:
 On Tue, Aug 10, 2004 at 10:27:58PM -0500, matt zagrabelny wrote:
  On Tue, 2004-08-10 at 22:04, Tong Sun wrote:
   try the 4th time.
   
   Date:  Tue, 10 Aug 2004 14:56:21 -0700 (PDT)
   Subject:  Obsessed with a clean system
   To:   [EMAIL PROTECTED]
   
   Hi, 
   
   Anybody here is as obsessed as I am for a clean
   system? 
   
   Looking at the packages I installed, I know there
   would be lots of them that I will never use. E.g.,
   
   kscreensaver ktux xscreensaver kdewallpapers atlantik
   atlantikdesigner gnome-games gnome-games-data katomic
   kbackgammon kbattleship kblackbox kdegames
   kdegames-card-data kenolaba kfouleggs kgoldrunner
   khangman kjumpingcube klickety kmahjongg kmessedwords
   kolf konquest kpat ksirtet ksmiletris ksokoban
   kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
   lskat
 

Sounds like you installed the gnome and kde dependency packages instead
of just the packages you wanted, although gnome and kde do tend to
bring way too much in with them, both installation wise and extra
setting processes overhead. One of the reasons I use fvwm and rxvt, no
kde packages and very few gnome ones I couldn't live without.

 I had this problem at first.  I fixed large amounts of it by:
 (1) use x-window-system-core  twm instead of x-window-system
 (2) use kcontrol instead of kde
 (3) use gnome-control-center instead of gnome
 
 Use apt-get to install (1) and aptitude to install (2) and (3).
 Aptitude will bring in enough of the rest of KDE/Gnome to run just about 
 everything: if kcontrol/gnome-control-center can run and the powerset of 
 its recommends is installed, everything will run and extra cruft won't 
 be brought in.
 
 When you install other things, in general use aptitude install because 
 you usually also want to the recommends; but sometimes to be spare just 
 use apt-get install, to only get the minimal dependencies.  I've
 found 

You can always configure aptitude not to install recommends. Run
aptitude with no options to get the ncurses interface, press f10 for
menu, then options and dependency handling.

BTW, AFAIK recent aptitude allows you to chose a program for
installation, and then when you review packages to install you can dump
the recommends without aptitude forcing them down your thought. Or you
can also press enter on the package name and see the list of
recommends, depends, suggests and which packages depend on any given
package and play around with that.

 that for the core dev tools I usually want all the recommends but for 
 some of the more exotic dev tools I only want the depends.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 


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



Re: Obsessed with a clean system

2004-08-11 Thread Kirk Strauser
On Tuesday 10 August 2004 22:04, Tong Sun wrote:

 Anybody here is as obsessed as I am for a clean system?

No.  Drives are cheap, but my time is not.  I have a ridiculous number of 
packages installed (because Debian makes it cheap to experiment and I don't 
get too worked up about removing the ones I don't use often), and the total 
size of my system (excluding /home, but including /usr/src and all of the 
kernel tarballs extracted in there) is 5.2 GB.

That's roughly 5% of the size of a hard drive that I can buy for $60 at the 
local office supply store, or $3 worth of space.  Even if I could cut that 
in half, I'd be saving about $1.50 worth of space at a cost of hundreds of 
dollars of time.

I used to be obsessed with clean drives before I upgraded the 120MB Connor 
in my Amiga.  Since then, I haven't spent much time worrying about it.
-- 
Kirk Strauser


pgpVZioTZJlpA.pgp
Description: signature


Re: Obsessed with a clean system

2004-08-11 Thread William Ballard
On Wed, Aug 11, 2004 at 10:28:24AM -0500, Kirk Strauser wrote:
 On Tuesday 10 August 2004 22:04, Tong Sun wrote:
 
  Anybody here is as obsessed as I am for a clean system?
 
 No.  Drives are cheap, but my time is not.  I have a ridiculous number of 
 packages installed (because Debian makes it cheap to experiment and I don't 
 get too worked up about removing the ones I don't use often), and the total 
 size of my system (excluding /home, but including /usr/src and all of the 
 kernel tarballs extracted in there) is 5.2 GB.
 
 That's roughly 5% of the size of a hard drive that I can buy for $60 at the 
 local office supply store, or $3 worth of space.  Even if I could cut that 
 in half, I'd be saving about $1.50 worth of space at a cost of hundreds of 
 dollars of time.
 
 I used to be obsessed with clean drives before I upgraded the 120MB Connor 
 in my Amiga.  Since then, I haven't spent much time worrying about it.

But keeping it clean primarily saves time.  Nobody cares about disk 
space.  Why download upgrades to all those packages you never need?  
Why fight broken upgrades on things?

Unless you run stable, I guess, and don't upgrade much.


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



Re: Obsessed with a clean system

2004-08-11 Thread Kirk Strauser
On Wednesday 11 August 2004 10:33, William Ballard wrote:

 But keeping it clean primarily saves time.  Nobody cares about disk
 space.  Why download upgrades to all those packages you never need?
 Why fight broken upgrades on things?

The OP did - he was deleting the contents of packages but leaving them in 
the package database.

If there were unused packages that were causing problems, then, sure, I'd 
delete them.  That hasn't been a problem for me, though.
-- 
Kirk Strauser


pgpkA9AI3w1ca.pgp
Description: signature


Re: Obsessed with a clean system

2004-08-11 Thread Micha Feigin
On Wed, Aug 11, 2004 at 08:33:49AM -0700, William Ballard wrote:
 On Wed, Aug 11, 2004 at 10:28:24AM -0500, Kirk Strauser wrote:
  On Tuesday 10 August 2004 22:04, Tong Sun wrote:
  
   Anybody here is as obsessed as I am for a clean system?
  
  No.  Drives are cheap, but my time is not.  I have a ridiculous number of 
  packages installed (because Debian makes it cheap to experiment and I don't 
  get too worked up about removing the ones I don't use often), and the total 
  size of my system (excluding /home, but including /usr/src and all of the 
  kernel tarballs extracted in there) is 5.2 GB.
  
  That's roughly 5% of the size of a hard drive that I can buy for $60 at the 
  local office supply store, or $3 worth of space.  Even if I could cut that 
  in half, I'd be saving about $1.50 worth of space at a cost of hundreds of 
  dollars of time.
  
  I used to be obsessed with clean drives before I upgraded the 120MB Connor 
  in my Amiga.  Since then, I haven't spent much time worrying about it.
 
 But keeping it clean primarily saves time.  Nobody cares about disk 
 space.  Why download upgrades to all those packages you never need?  
 Why fight broken upgrades on things?
 

What I usually do is that when I look over the packages that are going
to be upgraded (I use the ncurses interface to aptitude) I either
remove packages I no longer need or mark those I am not sure about as
auto.

 Unless you run stable, I guess, and don't upgrade much.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 


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



Re: Obsessed with a clean system

2004-08-11 Thread Magnus Therning
On Thu, Aug 12, 2004 at 12:32:12AM +0300, Micha Feigin wrote:
On Wed, Aug 11, 2004 at 08:33:49AM -0700, William Ballard wrote:
On Wed, Aug 11, 2004 at 10:28:24AM -0500, Kirk Strauser wrote:
On Tuesday 10 August 2004 22:04, Tong Sun wrote:

 Anybody here is as obsessed as I am for a clean system?

No.  Drives are cheap, but my time is not.  I have a ridiculous
number of packages installed (because Debian makes it cheap to
experiment and I don't get too worked up about removing the ones I
don't use often), and the total size of my system (excluding /home,
but including /usr/src and all of the kernel tarballs extracted in
there) is 5.2 GB.

That's roughly 5% of the size of a hard drive that I can buy for $60
at the local office supply store, or $3 worth of space.  Even if I
could cut that in half, I'd be saving about $1.50 worth of space at a
cost of hundreds of dollars of time.

I used to be obsessed with clean drives before I upgraded the 120MB
Connor in my Amiga.  Since then, I haven't spent much time worrying
about it.

But keeping it clean primarily saves time.  Nobody cares about disk
space.  Why download upgrades to all those packages you never need?
Why fight broken upgrades on things?

What I usually do is that when I look over the packages that are going
to be upgraded (I use the ncurses interface to aptitude) I either
remove packages I no longer need or mark those I am not sure about as
auto.

I make use of debfoster to keep my system clean.

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
http://magnus.therning.org/

Si hoc legere scis nimium eruditionis habes.
(If you can read this you are to highly educated.)


signature.asc
Description: Digital signature


Re: Obsessed with a clean system

2004-08-11 Thread Greg Folkert
On Wed, 2004-08-11 at 11:33, William Ballard wrote:
 On Wed, Aug 11, 2004 at 10:28:24AM -0500, Kirk Strauser wrote:
  On Tuesday 10 August 2004 22:04, Tong Sun wrote:
  
   Anybody here is as obsessed as I am for a clean system?
  
  No.  Drives are cheap, but my time is not.  I have a ridiculous number of 
  packages installed (because Debian makes it cheap to experiment and I don't 
  get too worked up about removing the ones I don't use often), and the total 
  size of my system (excluding /home, but including /usr/src and all of the 
  kernel tarballs extracted in there) is 5.2 GB.
  
  That's roughly 5% of the size of a hard drive that I can buy for $60 at the 
  local office supply store, or $3 worth of space.  Even if I could cut that 
  in half, I'd be saving about $1.50 worth of space at a cost of hundreds of 
  dollars of time.
  
  I used to be obsessed with clean drives before I upgraded the 120MB Connor 
  in my Amiga.  Since then, I haven't spent much time worrying about it.
 
 But keeping it clean primarily saves time.  Nobody cares about disk 
 space.  Why download upgrades to all those packages you never need?  
 Why fight broken upgrades on things?
 
 Unless you run stable, I guess, and don't upgrade much.

Doesn't matter to me... I have a local mirror for the 4 archs I use.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part


Obsessed with a clean system

2004-08-10 Thread Tong Sun
try the 4th time.

Date:Tue, 10 Aug 2004 14:56:21 -0700 (PDT)
Subject:Obsessed with a clean system
To: [EMAIL PROTECTED]

Hi, 

Anybody here is as obsessed as I am for a clean
system? 

Looking at the packages I installed, I know there
would be lots of them that I will never use. E.g.,

kscreensaver ktux xscreensaver kdewallpapers atlantik
atlantikdesigner gnome-games gnome-games-data katomic
kbackgammon kbattleship kblackbox kdegames
kdegames-card-data kenolaba kfouleggs kgoldrunner
khangman kjumpingcube klickety kmahjongg kmessedwords
kolf konquest kpat ksirtet ksmiletris ksokoban
kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
lskat

I don't want them, but I have to keep them. This to me
is a huge list. 

I used to remove all files in unwanted rpm packages in
RH, leaving only empty shells in the system. Anybody
has done similar things in Debian?

Thanks






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: Obsessed with a clean system

2004-08-10 Thread matt zagrabelny
On Tue, 2004-08-10 at 22:04, Tong Sun wrote:
 try the 4th time.
 
 Date:  Tue, 10 Aug 2004 14:56:21 -0700 (PDT)
 Subject:  Obsessed with a clean system
 To:   [EMAIL PROTECTED]
 
 Hi, 
 
 Anybody here is as obsessed as I am for a clean
 system? 
 
 Looking at the packages I installed, I know there
 would be lots of them that I will never use. E.g.,
 
 kscreensaver ktux xscreensaver kdewallpapers atlantik
 atlantikdesigner gnome-games gnome-games-data katomic
 kbackgammon kbattleship kblackbox kdegames
 kdegames-card-data kenolaba kfouleggs kgoldrunner
 khangman kjumpingcube klickety kmahjongg kmessedwords
 kolf konquest kpat ksirtet ksmiletris ksokoban
 kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
 lskat
 
 I don't want them, but I have to keep them. This to me
 is a huge list. 
 
 I used to remove all files in unwanted rpm packages in
 RH, leaving only empty shells in the system. Anybody
 has done similar things in Debian?
 

are you sure you *need* them?

if you want to get rid of the packages, you could use dpkg
--force-dependency package-name if there is some other packages that
want to keep those listed above around. dpkg has all sorts of different
options you can force, see man dpkg.

-matt


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



Re: Obsessed with a clean system

2004-08-10 Thread Jacob S.
On Tue, 10 Aug 2004 22:27:58 -0500
matt zagrabelny [EMAIL PROTECTED] wrote:

 On Tue, 2004-08-10 at 22:04, Tong Sun wrote:
  
  Anybody here is as obsessed as I am for a clean
  system? 
  
  Looking at the packages I installed, I know there
  would be lots of them that I will never use. E.g.,
  
  kscreensaver ktux xscreensaver kdewallpapers atlantik
  atlantikdesigner gnome-games gnome-games-data katomic
  kbackgammon kbattleship kblackbox kdegames
  kdegames-card-data kenolaba kfouleggs kgoldrunner
  khangman kjumpingcube klickety kmahjongg kmessedwords
  kolf konquest kpat ksirtet ksmiletris ksokoban
  kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
  lskat
  
  I don't want them, but I have to keep them. This to me
  is a huge list. 
  
  I used to remove all files in unwanted rpm packages in
  RH, leaving only empty shells in the system. Anybody
  has done similar things in Debian?
  
 
 are you sure you *need* them?
 
 if you want to get rid of the packages, you could use dpkg
 --force-dependency package-name if there is some other packages
 that want to keep those listed above around. dpkg has all sorts of
 different options you can force, see man dpkg.

dpkg --force-dependency --remove-essential libc6 is an especially fun
one to use to get rid of clutter. :-)

Seriously though, be careful forcing the removal of *anything* unless
you're sure you know what depends on it. (Not that Matt was suggesting
otherwise. Just the voice of experience talking. :-)

Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #46:
Your mouse has moved. Windows must be restarted before the changes will
take effect. Reboot now? [OK]


pgpSkZ4sDaeNB.pgp
Description: PGP signature


Re: Obsessed with a clean system

2004-08-10 Thread Alexander Schmehl
* Tong Sun [EMAIL PROTECTED] [040811 05:04]:

 Looking at the packages I installed, I know there
 would be lots of them that I will never use. E.g.,
[..]
 I don't want them, but I have to keep them. This to me
 is a huge list. 

Why do you have to keep them?


Yours sincerely,
  Alexander


signature.asc
Description: Digital signature


Re: Obsessed with a clean system

2004-08-10 Thread William Ballard
On Tue, Aug 10, 2004 at 10:27:58PM -0500, matt zagrabelny wrote:
 On Tue, 2004-08-10 at 22:04, Tong Sun wrote:
  try the 4th time.
  
  Date:Tue, 10 Aug 2004 14:56:21 -0700 (PDT)
  Subject:Obsessed with a clean system
  To: [EMAIL PROTECTED]
  
  Hi, 
  
  Anybody here is as obsessed as I am for a clean
  system? 
  
  Looking at the packages I installed, I know there
  would be lots of them that I will never use. E.g.,
  
  kscreensaver ktux xscreensaver kdewallpapers atlantik
  atlantikdesigner gnome-games gnome-games-data katomic
  kbackgammon kbattleship kblackbox kdegames
  kdegames-card-data kenolaba kfouleggs kgoldrunner
  khangman kjumpingcube klickety kmahjongg kmessedwords
  kolf konquest kpat ksirtet ksmiletris ksokoban
  kspaceduel libgdkcardimage0 libkdegames1 libkpathsea3
  lskat

I had this problem at first.  I fixed large amounts of it by:
(1) use x-window-system-core  twm instead of x-window-system
(2) use kcontrol instead of kde
(3) use gnome-control-center instead of gnome

Use apt-get to install (1) and aptitude to install (2) and (3).
Aptitude will bring in enough of the rest of KDE/Gnome to run just about 
everything: if kcontrol/gnome-control-center can run and the powerset of 
its recommends is installed, everything will run and extra cruft won't 
be brought in.

When you install other things, in general use aptitude install because 
you usually also want to the recommends; but sometimes to be spare just 
use apt-get install, to only get the minimal dependencies.  I've found 
that for the core dev tools I usually want all the recommends but for 
some of the more exotic dev tools I only want the depends.


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



Re: Obsessed with a clean system

2004-08-10 Thread Jim McCloskey
Tong Sun [EMAIL PROTECTED] wrote:

| Anybody here is as obsessed as I am for a clean
| system? 
|
| Looking at the packages I installed, I know there
| would be lots of them that I will never use. E.g.,

Two of the most useful Debian tools in this regard are `deborphan' and
`debfoster' (both independent packages).

Deborphan scans your system for libraries that are not used by any
installed package. Use `dpkg --purge' to remove those libraries, and
then re-run (the removal of one library will often result in another
being orphaned).

Deborphan only removes libraries; the purpose of `debfoster' is to:

   `weed unnecessary Debian packages'

(from the man page). It's a more powerful tool than can be described
here, but basically, it tells you what package is keeping what other
packages installed and provides you with a good basis for the wise use
of `dpkg --purge' or `apt-get remove'.

One of the reasons that I really like Debian is that it lets me easily
indulge my obsession for having a clean system.

Jim



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



Re: Obsessed with a clean system

2004-08-10 Thread Cameron Hutchison
Once upon a time Jim McCloskey said...
 Tong Sun [EMAIL PROTECTED] wrote:
 
 | Anybody here is as obsessed as I am for a clean
 | system? 
 |
 | Looking at the packages I installed, I know there
 | would be lots of them that I will never use. E.g.,
 
 Two of the most useful Debian tools in this regard are `deborphan' and
 `debfoster' (both independent packages).

I used to use these tools, but now just use aptitude.

aptitude has a command line interface very similar to apt-get, and this
is how I use it most of the time. What aptitude has over apt-get is that
it remembers what it has automatically installed to satisfy
dependencies, so when an automatically installed package is no longer
needed when the last package depending on it is removed, aptitude will
remove that too.

When moving to aptitude, I found the best thing to do was to run the
curses interface and mark all installed packages as automatically
installed, and then go through the list unmarking packages that I want.
At the end of this, you'll end up with a bunch of packages that aptitude
wants to remove - these are the no longer needed packages.

 One of the reasons that I really like Debian is that it lets me easily
 indulge my obsession for having a clean system.

This method lets me keep a nice clean system at all times, not just when
you run debfoster or deborphan.

Every now and then I run the aptitude curses interface and filter out
all automatically installed packages to see what I have requested to be
installed. I go over this list and get rid of anything I no longer want.
Often I'll install packages to see what they're like and forget to
remove them afterwards - or I'll stop using some package.

My cruft percentage is really low these days.


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