how to see the new file which I told package manager to skip during an upgrade

Asked by hushp1pt

Upgrading kdm with Synaptic Package Manager in Ubuntu 7.10.
The upgrade stopped and said /etc/kdm3/kdm/kdmrc had been locally modified, do you want to replace the existing file or keep it?
I went to the file and took a copy, and meant to click Replace, but I clicked Keep by mistake, and the upgrade finished, and I did not get the upgraded kdmrc file.
Now I just want to see the new kdmrc file, or have another chance to get Package Manager to install the new file.
I tried to Re-Install kdm and finished without asking me about the kdmrc file or installing the new one.
Thanks-

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
Wrwrwr
Solved:
Last query:
Last reply:
Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#1

Run:
sudo dpkg-reconfigure kdm
It won't ask you what to to but it will replace the file anyhow.

Revision history for this message
Best Wrwrwr (wrwrwr) said :
#2

If you want just to see the file you can open the deb (get it from http://packages.ubuntu.com/gutsy/kde/kdm if you can't find it on your system) with an archive manager.

Revision history for this message
hushp1pt (hushp1pt) said :
#3

Thanks Wrwrwr, that solved my question.

Revision history for this message
hushp1pt (hushp1pt) said :
#4

dpkg-reconfigure kdm did not re-install the kdmrc, but it did show me how to switch out of the gnome login manager, and that was a big help - thanks!

What I needed was the command dpkg -x /var/cache/apt/archives/kdm_4%3a3.5.8-2ubuntu3~gutsy1~ppa1_i386.deb /tmp/whatever - thanks!

The funny part is, the whole issue was not an issue in the first place. The only difference in the kdmrc files before + after this upgrade seems to be that some automatic configuration tool rewrote my old file and stripped out all the comments when it did that. And a few non-comment lines were added- I don't know if they were standard defaults or not. The upgrade detected the change, and (correctly) asked if I wanted to overwrite.

Revision history for this message
hushp1pt (hushp1pt) said :
#5

I really like my experience so far with Ubuntu/debian/Synaptic package management.