I have a URL which I want to install a package from. Typing
su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6' gives the error:
rpm.php?arch=amd64 7.7 MB/s | 82 MB 00:10 Can not load RPM file: /var/cache/dnf/commandline-37cfae1a80d6dc87/packages/rpm.php?arch=amd64. Could not open: /var/cache/dnf/commandline-37cfae1a80d6dc87/packages/rpm.php?arch=amd64 rpmhas native support to download packages from a URL so why can'tdnf?- Was it the download that failed or the installation? This part
7.7 MB/s | 82 MBseems to suggest that the download may have worked, if so where on the system can I find it?
Update:
Attempts
I tried escaping the & as suggested in the comments but I got exactly the same error again.
I tried using
rpm -ivh http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6instead but it downloaded the wrong version and produced these errors:Updating / installing... 1:geogebra5-5.0.481.0-630280 ################################# [100%] /var/tmp/rpm-tmp.bpatYN: line 1: /usr/local/bin/update-mime-database: No such file or directory error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable) error: /tmp/geogebra.sig.Q8fRVt: key 1 import failed.Then I uninstalled with
rpm -e geogebra5which produced this error:/var/tmp/rpm-tmp.7NnAnQ: line 1: /usr/local/bin/update-mime-database: No such file or directory
echo. I've not had adnf installfail before, from the output do you know if this command downloaded therpmpackage? I want to run the same command again by escaping & but I need to know I have have to delete/clean anything beforehand.