Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Like Tree3Likes
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 ...
  1. #1
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30

    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
    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] ?
    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.

    So, quite simply, after doing fg to get back in, what to I hit to proceed after the file listing?

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    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.

  3. #3
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    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.

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    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.

  5. #5
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    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

  6. #6
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    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.

  7. #7
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    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.

  8. #8
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    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.
    elija likes this.

  9. #9
    Linux Enthusiast MASONTX's Avatar
    Join Date
    May 2010
    Location
    Mason Texas
    Posts
    721
    Thanks for showing how you fixed it.
    Registered Linux user #526930

  10. #10
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    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.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...