Bugzilla – Bug 1540
changes to authorities should include refresh
Last modified: 2008-09-17 18:53:27 UTC
You need to log in before you can comment on or make changes to this bug.
Seems to me that altering your client's authorities should implicitly include an appropriate refresh. We've seen several people be perplexed when they add a new authority but can't get the packages the new authority offers. Perhaps a flag could also be added for "don't refresh" if the user is e.g. having a network connectivity issue or the authority they are adding isn't presently online. Or we could attempt the refresh, and print some sort of nice message if it fails.
Made blocker for November. It's an annoying usability problem, and in general we want to reduce the likelihood of most users to ever need refresh.
Ideally this automatic refresh would only apply to the new authority. Refreshes to the existing authorities, especially the default one, have been burning people.
Yes, the refresh should probably only apply to the new authority. How have people been burned by refreshing from the default authority?
>How have people been burned by refreshing from the default authority? 1. Install OpenSolaris 2008.05 from the LiveCD 2. Add an IPS repository 3. pfexec pkg refresh 4. Install something from the new repository ---- weeks go by ----- 5. Install something from pkg.opensolaris.org. In my case, SUNWgcc. It completely slipped my mind that as a result of that pkg refresh I did in order to use some other repo, the install of SUNWgcc from pkg.opensolaris.org was the latest version of SUNWgcc *at the time that I had done the pkg refresh*. So what I *should* have done to do my install was specified the version of SUNWgcc that is from build 86. But since I forgot to do that, I got the SUNWgcc from build 93 instead. As a result, /usr/bin/ld no longer works. :-( For now, the work around is well known: *always* do a pkg refresh and a *complete* image update before installing things from pkg.opensolaris.org. But that is pretty painful - most users do not want to do that just so they can get something like the GNU tools. And the expectation of users of Linux distros such as Ubuntu is that they do not need to worry about the default repo. moving forward on them - my install of Ubuntu 7.10 still pulls binaries that are intended to work with the kernel that was included with 7.10. The confusion/burn rate out in the community is apparent in threads such as this one: http://opensolaris.org/jive/thread.jspa?threadID=69380&tstart=0
Ah, I see. Yes, that was a bug in incorporations in build 86 that's been fixed since. Although we (now) require you to update SUNWipkg before running an image-update, it may be useful to do so before any install, to get past inevitable bugs. One of the hazards of using a product still in rapid development. :-/
Adding a dependency to 2917 as we really shouldn't have to refresh all authorities because of a change to a specific one. *** This bug has been marked as a duplicate of bug 2917 ***
Oops, that I meant to add a dependency, not mark a duplicate, sorry about that.
Assigning to me and starting work on it.
Assigning to me and working on it.
(Made an accidental update to this bug... resetting)
targeting 99
Fixed in change set 3dc9fc9b5fee6dcf7b8b3461d8860588c7231d5f