On 3/22/20 4:49 PM, Onur GURSOY wrote: > In general, you are doing something for ubuntu for packaging ? > I can say, Most of ubuntu packages are fully compatible with debian > buster/sid or something like that version?
In practice, there is a fair amount of binary compatibility between Ubuntu and Debian. However, you really shouldn't use binary packages from one on the other. If you want Ubuntu packages, use Ubuntu; if you want Debian packages, use Debian. If you need a single package from the other, you should download the _source_ package (one place to find that is via https://packages.debian.org or https://packages.ubuntu.com) and rebuild that source package on your distribution. This would typically involve something like this: 1) tar zxf mypackage_1.2.3.orig.tar.gz 2) cd mypackage-1.2.3 3) tar --lzma -xf ../mypackage_1.2.3.debian.tar.xz 4) Optionally, edit debian/changelog (use the dch utility) 5) debuild -uc -us 6) If/when that fails, install the required dependencies and retry the build. "apt build-dep mypackage" can help if "mypackage" is already packaged in your distro. If the dependencies have changed, you may still need to install a few more packages separately. Where you'll run into trouble is if the package you're trying to build has newer dependencies than are available in your distro version. That has to be handled on a case-by-case basis. You may be able to weaken the dependency, or undo whatever change raised it, or you may have to backport the dependency. That last option can quickly turn into a mess if the dependency requires more upgraded dependencies; if you find that happening, just stop and upgrade your distro version instead. Good luck! -- Richard -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss