Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: things to do

  1. #1
    Join Date
    Sep 2007
    Beans
    1,059

    things to do

    I am looking for a list of things that should be done to fix and cleanup a system. Here is my existing list but I suspect it really needs updating.
    sudo apt update ##syncs the data bases between your system and your mirror site
    sudo apt upgrade ## updates installed software to what is current on your mirror
    sudo apt -f install ## looks and tries to 'fix' broken packages
    sudo dpkg -C ## runs an 'audit' of the package management system
    sudo apt autoremove
    apt --fix-broken install

    fsck - unmount drive before running (https://phoenixnap.com/kb/fsck-command-linux):
    sudo umount /dev/sdb Unmount drive
    sudo fsck -y /dev/sdb Fix Detected Errors Automatically with fsck
    sudo fsck -n /dev/sdb Skip Repair but Print fsck Errors in the Output
    sudo fsck /dev/sdb Run fsck to Check for Errors
    sudo fsck -f /dev/sdb Do a file system check
    sudo fsck -AR Run fsck on All Filesystems at Once (skipping root drive)
    sudo fsck -AR -t noext3 -y Skip fsck on a Specific Filesystem
    sudo fsck -M /dev/sdb Skip Fsck on Mounted Filesystems
    Memory: 7.5gb
    Processor: AMD Fx(tm)-6300 six-core processor x 6
    Graphics: Nvidia NV84 Resolution: 1920x1080 pixels
    OS: Ubuntu 21.04 Gnome: 3.38.5

  2. #2
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    851
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: things to do

    And the question is?

  3. #3
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,904
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    This isn't Windows. Unless you really have a specific problem then I'd dare say you don't need to run those commands.

    Don't try to "fix" something if it isn't even broken in the first place.

    The most "clean up" I ever do apart from making sure my patches are up do date is to move away or even to outright delete all the compressed old log files from /var/log: all the *.gz files there can begin to take quite some space on a very active system (e.g. a server that's being used by 100's of people daily). But other than that? Nope. No need.

  4. #4
    Join Date
    Apr 2021
    Beans
    198
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    I don't know scorp123, I think clean the stuffings out of it. And that's why I like Bleachbit because of its likeness to Crap Cleaner (CC cleaner?), it goes way beyond autoremove/autoclean (which is included).

    sudo apt install bleachbit

  5. #5
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,904
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    Quote Originally Posted by dddman View Post
    I think clean the stuffings out of it.
    Such as??

    Quote Originally Posted by dddman View Post
    sudo apt install bleachbit
    This software doesn't do anything I can't do myself. But I can see the appeal for new users.
    Last edited by scorp123; June 27th, 2021 at 10:59 PM.

  6. #6
    Join Date
    Apr 2021
    Beans
    198
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    Quote Originally Posted by scorp123 View Post
    Such as?? This software doesn't do anything I can't do myself.
    It's all bundled in one convenient package.
    https://www.bleachbit.org/features

  7. #7
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,639
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    With bleachbit you have to be careful, every time I have used it it always removes needed files and I have seen many threads about this same issue over the years, I personally do not recommend using it, of course I have not used it in a long time but at least use caution.

  8. #8
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    Stacer (GUI) is also useful.

    https://oguzhaninan.github.io/Stacer-Web/

  9. #9
    Join Date
    Apr 2021
    Beans
    198
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    Quote Originally Posted by wildmanne39 View Post
    With bleachbit you have to be careful, every time I have used it it always removes needed files and I have seen many threads about this same issue over the years, I personally do not recommend using it, of course I have not used it in a long time but at least use caution.
    Didn't know that. Haven't had any problems, maybe it's the first setup that's gets people.

  10. #10
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,904
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: things to do

    Quote Originally Posted by wildmanne39 View Post
    With bleachbit you have to be careful, every time I have used it it always removes needed files and I have seen many threads about this same issue over the years, I personally do not recommend using it, of course I have not used it in a long time but at least use caution.
    That's my experience with such tools too, they sometimes end up removing too much. So I very much prefer dealing with any issues myself. And only if and when the need arises. Don't fix stuff if it isn't broken.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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