UbuntuWiki:UpdateManager
文章出处: |
{{#if: | {{{2}}} | https://wiki.ubuntu.com/UpdateManager }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/af | • {{#if: UbuntuWiki:UpdateManager|Afrikaans| [[::UbuntuWiki:UpdateManager/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ar | • {{#if: UbuntuWiki:UpdateManager|العربية| [[::UbuntuWiki:UpdateManager/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/az | • {{#if: UbuntuWiki:UpdateManager|azərbaycanca| [[::UbuntuWiki:UpdateManager/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/bcc | • {{#if: UbuntuWiki:UpdateManager|جهلسری بلوچی| [[::UbuntuWiki:UpdateManager/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/bg | • {{#if: UbuntuWiki:UpdateManager|български| [[::UbuntuWiki:UpdateManager/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/br | • {{#if: UbuntuWiki:UpdateManager|brezhoneg| [[::UbuntuWiki:UpdateManager/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ca | • {{#if: UbuntuWiki:UpdateManager|català| [[::UbuntuWiki:UpdateManager/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/cs | • {{#if: UbuntuWiki:UpdateManager|čeština| [[::UbuntuWiki:UpdateManager/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/de | • {{#if: UbuntuWiki:UpdateManager|Deutsch| [[::UbuntuWiki:UpdateManager/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/el | • {{#if: UbuntuWiki:UpdateManager|Ελληνικά| [[::UbuntuWiki:UpdateManager/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/es | • {{#if: UbuntuWiki:UpdateManager|español| [[::UbuntuWiki:UpdateManager/es|español]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/fa | • {{#if: UbuntuWiki:UpdateManager|فارسی| [[::UbuntuWiki:UpdateManager/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/fi | • {{#if: UbuntuWiki:UpdateManager|suomi| [[::UbuntuWiki:UpdateManager/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/fr | • {{#if: UbuntuWiki:UpdateManager|français| [[::UbuntuWiki:UpdateManager/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/gu | • {{#if: UbuntuWiki:UpdateManager|ગુજરાતી| [[::UbuntuWiki:UpdateManager/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/he | • {{#if: UbuntuWiki:UpdateManager|עברית| [[::UbuntuWiki:UpdateManager/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/hu | • {{#if: UbuntuWiki:UpdateManager|magyar| [[::UbuntuWiki:UpdateManager/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/id | • {{#if: UbuntuWiki:UpdateManager|Bahasa Indonesia| [[::UbuntuWiki:UpdateManager/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/it | • {{#if: UbuntuWiki:UpdateManager|italiano| [[::UbuntuWiki:UpdateManager/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ja | • {{#if: UbuntuWiki:UpdateManager|日本語| [[::UbuntuWiki:UpdateManager/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ko | • {{#if: UbuntuWiki:UpdateManager|한국어| [[::UbuntuWiki:UpdateManager/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ksh | • {{#if: UbuntuWiki:UpdateManager|Ripoarisch| [[::UbuntuWiki:UpdateManager/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/mr | • {{#if: UbuntuWiki:UpdateManager|मराठी| [[::UbuntuWiki:UpdateManager/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ms | • {{#if: UbuntuWiki:UpdateManager|Bahasa Melayu| [[::UbuntuWiki:UpdateManager/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/nl | • {{#if: UbuntuWiki:UpdateManager|Nederlands| [[::UbuntuWiki:UpdateManager/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/no | • {{#if: UbuntuWiki:UpdateManager|norsk| [[::UbuntuWiki:UpdateManager/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/oc | • {{#if: UbuntuWiki:UpdateManager|occitan| [[::UbuntuWiki:UpdateManager/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/pl | • {{#if: UbuntuWiki:UpdateManager|polski| [[::UbuntuWiki:UpdateManager/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/pt | • {{#if: UbuntuWiki:UpdateManager|português| [[::UbuntuWiki:UpdateManager/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ro | • {{#if: UbuntuWiki:UpdateManager|română| [[::UbuntuWiki:UpdateManager/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/ru | • {{#if: UbuntuWiki:UpdateManager|русский| [[::UbuntuWiki:UpdateManager/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/si | • {{#if: UbuntuWiki:UpdateManager|සිංහල| [[::UbuntuWiki:UpdateManager/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/sq | • {{#if: UbuntuWiki:UpdateManager|shqip| [[::UbuntuWiki:UpdateManager/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/sr | • {{#if: UbuntuWiki:UpdateManager|српски / srpski| [[::UbuntuWiki:UpdateManager/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/sv | • {{#if: UbuntuWiki:UpdateManager|svenska| [[::UbuntuWiki:UpdateManager/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/th | • {{#if: UbuntuWiki:UpdateManager|ไทย| [[::UbuntuWiki:UpdateManager/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/tr | • {{#if: UbuntuWiki:UpdateManager|Türkçe| [[::UbuntuWiki:UpdateManager/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/vi | • {{#if: UbuntuWiki:UpdateManager|Tiếng Việt| [[::UbuntuWiki:UpdateManager/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/yue | • {{#if: UbuntuWiki:UpdateManager|粵語| [[::UbuntuWiki:UpdateManager/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/zh | • {{#if: UbuntuWiki:UpdateManager|中文| [[::UbuntuWiki:UpdateManager/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/zh-hans | • {{#if: UbuntuWiki:UpdateManager|中文(简体)| [[::UbuntuWiki:UpdateManager/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuWiki:UpdateManager | UbuntuWiki:UpdateManager | {{#if: | :}}UbuntuWiki:UpdateManager}}/zh-hant | • {{#if: UbuntuWiki:UpdateManager|中文(繁體)| [[::UbuntuWiki:UpdateManager/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuWiki:UpdateManager|:UbuntuWiki:UpdateManager|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UbuntuWiki:UpdateManager/zh | | {{#ifexist: UbuntuWiki:UpdateManager/zh | | {{#ifeq: {{#titleparts:UbuntuWiki:UpdateManager|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UbuntuWiki:UpdateManager|1|-1|}} | zh | | }}
Current Situation
The current update system which update-manager and update-notifier works quite well. Update Notifier does the update checking and displays a neat little icon in the systray.
When the icon is clicked it opens up Update Manager to display a list with updates with changelogs, and button to install them.
I beg to differ. Please see blog article "Recent GNOME panel apps" at http://www.linuxjournal.com which expresses the feeling a lot of us have about the nag messages from update manager that are impossible to turn off and impossible to respond to unless you are root or an admin. The update manager probably has no business being in the systray.
Main thoughts
- Update Manger doesn't really have frontend-backend seperation. We should seperate it so more frontends can be made.
- We should clean up the code, and maybe split the package into a library and multiple frontend GUI's (GNOME and KDE) (rewrite?)
Possible features:
- Display a dialog at the start of Update Manager to show the progress of the initialization. (requires some hacking in python-apt)
- Option to fetch all changelogs at initialization (already possible --download-changes-at-startup, but seems to have a bug right now)
- Show a loading cursor when doing something.
- HIGify dialogs.
- Integrate with gnome-app-install desktop files? This way we can draw little icons next to applications.
- Do installation of packages by itself, not with the help of Synaptic (should be more responsive in user views)
- Add filters (applications, libraries, etc.)
Client/Frontend seperation
It would be nice to have a LibUpdateManager or equilevant as a python library. (Yeah we need a better name for it, suggestions?)
Some random thoughts:
- For Breezy, we might be able to integrate python-apt changes in LibUpdateManager so it can install the updates without the need of Synaptic. This way other GUI toolkits won't have to use a GNOME package manager to install the updates.
The lib should be able to:
- check for updates
- select/deselect updates
- install updates
- configure apt's config variables (update checking etc.)
From shermann Thu May 12 09:30:27 +0100 2005 From: shermann Date: Thu, 12 May 2005 09:30:27 +0100 Subject: python-apt Progress implementation thoughts Message-ID: <20050512093027+0100@https://www.ubuntulinux.org>
As I discussed this issue with Michael Vogt, we should think about implementing the progress stuff as callback methods. So, we can use the normal processEvent() queues from gnome or kde. I was thinking about an implementation like the one in the BitTorrent Python API.