inconsistent 'download' or 'reinstall' behavior
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Imported: http://
Reason for Import: Bug?
further details: https:/
msg1130 (view) Author: jon Date: 2007-04-04.01:36:55
A little background:
I flubbed some things up and wanted to reinstall some packages.
So I made a list of those packages and went:
smart reinstall pkg1 pkg2 pkg3
and much to my surprise smart said "pkg1 not available for downloading"
That's strange, I said. The package was 'cracklib'.
I removed pkg1 from the list and repeated and smart said the same thing about
other packages, packages I *knew* it could download.
Then I began to introduce 'download' into things. I noticed that I got different
results using 'download' in --shell versus issuing 'download' as a command.
Then things got weird.
What follows is a transcript wherein 'smart download' behaves differently for no
apparent reason:
linux-lel4:~ # rm cracklib-
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... #######
Fetching packages...
-> http://
cracklib-
linux-lel4:~ # rm cracklib-
linux-lel4:~ # rpm -Uvh --force cracklib-
Preparing... #######
1:cracklib #######
linux-lel4:~ # rm cracklib-
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... #######
error: cracklib-
Saving cache...
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... #######
Fetching packages...
-> http://
cracklib-
linux-lel4:~ # rm cracklib-
linux-lel4:~ # smart reinstall cracklib
Loading cache...
Updating cache... #######
error: 'cracklib-
linux-lel4:~ #
Weird, eh? This caused me an hour or more of headache because 'reinstall'
couldn't be made to work (I suspect caused by the same underlying issue) and
only a large number of 'download' invocations /eventually/ got me everything I
needed.