|
Bugzilla – Full Text Bug Listing |
| Summary: | Manpage error: location of downloaded files for zypper is wrong | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Peter Sütterlin <P.Suetterlin> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | CC: | alynx.zhou |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
This paragraph refers to `plain RPM files`: > Zypper is also able to install plain RPM files while trying to > satisfy their dependencies using packages from defined > repositories. You can install a plain RPM file by specifying > its location in the install command arguments either as a > local path or an URI. E.g.: > > $ zypper install ~/rpms/foo.rpm http://some.site/bar.rpm. > > ... > > Zypper will collect the files in a temporary plaindir > repository and mark the respective packages for > installation. If --download-only is used, the downloaded > packages will be available in /var/cache/zypper/RPMS until > you actually install them or call zypper clean to clear > the package caches. To just download a package you can also use the `download` command: > download > Download rpms specified on the commandline to a local > directory. > > Per default packages are downloaded to the libzypp package > cache (/var/cache/zypp/packages; for non-root users > $XDG_CACHE_HOME/zypp/packages), but this can be changed by > using the global --pkg-cache-dir option. It works even for a non-root user and tells you the location of the downloaded package. |
I just used 'zypper in --download-only' to get a package for inspection, without installing it. As I always forget where they end up I checked the manpage which claims If --download-only is used, the downloaded packages will be available in /var/cache/zypper/RPMS until you actually install However, that one's empty :( After some searching I found it in /var/cache/zypp/packages/<repository>/.