Ubuntu 22.04 - gdrcopy 2.3.1 dependency problem

Open
#262 9 comments 0 reactions 1 assignee View on GitHub

@pakmarkthub is already working on this.

Since Jun 6, 2023.

Assessment

This issue has not been assessed yet.

Description

bug

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/gdrcopy

All issues in NVIDIA/gdrcopy

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.