Comments: Upgrading to Hardy

I agree with your general point. However, in the case of bash_completion that is simply a bug ‒ in particular, it's Bug 210013; a plan for fixing it was added earlier today, so hopefully that'll happen before the final release.

Posted by Smylers at April 10, 2008 5:35 PM

The bluetooth thing sounds like a visible symptom of something in Ubuntu that really gets on my nerves - it installs drivers for everything, then loads all of them at boot. I know they want to be compatible with everything, but even Windows is smarter than just doing that.

Posted by ant at April 10, 2008 5:50 PM

You misspelled useful "Gutenprint". It's "useful" Gutenprint. For normal user gtk print dialog is 100 times better than ugly Gutenprint that doesn't list any default printers or support paper selections or types. I was very disappointed that gtk print was disabled for gutsy. Same applies to Inkscape. 0.45 has application specific ugly dialog. 0.46 finally has proper gtk print dialog.

Posted by Pkunk at April 11, 2008 5:41 AM

Pkunk: I love Gutenprint. When I print using it with the Gimp, it gives me complete control of the positioning on the page and the scaling of my image. the GTK print dialog simply doesn't do that. It lets me choose my printer; the printer itself only has one paper tray (as do most consumer printers :-) so I'm not worried about selecting that.

Also, the "Print with Gutenprint..." menu item is an additional option, not a replacement. So the GTK print dialog is still available if you want it.

Posted by Gerv at April 11, 2008 10:34 AM

This issue with changes in the etc hierarchy is inherited from Debian and, specifically, from its packaging system. (Not that other packaging systems necessarily do much better... but they SHOULD, and so should apt.)

One really bad thing is that *usually* the changes in the default config files from one version to the next consist mostly of a whole lot of lines of comments, but the package system is not smart enough to understand what is a comment and what is not. So when you ask it to show you the differences... you get inundated with stuff that doesn't actually have any functional impact.

An even worse thing is that none of the choices are anything I would *ever* want to do. You can wipe out your changed version entirely and replace it with the new default version, but who would ever want to do that? (Keep a copy of my changed version with a suffix like .old or whatever and install the new version for now, maybe. Wipe out my changed version entirely? Are you nuts?) You can keep your changed version and not install the new version at all, but that's not right either. (At the very least a copy of the new version with a .new suffix or somesuch should be placed side-by-side with my changed version, so I can reference it if I need to.)

The *right* way to do this is complicated, but it would go something like the following...
* On initial installation, in addition to being installed for actual use, a copy of the initial configuration file should be kept for reference, so that if you make any changes a list of differences (i.e., changes you have made) can be constructed. Whether you made the changes with a GUI tool or a text editor should not matter.
* On upgrade, the package tool should check whether you made any changes or not. If you did not make any changes, install the new version plus keep a reference copy of it, and blow away the old version entirely. This scenario is already handled more or less correctly the way things are done now, though I don't know the exact mechanics of how it determines whether you've made changes.
* If you have made changes, it should *not* compare your changed version of the old version to the new default version. Rather, it should offer to show you a list of the changes you have made (either as a diff, or maybe just the lines you have changed; the latter would probably be more accessible for novice users, the former more useful for experienced users, so maybe both options should be present), and offer to attempt to apply them automatically to the new version of the config file (i.e., merge it as if it were a patch).
* If it can't do the merge, it should tell you that of course, and in this case ONLY it should ask you whether to keep your old changed version or go with the new. Either way, it should keep an intact copy of your changed version _and_ a copy of the new version, side-by-side -- with .old and .new suffixes. Your decision about which to keep should only be a matter of which one gets symlinked (or maybe copied) to the actual unsuffixed live config file that the program will actually refer to.

Posted by Jonadab the Unsightly One at April 12, 2008 12:55 PM

Jonadub: "Keep a copy of my changed version with a suffix like .old or whatever and install the new version for now, maybe. Wipe out my changed version entirely? Are you nuts?"

*Poof*! Your wish is granted, retroactively :-).

If you tell dpkg to replace your existing version with the new version, then it saves to to "whatever.dpkg-old". If you tell dpkg to keep your changed version, then it still saves a copy of the new upstream version to "whatever.dpkg-dist". (Or possibly .dpkg-new. I'm a bit confused what the difference between those is.)

Agreed that keeping a spare copy of the original version around to do three-way merging with would be Better.

Posted by Nathaniel at April 12, 2008 8:37 PM

has now been fixed, so users upgrading from the final release shouldn't get the Bash completion prompt.

Posted by Smylers at April 15, 2008 9:21 AM

I just upgraded while working on grades for a recent class. I was asked four questions, the first one was quite simple, "do you want to continue?" with a recommendation to close any open programs. I closed everything (had backups anyway) but Gnumeric and kept working.

The second question was "Gnumeric is open, do you want to skip the upgrade or close it?"

The third was regarding SAMBA, and whether or not I wanted to keep my etc/profile regarding a share folder I have or use the developer's script instead. I was presented a side-by-side comparison of the two files to decide upon.

Lastly, it asked me if I wanted to remove all the 'obsolete' software. NOW THAT may have been confusing to a standard non-tekkie-windows user. I said yes, because I noticed they had been 'replaced' with newer versions. However that was not clearly presented as such, and some people might have been afraid to say yes. Maybe I should have said no, but that remains to be seen. I'm not completely sure why I needed to respond to that question at all, so this bears looking into.

after the reboot, I'm still working where I was; so far not a hitch.

I'm not a guru, I can generally fix what is broken, but I've still never been able to get cmpfz working properly. I was always able to go back to the previous configuration, even though I relied on some Web forums/tutorials to do that at times.

I've been *trying* to be MS free since '98. Ubuntu 7.1 was the first distro that I used that allowed me to wander away completely.

Oh, there is one other 'benefit' of doing the upgrade. I went from 25.2 G free space to 26 G of free space. Let's see MS match that! *oh yeah, there WAS doublespace*
#smack#

Thanks to all of you developers that have made this a truly remarkable product!

peace y'all,
vincent

Posted by vincent nix at May 8, 2008 1:28 AM

What you want Ubuntu/Debian to do is an AI controlled updater, which is as smart or smarter than a human computer administrator. It should be able to, without input, manage to select an installation for a single user system or a client in a 10000+ multi user environment (different institutions has that many users).
This yet to be found, and I hope it never will. As computers then shorly would eliminate human race as useless creatures only making impossible demands...

Posted by Jackson at July 18, 2008 12:40 AM
Post a comment









Remember personal info?