Announcement

Collapse
No announcement yet.

Kpackagekit/Synaptic Updates

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

    Kpackagekit/Synaptic Updates

    I have the Kpackagekit backend error bug, so Kpackage doesn't work. I've installed Synaptic and been using it. What I don't know is how to install the updates. I get the updates available notice, but when I try to install them Kpackagekit opens and crashes. How can I install these with Synaptic?
    Thanks,
    L.A.

    #2
    Re: Kpackagekit/Synaptic Updates

    Pretty easy, just "Mark All Upgrades" and then hit "Apply".

    And if for some reason that fails, there's always Apt-Get or Aptitude. For example, you could open up Konsole and go

    Code:
    sudo apt-get update && sudo apt-get upgrade
    but then again I'm a commandline junkie.

    Comment


      #3
      Re: Kpackagekit/Synaptic Updates

      As the "KeithZG" wrote : there are many ways to do the update&upgrade. The KPackageKit is one way. More package managers > FAQ: Package Managers


      The update-notifier-kde (update-notifier-kde.py) is a python script. It is in /usr/share/python-support/update-notifier-kde. With the Jaunty it is using as default the KPackageKit. With the Intrepid it was (is) the Adept > Topic: Switching from Adept to Synaptic.


      Messing with the defaults (remember the backup before you edit )

      /usr/share/python-support/update-notifier-kde/update-notifier-kde.py has a line (201):
      Code:
      KProcess.startDetached("kcmshell4", ["kpk_update"])
      More of the kcmshell4 /1/


      Changing it to the:
      Code:
      KProcess.startDetached("kdesudo", ["synaptic --upgrade-mode"])
      After log out and log in Synaptic package manager will start when "update" icon is pressed.




      /1/ Command
      Code:
      kcmshell4 --list | grep kpk_update
      tells:
      kpk_update - Check and Install Updates
      kcmshell4 is
      Usage: kcmshell4 [Qt-options] [KDE-options] [options] module

      A tool to start single KDE control modules

      Generic options:
      --help Show help about options
      --help-qt Show Qt specific options
      --help-kde Show KDE specific options
      --help-all Show all options
      --author Show author information
      -v, --version Show version information
      --license Show license information
      -- End of options

      Options:
      --list List all possible modules

      Arguments:
      module Configuration module to open
      --lang <language> Specify a particular language
      --silent Do not display main window
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Kpackagekit/Synaptic Updates

        great tip man! thanx.

        Comment

        Working...
        X