You are not logged in.

#1 2018-01-04 04:47:51

Barkester
Member
Registered: 2017-07-01
Posts: 28

[SOLVED] Unable to update. sda1 full? Says so. How to clean it

Pacman is saying that my sda1 of about 20 gigs is full and df agrees. Pacman says it can't update.

https://paste.pound-python.org/show/6uu … Pel2F1NB6/

So I df : https://paste.pound-python.org/show/wlI … H1Pd9cPj5/

At 20 gigs, its hard to imagine its really full. Bleachbits always been a good cleaner and I can't figure why it should be over 10 gigs and even that would be too much. Something is making garbage.

Seen viruses like this on Windows, but this would be a first I ever saw for LInux. Seems unlikely, but I'm cluelessand not terribly careful.

Couple other oddities that may (or not) be clues. The biggest thing I've installed is Libreoffice just yesterday for a project. Today pacman can't find it, but "which" has no such problem and libre works fine. Bizarre. A pacman problem?

error: target not found: libreoffice

Can't hava computer that doesn't update so may havta do the fresh install, Not all bad. Been covetting a dual-boot system and keep a portable so no big losses. Inconvenient right now though. Rather find out I was too stupid to clean it right and all I havta do is...().

Anybody got a fixer to help forestall my next reinstall? Or is a clean install a good idea?

Thnx.

Last edited by Barkester (2018-01-04 08:55:05)

Offline

#2 2018-01-04 04:51:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

Clear your package cache and then install ncdu. And don't post screenshots of text, paste the actual text.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-01-04 05:20:20

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

Barkester wrote:

error: target not found: libreoffice

There is no package called libreoffice. Check your pacman log. You installed either libreoffice-fresh or libreoffice-still

Offline

#4 2018-01-04 06:16:06

Barkester
Member
Registered: 2017-07-01
Posts: 28

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

Thanks for the tip. It was garbage that I had foolishly assumed to be taken care of by sudo bleachbit. Lesson learned Bleach doesn't know who pacman is.

Here's a year's worth of garbage easily found thanke to JW's tip to try ncdu. ls even with -sh is really hard to trace with, but a few minutes of messing with ncdu and I was able to follow it right up. 10 + gigs in /var/cashe/pacman/pkg/10gigsofgarbage. I'll make dumping that cache a part of my alias cleanup/backup doohickey. ncdu is great! Going in my favorites tools list.

Now fully updated and 10 gigs lighter. Feel like a new poster.

Thanks and call this solved.

Offline

#5 2018-01-04 06:36:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2018-01-04 12:02:02

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

Barkester wrote:

I'll make dumping that cache a part of my alias cleanup/backup doohickey.

Or just use a pacman hook so it gets taken care of automatically...

/etc/pacman.d/hooks/clean-pacman-cache.hook

[Trigger]
Operation = Remove
Operation = Install
Operation = Upgrade
Type = Package
Target = *

[Action]
Description = Cleaning pacman cache...
When = PostTransaction
Exec = /usr/bin/paccache -rqk2

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2018-01-04 14:20:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Unable to update. sda1 full? Says so. How to clean it

And please stop using bleachbit, especially as root. It can cause more problems than it solves.

Offline

Board footer

Powered by FluxBB