Announcement

Collapse
No announcement yet.

Updates no longer appearing on Konsole

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

    Updates no longer appearing on Konsole

    Hello! I'm facing the following issue: sudo apt-get update && sudo apt-get upgrade makes update icons to show, and I can update by clicking them, but they updates no longer appear on konsole. Any ideas?

    #2
    ...Any ideas ?
    Could you show the output of the commands ?

    As an example - at here:

    sudo apt-get update: http://pastebin.com/ULFLGsxR

    sudo apt-get dist-upgrade: http://pastebin.com/DLrHxvuw

    Pastebin: http://pastebin.com/

    If you are using non English: http://userbase.kde.org/Konsole
    With Konsole you can change the language to plain English (to see bugs info for example) by command:
    export LANG=C
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Hi. I've got:

      sudo apt-get update: http://pastebin.com/HxjQ8TJK

      sudo apt-get upgrade:http://pastebin.com/6gsZBh1t

      Comment


        #4
        Confused

        About sudo apt-get update && sudo apt-get upgrade

        The 'update'

        man apt-get:
        update
        update is used to resynchronize the package index files from their sources...
        If there are upgradeable packages this will light the update icon.


        The bash '&&' operator

        http://tldp.org/LDP/abs/html/ops.html

        logical (boolean) operators

        && is AND

        && may also be used, depending on context, in an and list to concatenate commands.
        In this context update AND upgrade.


        The 'upgrade'

        man apt-get:
        upgrade
        upgrade is used to install the newest versions of all packages currently installed on the
        system

        The difference between the upgrade and the dist-upgrade

        man apt-get:
        upgrade

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


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

        ...sudo apt-get update && sudo apt-get upgrade makes update icons to show, and I can update by clicking them, but they updates no longer appear on konsole...

        I'm a bit confused...??

        If I run the 'sudo apt-get update && sudo apt-get upgrade'

        1) The package database is updated
        2) The update notification is activated

        3) The packages are updated

        If I run the 'sudo apt-get update && sudo apt-get upgrade' and then click the Update notification icon

        1) The package database is updated
        2) The update notification is activated
        3) The packages are updated
        4) The updater is telling that all packages are up to date


        If I run the 'sudo apt-get update && sudo apt-get upgrade' and then click the update notification icon and then run the sudo apt-get upgrade

        1) The package database is updated
        2) The update notification is activated
        3) The packages are updated
        4) The updater is telling that all packages are up to date
        5) The apt-get is telling that there are '0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.'
        Have you tried ?

        - How to Ask a Question on the Internet and Get It Answered
        - How To Ask Questions The Smart Way

        Comment


          #5
          Actually, I've already known that difference from the commands. But I didn't understand your reply and now I'm a lot more confused than you.
          I've always updated and upgraded from konsole, but for some reason, now I can only do that by clicking on the icons that pop up on panel.
          Just want to be able to do that again...
          Last edited by geoaraujo; Jun 29, 2013, 08:02 AM. Reason: Grammar

          Comment


            #6
            So your problem is: Can't upgrade from the command line ?

            What is telling:
            Code:
            /usr/lib/update-notifier/apt-check --human-readable
            It should tell if there are upgradeable packages.

            ~$ /usr/lib/update-notifier/apt-check --help
            Usage: apt-check [options]

            Options:
            -h, --help show this help message and exit
            -p, --package-names Show the packages that are going to be
            installed/upgraded
            --human-readable Show human readable output on stdout
            --security-updates-unattended
            Return the time in days when security updates are
            installed unattended (0 means disabled)
            Have you tried ?

            - How to Ask a Question on the Internet and Get It Answered
            - How To Ask Questions The Smart Way

            Comment


              #7
              I don't know if I wasn't clear enough, so I'll repeat what my problem is: I've always updated and upgrade by running those commands (sudo apt-get update && sudo apt-get upgrade). That use to make the updates and upgrades appear on konsole. But, for some reason, running those commands now returns me nothing on konsole. It just makes the update icon appear on panel (when there is some update available), and I'm forced to click it in order to install the updates and upgrades. I just want to be able to do it using konsole, like I used to do.

              Comment


                #8
                Originally posted by geoaraujo View Post
                I don't know if I wasn't clear enough, so I'll repeat what my problem is: I've always updated and upgrade by running those commands (sudo apt-get update && sudo apt-get upgrade). That use to make the updates and upgrades appear on konsole. But, for some reason, running those commands now returns me nothing on konsole. It just makes the update icon appear on panel (when there is some update available), and I'm forced to click it in order to install the updates and upgrades. I just want to be able to do it using konsole, like I used to do.
                What's the exit status of the 'sudo apt-get update' command?
                (if it's a non-zero exit status, the 'sudo apt-get upgrade' command won't run, because '&&' means "run if the first command returns exit status 0")

                To test the exit status, run:
                Code:
                sudo apt-get update; echo "exit status was $?"

                Comment


                  #9
                  Hello. I've got:

                  exit status was 0

                  Comment


                    #10
                    Originally posted by geoaraujo View Post
                    exit status was 0
                    Well, it isn't that then.

                    When you said:
                    running those commands now returns me nothing on konsole
                    Do you mean that 'there's no output to the console' or 'it reports 0 upgrades available'?

                    Comment


                      #11
                      ...It just makes the update icon appear on panel...
                      and if you click it - what packages are available to upgrade ?



                      What is the status of the packages ?

                      Code:
                      apt-cache policy <package-name>
                      Something like ?:
                      :~$ apt-cache policy empty-test-package
                      empty-test-package:
                      Installed: 0.1~raring~ppa1
                      Candidate: 0.2~raring~ppa1
                      Version table:
                      0.2~raring~ppa1 0
                      500 file:/media/sda3/Test/ ./ Packages
                      *** 0.1~raring~ppa1 0
                      100 /var/lib/dpkg/status
                      Have you tried ?

                      - How to Ask a Question on the Internet and Get It Answered
                      - How To Ask Questions The Smart Way

                      Comment


                        #12
                        Ok, reinstalling konsole fixed this strange issue. Thank you all.

                        Comment

                        Working...
                        X