Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install pve-qemu-kvm-build-deps #20

Open
vavasoul opened this issue Feb 18, 2024 · 5 comments
Open

Unable to install pve-qemu-kvm-build-deps #20

vavasoul opened this issue Feb 18, 2024 · 5 comments

Comments

@vavasoul
Copy link

Hello again i try to patch proxmox 8.1.4 with your patch for 8.1 qemu

have this problem:

root@pve1:~/pve-qemu# mk-build-deps --install
dpkg-buildpackage: info: source package pve-qemu-kvm-build-deps
dpkg-buildpackage: info: source version 8.1.2-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <[email protected]>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/pve-qemu-kvm-build-deps/
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'pve-qemu-kvm-build-deps' in '../pve-qemu-kvm-build-deps_8.1.2-6_all.deb'.
 dpkg-genbuildinfo --build=binary -O../pve-qemu-kvm-build-deps_8.1.2-6_amd64.buildinfo
 dpkg-genchanges --build=binary -O../pve-qemu-kvm-build-deps_8.1.2-6_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package pve-qemu-kvm-build-deps.
(Reading database ... 68223 files and directories currently installed.)
Preparing to unpack pve-qemu-kvm-build-deps_8.1.2-6_all.deb ...
Unpacking pve-qemu-kvm-build-deps (8.1.2-6) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) pve-qemu-kvm-build-deps:amd64 < 8.1.2-6 @iU K Nb Ib >
Broken pve-qemu-kvm-build-deps:amd64 Depends on librbd-dev:amd64 < none @un H > (>= 0.48)
  Considering librbd-dev:amd64 0 as a solution to pve-qemu-kvm-build-deps:amd64 -2
  Removing pve-qemu-kvm-build-deps:amd64 rather than change librbd-dev:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
  pve-qemu-kvm-build-deps
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 10.2 kB disk space will be freed.
N: Ignoring file 'pve-enterprise.list.deleted' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n]
(Reading database ... 68224 files and directories currently installed.)
Removing pve-qemu-kvm-build-deps (8.1.2-6) ...
mk-build-deps: Unable to install pve-qemu-kvm-build-deps at /usr/bin/mk-build-deps line 459.
mk-build-deps: Unable to install all build-dep packages

The line 459 is " Unable to install $pkg";"
```
);
if ($status ne 'installed' || ($? >> 8)) {
# Restore system to previous state, since $install_tool wasn't
# able to resolve a proper way to get the build-dep packages
# installed
warn "$progname: Unable to install $pkg";
$err = 1;
} elsif ($opt_remove) {
unlink $deb_files[$i];
unlink $buildinfo_files[$i];
unlink $changes_files[$i];

Please tell me how to solve this problem
@zhaodice
Copy link
Owner

My proxmox version is 8.0.2-3, I didn't try the other versions, because I have no reason to break my stable enviroment...

@vavasoul
Copy link
Author

i try your version now 8.0.2-3 , all repositiry dependens no mistakes all good.
i try mk-build-deps --install

Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.6-1) ...
mk-build-deps: Unable to install pve-qemu-kvm-build-deps at /usr/bin/mk-build-deps line 459.
mk-build-deps: Unable to install all build-dep packages

@vavasoul
Copy link
Author

but i have this files after bad try

-rw-r--r-- 1 root root 2680 Feb 20 20:21 pve-qemu-kvm-build-deps_8.0.2-3_all.deb
-rw-r--r-- 1 root root 4794 Feb 20 20:22 pve-qemu-kvm-build-deps_8.0.2-3_amd64.buildinfo
-rw-r--r-- 1 root root 1120 Feb 20 20:22 pve-qemu-kvm-build-deps_8.0.2-3_amd64.changes

@zhaodice
Copy link
Owner

zhaodice commented Feb 20, 2024

see https://askubuntu.com/questions/1333585/how-to-fix-mk-build-deps-unable-to-install-all-build-dep-packages ?
you can try 8.0.3
And, I recommend you start a proxmox LXC or VM to compile it , in case of dependents pollution
(just move the compiled qemu deb into the host and install)

@zhaodice
Copy link
Owner

zhaodice commented Feb 20, 2024

i try your version now 8.0.2-3 , all repositiry dependens no mistakes all good. i try mk-build-deps --install

Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.6-1) ...
mk-build-deps: Unable to install pve-qemu-kvm-build-deps at /usr/bin/mk-build-deps line 459.
mk-build-deps: Unable to install all build-dep packages

of course
you can install the release https://github.com/zhaodice/proxmox-ve-anti-detection/releases/tag/8.0.2
deb,install the patched proxmox's qemu, if you compile process is difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants