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

Ubuntu 22.04 - gdrcopy 2.3.1 dependency problem #262

Open
YoonGi-AWS opened this issue May 30, 2023 · 9 comments
Open

Ubuntu 22.04 - gdrcopy 2.3.1 dependency problem #262

YoonGi-AWS opened this issue May 30, 2023 · 9 comments
Assignees
Labels
Milestone

Comments

@YoonGi-AWS
Copy link

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?

@drossetti
Copy link
Member

@pakmarkthub can you take a look?

@pakmarkthub
Copy link
Collaborator

Hi @YoonGi-AWS,

Thank you for reporting this issue. The fix is under review.

@drossetti
Copy link
Member

@YoonGi-AWS is the bug fixed?

@wenduwan
Copy link

@pakmarkthub Hi do you plan to produce a new release with the fix?

@pakmarkthub
Copy link
Collaborator

@wenduwan We are working on the next release and will release it soon. For now, you can checkout the latest commit of branch R2.3.1.

@wenduwan
Copy link

@pakmarkthub Thank you! I verified that branch and it works for me on Ubuntu 20.04. Looking forward to the new release.

@wenduwan
Copy link

@pakmarkthub Double check this issue should be resolved with 2.4 release?

@pakmarkthub
Copy link
Collaborator

@wenduwan Yes, it should. Let us know if you still see the issue.

@wenduwan
Copy link

Thank you! I confirmed that it works on Ubuntu 22.04

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

No branches or pull requests

4 participants