[SOLVED] Can't seem to build proxmox kernel pve-kernel-5.15.104-1.

Risu

Member
Nov 21, 2021
2
1
8
24
Hi!

Sorry if this is the wrong place to ask.
I'm having trouble building proxmox kernel 5.15.104-1.

While building it, the build process exits saying:
Code:
Fetching submodule submodules/ubuntu-kernel
fatal: remote error: upload-pack: not our ref f384010f9ee2a591f1e725fae5a4efbfbad864b3
Errors during submodule fetch:
    submodules/ubuntu-kernel
Error: Process completed with exit code 1.

To me it seems that git.proxmox.com does not have 5.15.104-1 in mirror_ubuntu-kernels (thus no such commit) and that is why it crashes?
So if I'm correct, is this just an oversight or perhaps something that will be pushed to the git repo later on?

I'm just seeking any info regarding why it is so. The build process itself has been working fine before this specific kernel version. :)

Have a wonderful day,
Risu - Happy user of proxmox <3
 
  • Like
Reactions: Kegelcizer
Hi,
yes, the mirror was not up-to-date, but it should be now.
 
  • Like
Reactions: Kegelcizer
Hi,

thank you very much for looking into this.
Building the kernel works now as expected!

Cheers,
Risu
 
Hello I have the same problem, only with debian 11, could you please tell me how to solve it?

Code:
apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@avi-test-si-core:/etc/apt# apt update && apt full-upgrade
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 pve-kernel-5.15 : Depends: pve-kernel-5.15.104-1-pve but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@avi-test-si-core:/etc/apt# uname --all
Linux avi-test-si-core 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
 
Hello I have the same problem, only with debian 11, could you please tell me how to solve it?

Code:
apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@avi-test-si-core:/etc/apt# apt update && apt full-upgrade
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 pve-kernel-5.15 : Depends: pve-kernel-5.15.104-1-pve but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@avi-test-si-core:/etc/apt# uname --all
Linux avi-test-si-core 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

This thread is about another problem.

Would suggest to open a new thread and provide the full output in code-tags each of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade

Code:
uname --all
Linux avi-test-si-core 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

You are running the default Debian kernel. This is the first point, which needs a closer look.
My guess, without further informations, would be, that you need to remove the: linux-image-amd64 metapackage: [1] and then do an apt full-upgrade again. If that succeeds without a problem, reboot the PVE-host, to (hopefully) boot with the proper PVE-kernel. (Otherwise provide the full output of: apt full-upgrade at that point again.)

But as said, better open a new thread for it...

[1] https://pve.proxmox.com/wiki/Upgrad...rade_wants_to_remove_package_.27proxmox-ve.27 (Other situation, but most likely same culprit.)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!