Bug 52551
Summary: | Installing older packages is not allowed (only new) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Dag Wieers <dag> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
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-08-26 14:43:25 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
Dag Wieers
2001-08-24 22:58:01 UTC
Works for me. bash$ sudo rpm -i kernel-2.4.2-2.i686.rpm package kernel-2.4.6-3.1 (which is newer than kernel-2.4.2-2) is already installed bash$ sudo rpm -i kernel-2.4.2-2.i686.rpm --oldpackage bash$ rpm -q rpm rpm-4.0.3-0.93 [root@horsea /etc]# rpm -q kernel kernel-2.4.3-12 [root@horsea /etc]# rpm -ihv kernel-2.2.19-7.0.8.i686.rpm --oldpackage rpm: --oldpackage may only be used during upgrades [root@horsea /etc]# rpm -q kernel kernel-2.4.3-12 [root@horsea /etc]# rpm -ihv kernel-2.2.19-7.0.8.i686.rpm Preparing... ########################################### [100%] package kernel-2.4.3-12 (which is newer than kernel-2.2.19-7.0.8) is already installed [root@horsea /etc]# rpm -ihv kernel-2.2.19-7.0.8.i686.rpm --oldpackage rpm: --oldpackage may only be used during upgrades [root@horsea /etc]# rpm --version RPM version 4.0.2 Ok, sorry. Your statement was this was fixed in the latest unstable release. The way you described it seemed that it wasn't a bug in Red Hat 7.1, only after posting a comment that was clear to me. Thanks again. |