apt full-upgrade causes system lock-up

Bo Berglund bo.berglund at gmail.com
Fri Jun 3 15:06:36 UTC 2022


On Fri, 3 Jun 2022 15:23:22 +0100, Colin Law <clanlaw at gmail.com> wrote:

>On Fri, 3 Jun 2022 at 14:57, Bo Berglund <bo.berglund at gmail.com> wrote:
>>
>> On Fri, 3 Jun 2022 12:12:45 +0100, Colin Law <clanlaw at gmail.com> wrote:
>>
>> >On Fri, 3 Jun 2022 at 11:40, Liam Proven <lproven at gmail.com> wrote:
>> >>
>> >> Bo, do you schedule `trim` on your SSDs? If not, you should.
>> >
>> >I believe it is scheduled weekly by default on standard Ubuntu at
>> >least.  This command should confirm that:
>> >systemctl status fstrim.timer
>> >
>> >Colin
>>
>> $ systemctl status fstrim.timer
>> ? fstrim.timer - Discard unused blocks once a week
>>      Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset:
>> enabled)
>>      Active: active (waiting) since Thu 2022-06-02 07:37:07 CEST; 1 day 8h ago
>>     Trigger: Mon 2022-06-06 00:00:00 CEST; 2 days left
>>    Triggers: ? fstrim.service
>>        Docs: man:fstrim
>>
>> Jun 02 07:37:07 aspomint systemd[1]: Started Discard unused blocks once a week.
>>
>> Is this what it should look like?
>
>Yes
>
>> I have another drive connected to the system, a 2TB 2.5" HDD mechanical drive.
>
>What does this command show?
>df -xsquashfs
>
>The -xsquashfs stops it spamming the output with snap mounts.

Here is the output, unfortunately my news-reader wraps the text at 80 chars so
the formatting was a bit hard to see until I edited the output andf removed
tempfs lines and shortened whitespace...

$ df -xsquashfs
Filesystem                    1K-blocks       Used Available Use% Mounted on
udev                            8068468          0   8068468   0% /dev
/dev/nvme0n1p5                 24754404   10399680  13027620  45% /
/dev/nvme0n1p1                   523248          4    523244   1% /boot/efi
/dev/nvme0n1p6                 76830988   33592528  39289968  47% /home
/dev/sda1                    1953513468 1494870368 458643100  77% /mnt/auriga
//192.168.119.216/video       271380924  184301560  87079364  68% /mnt/smb
192.168.119.216:/media/video  271381504  170443776  87079936  67% /mnt/video

The last two lines are mounts from my main Ubuntu server on the home LAN, which
is linked via VPN on the router.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list