inconsistent 'download' or 'reinstall' behavior

Bug #244460 reported by Rehan Khan
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Undecided
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue299

Reason for Import: Bug?

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

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-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@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@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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.