how to get url download of an installed package
Hi, I need of to get a url download of an installed package. But look:
root# dnf list --installed zsh
Installed packages
zsh.x86_64 5.4.1-2.fc27 @updates
root# rpm -q zsh
zsh-5.4.1-2.fc27.x86_64
root# dnf download --url zsh
https://ams.edge.kernel.org/fedora-buffet/fedora/linux/updates/27/x86_64/Packages/z/zsh-5.4.1-3.fc27.x86_64.rpm
root# dnf download --url zsh-5.4.1-2
Nessun pacchetto zsh-5.4.1-2 disponibile.
root# dnf download --url zsh-5.4.1-3
Nessun pacchetto zsh-5.4.1-3 disponibile.
Uscita a causa delle impostazioni restrittive.
Errore: Nessun pacchetto zsh-5.4.1-3 disponibile.
root# dnf download --url zsh-5.4.1-3.fc27
https://ams.edge.kernel.org/fedora-buffet/fedora/linux/updates/27/x86_64/Packages/z/zsh-5.4.1-3.fc27.x86_64.rpm
root# dnf download --url zsh-5.4.1-2.fc27
Nessun pacchetto zsh-5.4.1-2.fc27 disponibile.
Uscita a causa delle impostazioni restrittive.
Errore: Nessun pacchetto zsh-5.4.1-2.fc27 disponibile.
I just want the download URL of zsh-5.4.1-2 not the 5.4.1-1 and not 5.4.1-3