Feature changed by: Theo Wollenleben (Theowoll) Feature #310479, revision 7 Title: zypper: list download URLs openSUSE-11.4: Unconfirmed Priority Requester: Important Requested by: Theo Wollenleben (theowoll) Description: There should be an option for the zypper install (--dry-run), (list-) update, (list-)patch,.... commands, which makes zypper only list the download URLs instead of downloading and installing the packages. This would be very useful on machine with no (or slow) connection to the Internet. If the download URLs are known, the packages can be downloaded on another computer and transferred on a removable media to the offline computer (and imported into the directory /var/cache/zypp/packages, from where they can be installed with Zypper or Yast). (This is a copy of https://bugzilla.novell.com/show_bug.cgi?id=612020) Discussion: #1: Ján Kupec (jkupec) (2010-09-06 12:14:26) Zypper already has --download-only option. Seems like this could be even more handy for your case. Doing $ zypper --pkg-cache-dir /home/my/rpms install/up/dup/patch --download- only would fill your /home/my/rpms with the newly downloaded packages. --pkg- cache-dir will tell zypper to use an alternative directory for caching packages. #2: Theo Wollenleben (theowoll) (2010-09-16 02:23:52) (reply to #1) How does this help me to update an offline computer? (Is the --pkg- cache-dir option new? I couldn't find it in the man page for the zypper version of openSUSE 11.3.) Would the following idea work? Transfer /var/cache/zypp/solv from the offline computer to /tmp/solv on the online computer, then do $ zypper --cache-dir /tmp/solv install/up/dup/patch --download-only on the online computer. Transfer the downloaded RPMs from the online computer) to /var/cache/zypp/solv on the offline computer and install the packages with zypper or YaST. But this would be less handy than having an option to only list the download URLs. #3: Rémy Marquis (spyhawk) (2010-09-16 12:23:28) (reply to #2) There is no need to know the repository URL of each additional RPMs you want, is it? 1) Grab the online RPMs with --download-only option. 2) Put the RPMs on a plain dir directory on your offline computer 3) Add the plaindir repo to the package manager 4) Update See also /etc/zypp/zypp.conf for option. + #4: Theo Wollenleben (theowoll) (2010-09-16 16:04:03) (reply to #3) + This seems to make no sense. How should zypper on the online computer + know which version/architecture of the package to download from which + repository? What if there is no zypper on the online computer? (In this + case my idea described above wouldn't work either.) + The simplest would be an option as in the description of this feature + request. It doesn't seem to be difficult to implement and would help a + lot. -- openSUSE Feature: https://features.opensuse.org/310479