On Fri, Jul 16, 2010 at 08:53:23AM -0500, Andres Vargas wrote: > On Fri, Jul 16, 2010 at 8:41 AM, Michael K. Johnson <johns...@rpath.com> > wrote: > > So old PackageKit does not put itself into the critical update? > > the old packagekit update using update-system. Yes use the critical update > first > > > Does it even put conary per se into the critical update? > Yes
<doniphon> mkj_wk: issue is trickier afaik - notion pkgKit has of critical update != from one conary has .... smerp][ can elaborate more on that ... (only way to spot this for sure is with testing) #foresight-devel <smerp][> mkj_wk: afraid that PK's updateall isn't doing critical updates; it behaves kind of like rAPA Look at conary/updatecmd.py -- class CriticalUpdateInfo(conaryclient.CriticalUpdateInfo): criticalTroveRegexps = ['conary:.*'] There should be something like this in PK, but with appropriate parts of PK also listed. Then look at how CriticalUpdateInfo is used in _updateTroves(). So should be possible to spot this without testing, by code inspection. I'm going to assume here that smerp is right; he should know. :) Given that, the idea of a pygtk app to help with the transition makes sense. It should say something like: Updates to Foresight are now available. For a variety of technical reasons, the update process is temporarily more complex than usual. After this update process is complete, your update process will return to normal. In order to complete this update process, you should first close running programs. Second, you need to update to the latest version of Conary. [Update Conary Now] Third, try updating your system with the "updateall" command: [Update All Installed Packages] Depending on which packages you have installed in the past, that update process mail fail, possibly with messages about "file conflicts" or "dependency failures". If this happens, you will need to update your system to the form that is released as ISO images. This will remove extra packages that you have previously installed, and you will have to add them back after this step. [Migrate To Default Installation] Each button spawns a gnome-terminal session that runs a command. * [Update Conary Now] -- "sudo conary update conary --resolve" * [Update All Installed Packages] -- "sudo conary updateall" * [Migrate To Default Installation] -- "sudo conary migrate group-gnome-dist" The commands that should be run should be something like this: gnome-terminal --maximizze -e 'sudo conary ...; echo ""; echo "Press Enter to close window"; read' --working-directory=/ That whole app needs to be a single-file pygtk app. _______________________________________________ Foresight-devel mailing list Foresight-devel@lists.rpath.org http://lists.rpath.org/mailman/listinfo/foresight-devel