Announcement

Collapse
No announcement yet.

Is all that seems OK, really OK?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is all that seems OK, really OK?

    I have a bit of Linux experiance and have been using kubuntu several years, but a slightly funny scenerio played out while upgrading 11.10 to 12.04 and am not %100 certain all is well and am looking for a way to check that it is or if not possible force it to be, heres what happened.

    I upgraded via apper notification as usual.... all seemed normal. There was a custom config file I chose to replace, to have everything clean.

    - upgrade process exited with status code 1
    -restart still appeared on the task bar
    - after clicking hdd activity stoped and hung screen dimmed
    - after a few miinute like this i force restarted
    - grub still says 11.10 but login say 12.04 lts
    - logsin ok and looks like 12.04, there was problems updating boost but after marking deps for instllation installed correct.
    - muon says everything is current

    so anyone know for sure if Im in the clear, a grub menu entry mislabeled is an easy fix, but other than that?
    thanks for any suggestions

    #2
    you could open a konsole and enter
    Code:
    sudo apt-get update && sudo apt-get upgrade
    and see if you get any errors , if yes post the error/errors, if no , then for a completely updated 12.04 do a
    Code:
    sudo apt-get dist-upgrade
    the dist-upgrade allows for smart conflict resolution AND will upgrade package ver. as well you may get a KDE ver. upgrade with this.

    then do a
    Code:
    sudo update-grub
    this will make sure grub is pointing to your newest kernel
    if you get conserned that all the packages in the update did not get configured then do a
    Code:
    sudo dpkg --configure-a
    this will configure any packages that were not during the upgrade or
    Code:
    sudo dpkg-reconfigure -a
    will reconfigure all packages .

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Thanks Vinny. I copied everything to a text file for reference if I ever need it (which is likely).
      Linux User #454271

      Comment


        #4
        Originally posted by vinnywright View Post
        Code:
        sudo dpkg --configure-a
        this will configure any packages that were not during the upgrade
        VINNY
        Small niggle: It should be
        Code:
        sudo dpkg --configure -a
        (There needs to be a space between the 'configure' and the '-a')
        ​"Keep it between the ditches"
        K*Digest Blog
        K*Digest on Twitter

        Comment


          #5
          Originally posted by vinnywright View Post
          you could open a konsole and enter
          Code:
          sudo apt-get update && sudo apt-get upgrade
          Is there much point in running an upgrade followed by a dist-upgrade? Instead of just running the dist-upgrade?

          Comment


            #6
            dist-upgrade is a better choice, as it intelligently handles changing dependencies.
            upgrade
            upgrade is used to install the newest versions of all packages
            currently installed on the system from the sources enumerated in
            /etc/apt/sources.list. Packages currently installed with new
            versions available are retrieved and upgraded; under no
            circumstances are currently installed packages removed, or packages
            not already installed retrieved and installed.
            New versions of
            currently installed packages that cannot be upgraded without
            changing the install status of another package will be left at
            their current version. An update must be performed first so that
            apt-get knows that new versions of packages are available.

            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Originally posted by james147 View Post
              Is there much point in running an upgrade followed by a dist-upgrade? Instead of just running the dist-upgrade?
              From man apt-get:
              upgrade

              upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.


              dist-upgrade

              dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove (*) some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
              (*) To be more accurate, this sentence should say: "The dist-upgrade command may therefore remove or add some packages, to ensure that all new dependencies of existing installed packages are met."

              Comment


                #8
                Originally posted by james147 View Post
                Is there much point in running an upgrade followed by a dist-upgrade? Instead of just running the dist-upgrade?
                no,,,,,,,just that some users seem to want to keep things at the initial install ver.
                and to see that there were no errors before going further ,,,, I to prefer to do my updates with "dist-upgrade" but it's not my box

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Originally posted by SteveRiley View Post
                  (*) To be more accurate, this sentence should say: "The dist-upgrade command may therefore remove or add some packages, to ensure that all new dependencies of existing installed packages are met."
                  That's an excellent observation. Me thinks that you need to contact the maintainer and so suggest.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    @SteveRiley, @Snowhog, I know the difference between upgrade and dist-upgrade. My point was is there any point to basically running an upgrade just before a dist-upgrade considering that dist-upgrade does everything upgrade does but more.

                    Comment


                      #11
                      Sorry. I tend to 'type' before I 'look' fully. Of course, your point is apt (no pun intended).
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Originally posted by Snowhog View Post
                        That's an excellent observation. Me thinks that you need to contact the maintainer and so suggest.
                        Done. Filed Debian bug 698675.

                        Comment


                          #13
                          Thanks Vinny for the detailed instructions. IDK if I could have gotten all of that in the right order by sifting through the help on my own -- at least not at the speed of the reply. Hopefully there will be no errors thrown but thank ahead for checking any out. I want to make sure I dont inadvetantly upgrade distros away from LTS and to 12.10, but it doesnt sound like I will at least without warning.

                          Thanks everyone else too, one of the great things about the shell is the many ways to achieve an ends and all insight is appreciated.

                          Comment


                            #14
                            Originally posted by eyevex View Post
                            I want to make sure I dont inadvetantly upgrade distros away from LTS and to 12.10, but it doesnt sound like I will at least without warning.
                            you will not,,,,,,,,"dist-upgrade" dose not do this ,,,,"do-release-upgrade" dose .

                            VINNY
                            i7 4core HT 8MB L3 2.9GHz
                            16GB RAM
                            Nvidia GTX 860M 4GB RAM 1152 cuda cores

                            Comment


                              #15
                              you are right! Its been so long since doing it without the gui i forgot! so far no errors...

                              Comment

                              Working...
                              X