[issue299] consistently inconsistent 'download' or 'reinstall' behavior
Jon at Labix Tracker
tracker at labix.org
Tue Apr 3 18:36:56 PDT 2007
New submission from Jon <jnelson-smartpm at jamponi.net>:
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-2.8.9-20.i586.rpm
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... ######################################## [100%]
Fetching packages...
-> http://ftp.ale.org/pub/mirrors/opensuse/.../cracklib-2.8.9-20.i586.rpm
cracklib-2.8.9-20.i586.rpm ######################################## [100%]
linux-lel4:~ # rm cracklib-2.8.9-20.i586.rpm
linux-lel4:~ # rpm -Uvh --force cracklib-2.8.9-20.i586.rpm
Preparing... ########################################### [100%]
1:cracklib ########################################### [100%]
linux-lel4:~ # rm cracklib-2.8.9-20.i586.rpm
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... ######################################## [100%]
error: cracklib-2.8.9-20 at i586 is not available for downloading
Saving cache...
linux-lel4:~ # smart download cracklib
Loading cache...
Updating cache... ######################################## [100%]
Fetching packages...
-> http://ftp.ale.org/pub/mirrors/opensuse/.../cracklib-2.8.9-20.i586.rpm
cracklib-2.8.9-20.i586.rpm ######################################## [100%]
linux-lel4:~ # rm cracklib-2.8.9-20.i586.rpm
linux-lel4:~ # smart reinstall cracklib
Loading cache...
Updating cache... ######################################## [100%]
error: 'cracklib-2.8.9-20 at i586' is not available for reinstallation
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.
----------
messages: 1130
nosy: jon
priority: bug
project: smart
status: unread
title: consistently inconsistent 'download' or 'reinstall' behavior
_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue299>
_______________________________________
More information about the Smart
mailing list