# Missing package: ldns-utils

**URL:** <https://forums.rockylinux.org/t/missing-package-ldns-utils/8865>\
**Category:** Rocky Linux Help & Support\
**Created:** [February 11, 2023, 4:19am UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865 "2023-02-11T04:19:37Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 11, 2023, 4:19am UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/1 "2023-02-11T04:19:37Z")

</div>

Wanted to install `ldns-utils` to get `drill`, but the package is not found when searching with dnf.

```auto
$ dnf se ldns*
# ...
ldns.i686 : Low-level DNS(SEC) library with API
ldns.x86_64 : Low-level DNS(SEC) library with API
ldns-devel.i686 : Development package that includes the ldns header files
ldns-devel.x86_64 : Development package that includes the ldns header files

```

Anyway, the [spec-file](https://git.rockylinux.org/staging/rpms/ldns/-/blob/r8/SPECS/ldns.spec) says that `drill` is in `ldns-utils`.

Any ideas?

· Eric

---

<div class="post-metadata">

**Author:** ![ganphx](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ganphx/32/2381_2.png) [@ganphx](https://forums.rockylinux.org/u/ganphx)\
**Post date:** [February 11, 2023, 2:00pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/2 "2023-02-11T14:00:51Z")

</div>

```auto
It's in the crb for rocky 9.x

(1017 / 19) [~]$: dnf list ldns*
Last metadata expiration check: 0:59:08 ago on Sat 11 Feb 2023 05:59:21 AM MST.
Installed Packages
ldns.x86_64 1.7.1-11.el9 @appstream
Available Packages
ldns.i686 1.7.1-11.el9 appstream
ldns-devel.x86_64 1.7.1-11.el9 crb
ldns-doc.noarch 1.7.1-11.el9 crb
ldns-utils.x86_64 1.7.1-11.el9 crb

```

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [February 11, 2023, 2:06pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/3 "2023-02-11T14:06:35Z")

</div>

Probably a better way for searching is to use [pkgs.org](http://pkgs.org) - since dnf will only generally provide results for repositories that are enabled. As above, it’s in crb (what used to be powertools in Rocky8), had this repo been enabled, it would have appeared in your search.

So if it doesn’t appear in a dnf search, using [pkgs.org](http://pkgs.org) will then show you what repository it belongs to, so that it can be enabled appropriately and then installed.

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 11, 2023, 7:33pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/4 "2023-02-11T19:33:36Z")

</div>

> [@ganphx](#):
>
> `It's in the crb for rocky 9.x`

Thanks. I forgot to mention I’m on rl8, but great to see that they’re all in rl9. (Have another computer that will get rl9).

&nbsp;

> [@iwalker](#):
>
> As above, it’s in crb (what used to be powertools in Rocky8), had this repo been enabled, it would have appeared in your search.

Thanks. Yes, powertools is enbabled - and `ldns-devel` is in it.

```auto
$ dnf repolist --enabled | grep power && dnf list ldns*
powertools Rocky Linux 8 - PowerTools
Last metadata // ... ...
Available Packages
ldns.i686 1.7.0-21.el8 appstream 
ldns.x86_64 1.7.0-21.el8 appstream 
ldns-devel.i686 1.7.0-21.el8 powertools
ldns-devel.x86_64 1.7.0-21.el8 powertools

```

So, both `ldns-{doc,utils}` seems to be missing.

Looks like there is a version, in a 3rd-party repo: [https://pkgs.org/search/?q=ldns-utils](https://pkgs.org/search/?q=ldns-utils) from the release before (1.7.0-20).

Maybe I’ll try to build it locally using the rl8 spec-file, or maybe use the one from rl9 to get a slightly newer version. Or, maybe it’s better to try to update to latest (1.8.3), update all the patches, etc. Last changelog in the spec is 2019, so maybe an update would be great anyway.

---

<div class="post-metadata">

**Author:** ![ganphx](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ganphx/32/2381_2.png) [@ganphx](https://forums.rockylinux.org/u/ganphx)\
**Post date:** [February 11, 2023, 9:06pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/5 "2023-02-11T21:06:49Z")

</div>

It is an CLOSED WONTFIX  
[https://bugzilla.redhat.com/show\_bug.cgi?id=2016029](https://bugzilla.redhat.com/show_bug.cgi?id=2016029)

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [February 11, 2023, 9:07pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/6 "2023-02-11T21:07:22Z")

</div>

Ah seems not available for Rocky8 weird as Rocky9 has it. But yeah it can be built easily enough with mock using a src rpm from Fedora perhaps.

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 11, 2023, 9:35pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/7 "2023-02-11T21:35:20Z")

</div>

Thanks! 👍 Well, that explains it - though the explaination the gave: _(“… ldns-utils was omitted because of the existing alternatives for most of the utilities in the package …”)_ wasn’t a good one. Sounds more like an excuse, than a reason IMO.

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 11, 2023, 10:07pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/8 "2023-02-11T22:07:32Z")

</div>

Yes, it is. I will prob do that, but first I want to try to upgrade to 1.8.3. I’ve fixed/updated/edited all the patches. Most of the patch-fixes are now already implemented - like all the stuff that was sent in from NLnets are already there. So, it’s down to one patch-file now, intead of 4.

It builds fine, but there’s an error about a file/folder that can’t be created. I’m guessing this is in the install/move the files section.

```auto
/usr/bin/install -p -m 644 packaging/libldns.pc /home/<user>/.rpm/rpmbuild/ldns/BUILDROOT/ldns-1.8.3-1.el8.x86_64/usr/lib64/pkgconfig/ldns.pc
/usr/bin/install: cannot create regular file '/home/<user>/.rpm/rpmbuild/ldns/BUILDROOT/ldns-1.8.3-1.el8.x86_64/usr/lib64/pkgconfig/ldns.pc': No such file or directory
make: *** [Makefile:400: install-pc] Error 1

```

The spec file have this line a bit down in the script:

```auto
# install pkg-config file
install -D -m644 packaging/libldns.pc %{buildroot}%{_libdir}/pkgconfig/ldns.pc

```

Not sure if that is happening before or after the error. Found this PR: [#123](https://github.com/NLnetLabs/ldns/pull/123), where they’ve both changed and reverted a change related that file. Maybe one could add something to that (Makefile.in) file instead, to make sure the folder is created first? (When it breaks, `/usr/lib64/` is in the BUILDROOT, but not `/usr/lib64/pkgconfig/`.)

If that’s the only problem it would be great to get a more recent version.

---

<div class="post-metadata">

**Author:** ![pajamian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pajamian/32/715_2.png) [@pajamian](https://forums.rockylinux.org/u/pajamian)\
**Post date:** [February 16, 2023, 6:53pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/9 "2023-02-16T18:53:54Z")

</div>

You can get it from koji:  
[https://kojidev.rockylinux.org/kojifiles/packages/ldns/1.7.0/21.el8/x86\_64/ldns-utils-1.7.0-21.el8.x86\_64.rpm](https://kojidev.rockylinux.org/kojifiles/packages/ldns/1.7.0/21.el8/x86_64/ldns-utils-1.7.0-21.el8.x86_64.rpm)

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 16, 2023, 9:34pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/10 "2023-02-16T21:34:04Z")

</div>

Thank you! 👍 I havn’t had time to sit with it for a few days, but I’ll try to finish that build first - at least see if I can get passed that error. But, that’s really good to now. I’ll head over there and download it in case… And also to see what other goodies are stored over there. 🙂

Is it a repo, or just a file directory? I know there’s a koji over @ Fedora. Didn’t know RL had one as well.

---

<div class="post-metadata">

**Author:** ![pajamian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pajamian/32/715_2.png) [@pajamian](https://forums.rockylinux.org/u/pajamian)\
**Post date:** [February 16, 2023, 11:14pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/11 "2023-02-16T23:14:01Z")

</div>

Koji is the build system that Rocky Linux uses for 8 (we use a different one for Rocky Linux 9). During the build process koji saves all the packages that are built, but in the case of ldns (and others) not all of the resulting binary packages are actually placed in repos. This is based on metadata provided by Red Hat. The “orphaned” packages are always kept in the koji system, though.

If you file a bug report at [https://bugs.rockylinux.org/](https://bugs.rockylinux.org/) then there’s a very good chance that ldns-utils can be included in a side repo in the future. If so can you please link the bug ticket here?

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 17, 2023, 3:14am UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/12 "2023-02-17T03:14:03Z")

</div>

> [@pajamian](#):
>
> The “orphaned” packages are always kept in the koji system, though.

Thanks. That’s good to know. 🤞

&nbsp;

> [@pajamian](#):
>
> If you file a bug report at [https://bugs.rockylinux.org/](https://bugs.rockylinux.org/) then there’s a very good chance that ldns-utils can be included in a side repo in the future. If so can you please link the bug ticket here?

Like a feat. reqeust? Yes, I guess I can do that later. Maybe the plus-repo could be good for those kind of orphaned packages _(as in: install ldns, “plus” the utils)_.

---

<div class="post-metadata">

**Author:** ![pajamian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/pajamian/32/715_2.png) [@pajamian](https://forums.rockylinux.org/u/pajamian)\
**Post date:** [February 17, 2023, 7:29am UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/13 "2023-02-17T07:29:28Z")

</div>

Usually these types of packages go in devel, but this one may be more appropriate in extras. At the end of the day they can determine which repo is best suited for it.

---

<div class="post-metadata">

**Author:** ![efdevse](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/efdevse/32/2616_2.png) [@efdevse](https://forums.rockylinux.org/u/efdevse)\
**Post date:** [February 17, 2023, 7:54pm UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/14 "2023-02-17T19:54:13Z")

</div>

Yes, that of course. Any repo would be fine.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:24am UTC](https://forums.rockylinux.org/t/missing-package-ldns-utils/8865/15 "2023-08-25T03:24:35Z")

</div>


