Bug 49066
| Summary: | up2date --download <package> bombs out when the package cannot be installed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Graham Leggett <minfrin> |
| Component: | up2date | Assignee: | Adrian Likins <alikins> |
| Status: | CLOSED DUPLICATE | QA Contact: | Jay Turner <jturner> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | srevivo |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-11-04 02:48:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Graham Leggett
2001-07-13 12:26:36 UTC
This is intended behavior. up2date will only fetch packages that can be installed correctly, if it is going to install them directly it self or not. According to the documentation man up2date:
-d, --download
download packages only, do not install them. This option is
provided so that you can
override the configuration option "Do not install packages after
retrieval." It is mutually
exclusive with the --install option.
this implies that the files should be downloaded only - it is not intuitive to
also assume that these rpms should be eventually installable - if I wanted
up2date to install them I would have asked it to.
If this is the intended behavior then the documentation needs fixing to indicate
clearly how a download is to be done that doesn't involve dependancies.
I've just run into a similar problem; the system I'm up2date'ing is a very small single-purpose box. It is installed on a 128MB CompactFlash card via a script (the script basically does a rpm -ivh *.rpm on the ~100 RPMs I require). I want to use up2date to keep it current by configuring up2date to download only, pointing up2date at an NFS-mounted filesystem to store the RPMs (that system is also where I install onto my CompactFlash card). However, up2date complains (and rightly so) that the new kernel requires more free space on the root filesystem (my CompactFlash card) than currently exists there. This is true; however, my installation script deals with this, so up2date shouldn't worry about it. The problem is, there's no way to tell up2date to chill out. The --force option should either be expanded to handle such issues, or another option should be added to support this funtionality (I suggest "--justdownloadthefilesanddon'tworryaboutitdammit!" :-) Thanks! Ed |