You are not logged in.

#1 2026-10-01 23:05:54

MarkW
Member
Registered: 2024-11-03
Posts: 599

Updates Keep Failing? [SOLVED]

Error while installing package: installed linux-image-6.12.111+deb13-amd64 package post-installation script subprocess returned error exit status 127

Not sure what's going on with that.

And I'm pretty sure I didn't do anything.

Last edited by MarkW (2026-10-03 20:44:08)

Offline

#2 2026-10-01 23:26:04

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

That's not a bug. It's a fairly common error message.

A lot of times it's because the /boot partition is running out of space. Do you install a lot of kernels?

In a terminal, what is the output of:

df -h /boot

Put that entire error message into your favorite search engine and browse the results. You may see something that applies to your system. Sometimes you just have to reconfigure dpkg.

Moderator Sidebar Note - Don't assume every error is a bug (this is twice I know of where you posted an error as a bug report); usually something (a package, configuration, hardware etc ...) is actually broken. Start an actual help thread for the issue. It will get more views, and someone may then spot it as an actual bug in the software. Applies to all users, not just you.


You must unlearn what you have learned.
    -- yoda

Offline

#3 2026-10-01 23:35:01

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

I don't install kernels as a rule

df -h /boot
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p2  944M  462M  418M  53% /boot

Offline

#4 2026-10-01 23:44:03

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

How many kernels do you have in /boot?

If there is only one, you may have a space problem. If there is more than one, delete the older ones with synaptic and try to update again.


You must unlearn what you have learned.
    -- yoda

Offline

#5 2026-10-01 23:53:38

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

My root partition has 5.7 GiBs of 30.6 GiBs free.  I have only one kernel installed.  I'm sure I chose LVM when I installed Carbon.  Maybe it doesn[t work how I thought it did

Offline

#6 2026-10-02 00:13:09

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

Your root partition has 5.7GiB free.

Your boot partition has 462M available - /dev/nvme0n1p2 is Mounted on /boot

In a terminal, run

lsblk

and

df -Th

post the results so we can see your disk layout and space.

LVM is to set up Logical Volume Management; did you create an LV during installation?


You must unlearn what you have learned.
    -- yoda

Offline

#7 2026-10-02 09:05:04

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

Output of df -Th

Filesystem                      Type      Size  Used Avail Use% Mounted on
udev                            devtmpfs  7.6G     0  7.6G   0% /dev
tmpfs                           tmpfs     1.6G  1.9M  1.6G   1% /run
efivarfs                        efivarfs  384K   96K  284K  26% /sys/firmware/efi/efivars
/dev/mapper/bunsenlabs--vg-root ext4       31G   24G  5.8G  81% /
tmpfs                           tmpfs     7.7G   99M  7.6G   2% /dev/shm
tmpfs                           tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs                           tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
tmpfs                           tmpfs     7.7G   13M  7.7G   1% /tmp
/dev/nvme0n1p2                  ext4      944M  611M  269M  70% /boot
/dev/mapper/bunsenlabs--vg-home ext4      421G   52G  348G  13% /home
/dev/nvme0n1p1                  vfat      975M  604M  371M  62% /boot/efi
tmpfs                           tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
tmpfs                           tmpfs     1.6G  124K  1.6G   1% /run/user/1000

Yes, I definitely installed BL with LVM

Offline

#8 2026-10-02 09:10:32

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

lsblk

NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1                   259:0    0 476.9G  0 disk
├─nvme0n1p1               259:1    0   976M  0 part /boot/efi
├─nvme0n1p2               259:2    0   977M  0 part /boot
└─nvme0n1p3               259:3    0   475G  0 part
  ├─bunsenlabs--vg-root   254:0    0  31.2G  0 lvm  /
  ├─bunsenlabs--vg-swap_1 254:1    0  15.8G  0 lvm  [SWAP]
  └─bunsenlabs--vg-home   254:2    0   428G  0 lvm  /hom

Offline

#9 2026-10-02 18:14:28

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

I've never done the Debian LVM installation; so I guess that partition scheme is correct.

This looks suspicious:

/dev/nvme0n1p1                  vfat      975M  604M  371M  62% /boot/efi

If there is only one kernel installed and it's taking up 62% of the space, you may not have space in /boot/efi partition for a kernel update. If there is more than one kernel installed, uninstall the older ones.

Exit code 127 can also refer to broken packages or an error in your $PATH. Open synaptic and see if it finds some broken packages or missing dependency.


You must unlearn what you have learned.
    -- yoda

Offline

#10 2026-10-02 19:51:04

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,492

Re: Updates Keep Failing? [SOLVED]

Moving this to "Basic Help & Support" as this (again) is not a bug.

As PackRat mentioned, not every "error" is a bug. Please research what the definition of a bug is.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#11 2026-10-03 00:09:30

hhh
Hercule Poirot
From: Belgium
Registered: 2015-09-17
Posts: 17,857
Website

Re: Updates Keep Failing? [SOLVED]

sudo apt purge --autoremove

Why why why why?!!???

Online

#12 2026-10-03 09:07:51

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

There's nothing showing under the Broken filter.   There's a lot of stuff in missing recommended packages.  There's nothing about missing dependencies

Offline

#13 2026-10-03 09:13:32

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

Output of dpkg --list | grep linux-image

ii  linux-image-6.12.100+deb13-amd64               6.12.100-1                           amd64        Linux 6.12 for 64-bit PCs (signed)
rF  linux-image-6.12.105+deb13-amd64               6.12.105-1                           amd64        Linux 6.12 for 64-bit PCs (signed)
ii  linux-image-6.12.107+deb13-amd64               6.12.107-1                           amd64        Linux 6.12 for 64-bit PCs (signed)
rF  linux-image-6.12.111+deb13-amd64               6.12.111-1                           amd64        Linux 6.12 for 64-bit PCs (signed)
ic  linux-image-amd64                              6.12.111-1                           amd64        Linux for 64-bit PCs (meta-package)

Offline

#14 2026-10-03 09:23:02

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

Out put of dpkg -l 'linux-image*' | grep '^ii'

iii  linux-image-6.12.100+deb13-amd64          6.12.100-1   amd64        Linux 6.12 for 64-bit PCs (signed)
ii  linux-image-6.12.107+deb13-amd64          6.12.107-1   amd64        Linux 6.12 for 64-bit PCs (signed)

Offline

#15 2026-10-03 09:30:25

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

Uninstsll all the older kernels.


You must unlearn what you have learned.
    -- yoda

Offline

#16 2026-10-03 15:10:46

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

Is there a way to force removal of the unneeded kernels?  Doing it through Synaptic isn't working

Offline

#17 2026-10-03 15:36:15

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

Found a typo in the grub file (a stray 0 on the first line before the #).  Removing it helped

Also, there are a lot of kernels available.  Should I stick with 6.12 or install the newest?

Offline

#18 2026-10-03 18:52:26

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

Stick with the kernel coming through with the upgrade.
Keep in mind that periodically removing older kernels is part of your system maintenance with this install.


You must unlearn what you have learned.
    -- yoda

Offline

#19 2026-10-03 19:14:39

MarkW
Member
Registered: 2024-11-03
Posts: 599

Re: Updates Keep Failing? [SOLVED]

I have 2 kernels installed now (107 and 111).  When I try to remove either of them it tells me not to.  Is that normal?

Offline

#20 2026-10-03 19:18:19

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,160

Re: Updates Keep Failing? [SOLVED]

MarkW wrote:

I have 2 kernels installed now (107 and 111).  When I try to remove either of them it tells me not to.  Is that normal?

I think so. I think Debian keeps two kernels on the systemby default. If the new one fails, you have a fallback so the system will boot.


You must unlearn what you have learned.
    -- yoda

Offline

Board footer

Powered by FluxBB