Announcement

Collapse
No announcement yet.

Automatic updates

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

    Automatic updates

    I received notice of software updates, checked them out and found the big item was a kernel update. During the update a dependency was not resolved and the updates did not complete. I did not take careful notes of the problem messages, thinking I could restart the updates. Now, I find I do not know how to restart everything, nor can I find a log of the problem. I am using Synpatic Package Manager. Does anyone know how I resolve this issue?

    Thank you,
    Monon

    #2
    Hi Monon

    In your terminal type.

    Code:
    sudo apt-get update
    Then
    Code:
    sudo apt-get upgrade
    Rob

    Comment


      #3
      Thank you, Robtygart. You fixed the problem.

      Comment


        #4
        Hi Monon
        Your welcome! That is the way I usually update now, I don't use update manager much.
        Rob

        Comment


          #5
          For all.

          Using sudo apt-get upgrade isn't as good as using sudo apt-get dist-upgrade. The difference is how apt handles 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.

          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. So, dist-upgrade
          command may 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.

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

          Comment


            #6
            Thank you Snowhog, I did not know that.
            Rob

            Comment


              #7
              Nice tip Snowhog!

              @monon, I am not the most experienced linux user, so I resort to GUIs(or service menus because I am lazy ) more then the gurus might, but when it comes to performing updates, I *always* prefer to do it the cli way. It's quick and easy to remember, but more importantly I get a more verbose/detailed report of what is being pulled in to my system. I don't know how detailed Synaptic is as I use the built in Muon Package Manager if I really need some sort of package management gui, but the great part of doing this over cli is that not only do I see package X is being upgraded, but I also see that package Y is being pulled in as a new dependency or that dependency is being upgraded in addition to the base package being upgraded. It is pretty hard to screw up this particular cli command, so personally speaking, I think updates should *always* be done using cli...Unless I missed something with regard to Muon showing me exactly what is being pulled in.
              OS: Kubuntu 12.10/Windows 8
              CPU: Intel Core i7 2600K
              Motherboard: Gigabyte GA-Z77X-UD5H
              Memory: 2x4GB Corsair Dominator
              Graphics Card: MSI R7770
              Monitor: Dell 2208WFP
              Mouse: Mionix NAOS 5000
              PSU: Corsair 520HX
              Case: Thermaltake Mozart TX
              Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
              Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar Green

              Comment

              Working...
              X