Ubuntu 22.04 - gdrcopy 2.3.1 dependency problem
@pakmarkthub is already working on this.
Since Jun 6, 2023.
Assessment
This issue has not been assessed yet.
Description
When I try to install gdrcopy 2.3.1 into Ubuntu 22.04(5.19.0-1025-aws), I faced dependency problem.
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrdrv-dkms_*_amd64.*.deb
Selecting previously unselected package gdrdrv-dkms:amd64.
(Reading database ... 100387 files and directories currently installed.)
Preparing to unpack gdrdrv-dkms_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrdrv-dkms:amd64 (2.3.1) ...
Setting up gdrdrv-dkms:amd64 (2.3.1) ...
Loading new gdrdrv-2.3.1 DKMS files...
Building for 5.19.0-1025-aws
Building for architecture x86_64
Building initial module for 5.19.0-1025-aws
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.
gdrdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.19.0-1025-aws/updates/dkms/
depmod...
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i libgdrapi_*_amd64.*.deb
Selecting previously unselected package libgdrapi:amd64.
(Reading database ... 100396 files and directories currently installed.)
Preparing to unpack libgdrapi_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking libgdrapi:amd64 (2.3.1) ...
Setting up libgdrapi:amd64 (2.3.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrcopy-tests_*_amd64.*.deb
Selecting previously unselected package gdrcopy-tests:amd64.
(Reading database ... 100404 files and directories currently installed.)
Preparing to unpack gdrcopy-tests_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrcopy-tests:amd64 (2.3.1) ...
Setting up gdrcopy-tests:amd64 (2.3.1) ...
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrcopy_*_amd64.*.deb
Selecting previously unselected package gdrcopy:amd64.
(Reading database ... 100412 files and directories currently installed.)
Preparing to unpack gdrcopy_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrcopy:amd64 (2.3.1) ...
dpkg: dependency problems prevent configuration of gdrcopy:amd64:
gdrcopy:amd64 depends on gdrdrv-dkms (= 2.3.1-1); however:
Version of gdrdrv-dkms:amd64 on system is 2.3.1.
gdrcopy:amd64 depends on libgdrapi (= 2.3.1-1); however:
Version of libgdrapi:amd64 on system is 2.3.1.
gdrcopy:amd64 depends on gdrcopy-tests (= 2.3.1-1); however:
Version of gdrcopy-tests:amd64 on system is 2.3.1.
dpkg: error processing package gdrcopy:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gdrcopy:amd64
It seems gdrcopy package depend on "2.3.1-1" of gdrdrv-dkms/libgdrapi/gdrcopy-tests but installed version is 2.3.1.
For the work around, If I change the build-dep-packages.sh file like below, it works.
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# diff build-deb-packages.sh.original build-deb-packages.sh
99,100c99
< FULL_VERSION="${VERSION}-${DEBIAN_VERSION}"
---
> FULL_VERSION="${VERSION}"
Could you check this issue?
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/gdrcopy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Proposal: honor `TMPDIR` in gdrcopy package build scriptsPossibly taken @efegokdemir claimed this 53 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Similar issues
-
SPIDevice selects an active-high device as soon as it is createdPossibly taken @mikeysklar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
adafruit/circuitpython#11869 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
gnif/LookingGlass#1352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bazel-contrib/rules_go#4784 · 1 comment ·
Maintainers usually reply within 1 day