Errors when running `sudo apt-get upgrade`

I keep getting dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device errors.

When I run df I see the following:

/dev/zram1         49560    48536         0 100% /var/log

Is there any way to increase the size of zram1? I tried a few suggestions that I found online, but none of them worked.

Or is there a better fix for this issue?

Thanks!

I’ve been intermittently trying to solve this issue myself with no luck. I think it started happening after I updated the ubuntu kernel–did you happen to update yours?

Yes. That’s when it started for me too.

I changed my microsd card to a larger size the last time I upgraded from the image at Clockwork - haven’t had issues since then…

In what os image ?

normally this can be done by clean /var/log/dpkg.log

but to me ,it seems that the SD card stoage is not fully used

DevTerm A06 OS v0.2h

file name DEVTERM_AO6_V0.2h.img.bz2

I have the A06 processor varient… (good question and one we should always state…facepalm)

You might want to try this image, so far I’m having very good luck with it. I haven’t tried printing yet, but i did install the printer, haven’t verified the fan control yet, also haven’t verified gpu acceleration for the browser, but youtube seems to play OK.

Latest release was December 2022 and I’ve updated a couple times since loading it. I’m running the XFCE desktop version from the download page.

I occasionally get that error when doing big updates or install a lot of things. I fix it by cleaning the logs folder.

I was going to say, it might be something with the OS image, but it seems like several people already had that same idea.