Red Hat Bugzilla – Bug 111990
up2date --src doesn't get source if you've got the binary
Last modified: 2007-04-18 13:00:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4)
Description of problem:
I've got an rpm installed, but I want the srpm. up2date --src <package>
fails with 'package is already installed'. Sensible behaviour would be
to download the srpm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. up2date <package>
2. up2date --src <package>
Actual Results: fails with 'already installed'
Expected Results: getting <package>.srpm
working as designed, more or less. Ie,
it doesnt let you download a package set
that you couldn't install.
Newer versions (fedora or RHEL 3) include
a --get-source option that will download the
source rpm without doing any depsolving.