Results 1 to 4 of 4

Thread: how to clean rpm's after installation/update & other ?

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    France
    Posts
    24

    Default how to clean rpm's after installation/update & other ?

    Hi,

    I got a feeling that the free space in my root catalogue / is getting progressively smaller and smaller. (System files + 4.5GB of applications take over 19GB.) I may hypothesize that this is due to many rpm's that stay on the disk after update...
    If I'm correct, what could be a solution to get rid of those files ?
    If there could be any other reason that suse11 system takes so much space ?

    Thanks

  2. #2
    ab@novell.com NNTP User

    Default Re: how to clean rpm's after installation/update & other ?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    RPMs used for updates shouldn't be kept around very long, and really
    shouldn't be that big in most cases. They will live somewhere in /var
    as I recall so check there for directories that are larger than they
    should be. Also ou can check used space by directory with the 'disk
    used' command (du):

    du -h /

    It will go through all of your directories and generally takea long
    time but it gives a summary of them all for you so if you redirect to a
    file it will give you a nice report of everything going on:

    du -h > ~/Desktop/diskusage-`date +%Y-%m-%d_%H:%M:%S`.txt

    That will create a file on your user's desktop with a summary of the
    filesystem. Keep in mind this command will run with permissions of your
    user and that won't get a complete report because your user cannot go in
    some parts of the filesystem. Run as 'root' for a full report but then
    you'll need to get the report off the 'root' uer's desktop, or modify
    the path to write somewhere you can read it like /tmp:

    du -h > /tmp/diskusage-`date +%Y-%m-%d_%H:%M:%S`.txt

    Good luck.





    ket nn wrote:
    > Hi,
    >
    > I got a feeling that the free space in my root catalogue / is getting
    > progressively smaller and smaller. (System files + 4.5GB of applications
    > take over 19GB.) I may hypothesize that this is due to many rpm's that
    > stay on the disk after update...
    > If I'm correct, what could be a solution to get rid of those files ?
    > If there could be any other reason that suse11 system takes so much
    > space ?
    >
    > Thanks
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFJMWAV3s42bA80+9kRAml+AJ9RHOCVGpIwtoKbq8F8ew31lg+dLgCgiSjh
    MHMeoxvbURjcY8x6hZVPqvM=
    =W1gY
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jul 2008
    Location
    France
    Posts
    24

    Default Re: how to clean rpm's after installation/update & other ?

    Thanks. Your post helped a bit.

    I found no problem with /var - 712 MB, why not. There is more that 6GB in /usr, and 1.5GB in /tmp...
    I found file "kcore" of 6GB in /proc defined as Program Crash Data. Do you think that I can delete it without bad consequences ?

  4. #4
    ab@novell.com NNTP User

    Default Re: how to clean rpm's after installation/update & other ?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    /proc is a virtual filesystem.... nothing in there really exists on the
    hard drive. Indeed I too have one of these around 4.8 GB and deleting
    it, if it works (doubtful) will probably do really bad things to you.
    Also, considering its size, I doubt its reported size is even correct.

    Good luck.





    ket nn wrote:
    > Thanks. Your post helped a bit.
    >
    > I found no problem with /var - 712 MB, why not. There is more that 6GB
    > in /usr, and 1.5GB in /tmp...
    > I found file "kcore" of 6GB in /proc defined as Program Crash Data. Do
    > you think that I can delete it without bad consequences ?
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFJMiE43s42bA80+9kRAixgAJwM5fCgu+qIWhtrIz/S6xOKKofaFQCfZaLa
    Lctn/hpr6VxpGCP+NfNtoUo=
    =k0pr
    -----END PGP SIGNATURE-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •