Results 1 to 10 of 11
Hi,
I probably have the easiest question today but I just can't figure it out.
I was going to update my xmbc installation and ran:
sudo apt-get update
sudo apt-get ...
- 07-17-2011 #1
Easiest question today?
Hi,
I probably have the easiest question today but I just can't figure it out.
I was going to update my xmbc installation and ran:
sudo apt-get update
sudo apt-get upgrade
Everything runs fine until It find a difference in a file
I hit D to see the differences and it list then ending with (END). Now I can't proceed. I've tried everything (except the correct step I guess). Ctrl-Z gets me out and fg back in but I still can't move on.Code:Configuration file `/etc/lsb-release' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** lsb-release (Y/I/N/O/D/Z) [default=N] ?
So, quite simply, after doing fg to get back in, what to I hit to proceed after the file listing?
- 07-17-2011 #2
You probably need to hit q
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 07-17-2011 #3
Thanks, but done that to no avail.
Ctrl-Z, Ctrl-Z, Ctrl-K, Ctrl-Q, q, :q, :q!, Esc, space, enter, exit.. jsut a few of my tries.
- 07-17-2011 #4
Dunno then, they're pretty much all the ones I would have tried, but also x. I would be worried that Ctrl + C would end the entire upgrade. Found nothing on Google about this. How about Alt +q. Alt + x etc?
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 07-17-2011 #5
Not working either, none of them. But thanks for helping me think.
I wonder if I can simply reboot the machine and upgrade again or if I risk screwing everything up since it has done some work already.
Code:Fetched 149MB in 32s (4,622kB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 80443 files and directories currently installed.) Preparing to replace libpam-modules 1.1.1-2ubuntu5 (using .../libpam-modules_1.1 .1-2ubuntu5.3_i386.deb) ... Unpacking replacement libpam-modules ... Setting up libpam-modules (1.1.1-2ubuntu5.3) ... (Reading database ... 80443 files and directories currently installed.) Preparing to replace base-files 5.0.0ubuntu20.10.04.2 (using .../base-files_5.0. 0ubuntu20.10.04.3_i386.deb) ... Unpacking replacement base-files ... Setting up base-files (5.0.0ubuntu20.10.04.3) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Configuration file `/etc/lsb-release' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** lsb-release (Y/I/N/O/D/Z) [default=N] ? D
- 07-17-2011 #6
OK, I've found some things of the net that indicate that it is definitely q (lower case ond only q) to exit the diff viewer. [Solved] Updated to Testing (Page 1) - Help & Support (Stable) - CrunchBang Linux Forums
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 07-17-2011 #7
Thanks. It does seem pretty straightforward.
But it won't work... I wonder if it has something to do with me pressing Ctrl-Z to drop out. If fg doesn't return me to the expected place or something.
I guess I'm left with rebooting and hoping. Thanks for the help though.
- 07-17-2011 #8
For anyone else in this situation here is what I did:
1. Kill process (sudo ps-a, then kill [process#])
2. Reboot
3. When I try to run sudo apt-get upgrade again it tells me "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."
4. Run command above and it starts of where I got stuck so I can pick "N" instead of D.
5. Nothing more happens but now I can run sudo apt-get upgrade with no problem and finish my upgrade.
- 07-18-2011 #9
Thanks for showing how you fixed it.
Registered Linux user #526930
- 07-18-2011 #10
Glad it wasn't borked and thanks for sharing the solution
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


3Likes
Reply With Quote