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

First usage question: Removing UDEV/EUDEV? #51

Open
vanfanel opened this issue Jan 6, 2022 · 4 comments
Open

First usage question: Removing UDEV/EUDEV? #51

vanfanel opened this issue Jan 6, 2022 · 4 comments

Comments

@vanfanel
Copy link

vanfanel commented Jan 6, 2022

Since this is a drop-in replacement for libudev/libeudev, should I purge libudev/libeudev before installing this on the system?

The problem is that Devuan seems to heavily depend on libeudev, and purging it will purge fudamental parts of the system too:

The following packages will be REMOVED:
  apt* apt-transport-https* apt-utils* d-shlibs* dmsetup* eudev* fuse* i2c-tools* init* initramfs-tools* initramfs-tools-core*
  libapt-pkg6.0* libdevmapper1.02.1* libeudev-dev* libeudev1* libfido2-1* libparted2* libpci3* libusb-1.0-0* mount* ntfs-3g*
  openssh-client* openssh-server* openssh-sftp-server* parted* pciutils* rpi-eeprom* rpi-eeprom-images* sysvinit-core* usbutils*
  util-linux*

So, any notes on how to proceed in this case?

@phkrl
Copy link

phkrl commented Jan 14, 2022

I guess you can build libudev-zero as deb package providing libeudev. This is how i made it work in Artix

@vanfanel
Copy link
Author

vanfanel commented Jan 14, 2022

@phkrl: That's a GREAT idea! Hadn't though about that possibility... I will take a look.

Do you have instructions for that? ie: building a package that provides another package...

@phkrl
Copy link

phkrl commented Jan 14, 2022

Do you have instructions for that? ie: building a package that provides another package...

It entirely depends on package building mechanism. I never built deb packages, for Artix (which uses Arch format) supplying provides=(...) in PKGBUILD is enough

@vincele
Copy link

vincele commented Jun 14, 2024

@vanfanel you may even want to add a conflicts to your provides, see:
https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#depends

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

3 participants