apt-notifier don't install upgrades

  • This topic has 2 replies, 2 voices, and was last updated Oct 19-1:46 am by silvioto.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28226
    Member
    silvioto

      When I clic on Upgrade button of apt-notifier window, it close and upgrade don’t start.

      #28245
      Anonymous
        Helpful
        Up
        0
        ::

        confirmed.
        Reason: scripts should not call su-to-root
        (nor should they attempt to use the -m flag, which is deprecated in gksu v2.0.1)
        ( also, if not already deprecated in v2.0.1 “–su-mode” is deprecated in next version of gksu )

        silvioto, you can wait for a fix to arrive in a future release of apt-notifier
        (in the meantime, “sudo apt purge apt-notifier”)
        or use the following instructions to achieve an immediate fix:

        1) close/quit apt-notifier if it is currently running

        2) open a web browser and goto https://pastebin.com/raw/9CL1Knqv
        right-click, SelectAll, copy to clipboard

        3) sudo geany /usr/bin/apt-notifier.py
        selectAll, press backspace to delete, then paste the clipboard content grabbed from the pastebin page.
        Save the revised apt-notifier.py file and exit geany

        4) restart apt-notifier and verify that it is now working correctly

        ====================

        5) (optional step) If launched from a terminal prompt, you may still observe a “nuisance” warning “could not connect blahblah accessibility”. This isn’t specific to apt-notifier, FWIW. To prevent that gtk warning, “sudo apt install libatk-adapter” (accessibility toolkit, 58kb)

        #28248
        Member
        silvioto
          Helpful
          Up
          0
          ::

          Fixed with the new code and now work fine.
          Thanks a lot!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.