#6361 usage of localPkg along with xml:base
Closed: Fixed None Opened 2 years ago by jsilhan.

Recently we've noticed that many users report DNF problems when package is downloaded
but then cannot be found in downloaded location [1]. We've investigated that the
root of the issue is inside localPkg(). From the doc string of the function:

Package's location in the filesystem.

For packages in remote repo returns where the package will be/has
been downloaded.

patch [2] of localPkg() broke package
installation from repositories that contain xml:base tag. As this
function was not intended to return a remote url of package and also is
not part of our API we plan to revert your patch.

DNF uses this function internally and should really represent DOWNLOADED location
on the filesystem.

Does koji use this DNF function directly? Of course we would like to keep the koji
running properly but we would like to fix the DNF installing issue [1] too. Let's
find the solution for both DNF and koji. Can you elaborate how do you use DNF along
with xml:base tag. please?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1257965
[2] http://pkgs.fedoraproject.org/cgit/rpms/dnf.git/commit/?id=85b88dbcae49712956c869dd27b09fdbf9fa5ec3


I suppose there will be no more answer than the comment 1 from ausil. So if you revert and together with your change make sure the use-case from bug 1245286#0 works.

This was fixed in dnf upstream.

Metadata Update from @jsilhan:
- Issue set to the milestone: Fedora 24 Alpha

2 years ago

Login to comment on this ticket.

Metadata