Though that symlink from the expected file name is pointing to /blobs/sha256/ which unless this is extracted at the root of a filesystem, will be a broken link.
This instead should be relative like ./rpm_dir/libutempter-1.1.6-16.fc30.src.rpm -> ../blobs/sha256/b7a2184993940e9834c0fc578b4dff11889a3bb20055bc78ecada1924325a789.
The only accounting here needs to be if we'll allow for nested directories, and that path may be more than just ../ prefixed.
currently:
Though that symlink from the expected file name is pointing to
/blobs/sha256/
which unless this is extracted at the root of a filesystem, will be a broken link.This instead should be relative like
./rpm_dir/libutempter-1.1.6-16.fc30.src.rpm -> ../blobs/sha256/b7a2184993940e9834c0fc578b4dff11889a3bb20055bc78ecada1924325a789
. The only accounting here needs to be if we'll allow for nested directories, and that path may be more than just../
prefixed.