source: projects/synaptic/trunk/doc/html/C/ar01s03.html @ 280

Revision 280, 28.8 KB checked in by yasumichi, 15 years ago (diff)

first import

Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Managing Packages</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Synaptic Package Manager Manual V0.1.2"><link rel="up" href="index.html" title="Synaptic Package Manager Manual V0.1.2"><link rel="prev" href="ar01s02.html" title="Main Window"><link rel="next" href="ar01s04.html" title="Repositories"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Managing Packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="synaptic-single"></a>Managing Packages</h2></div></div></div><p>
2                This chapter covers the basic actions <a href="ar01s03.html#anchor-installing">installing</a>,
3                <a href="ar01s03.html#anchor-removing">removing</a> and <a href="ar01s03.html#anchor-upgrading">upgrading</a>
4                of packages.
5        </p><p>
6                Furthermore performing a <a href="ar01s03.html#anchor-dist-upgrade">system upgrade</a>,
7                <a href="ar01s03.html#anchor-dwww">browsing</a> the online documentation,
8                <a href="ar01s03.html#anchor-changelog">reading</a> the changelog       and the advanced actions
9                <a href="ar01s03.html#anchor-force">forcing</a> the installation of a specific package version,
10                <a href="ar01s03.html#anchor-lock">locking</a> a package to the current version are described.
11        </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-install"></a>To Install Packages</h3></div></div></div><a name="anchor-installing"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
12                        If different version of the same package are available <span class="application">Synaptic Package Manager</span>  will select the most
13                        applicable by default. To force the installation of a specific version that is different
14                        to the default one, see <a href="ar01s03.html#synaptic-pkg-force" title="To Force the Installation of a Specific Version">the section called “To Force the Installation of a Specific Version”</a>.
15                </p></div><p>
16                If you want to install a package perform the following steps:
17        </p><div class="orderedlist"><ol type="1"><li><p>
18                                Reload the package information to be aware of the latest versions available:
19
20                        </p><div class="itemizedlist"><ul type="disc"><li><p>
21                                                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Reload Package Information</span> from the menu.
22                                        </p></li><li><p>
23                                                Click on <span class="guibutton">Reload</span> in the toolbar.
24                                        </p></li><li><p>
25                                                Press the key combination
26                                                <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">R</strong></span>.
27                                        </p></li></ul></div><p>
28                        </p></li><li><p>
29                                Mark the package for installation:
30
31                                </p><div class="itemizedlist"><ul type="disc"><li><p>
32                                                        Double click on the name of the package in the
33                                                        <a href="ar01s02.html#synaptic-win-list">package list</a>.
34                                                </p></li><li><p>
35                                                        Click on the status icon of the package and choose <span class="guimenuitem">
36                                                        Mark for Installation</span> from the menu.
37                                                </p></li><li><p>
38                                                        Right click on the package and choose <span class="guimenuitem">
39                                                        Mark for Installation</span> from the
40                                                        context menu.
41                                                </p></li><li><p>
42                                                        Select the package and
43                                                        choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Mark for Installation</span> from the menu.
44                                                </p></li><li><p>
45                                                        Select the package and
46                                                        press the key combination <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">I</strong></span>.
47                                                </p></li></ul></div><p>
48                        </p><p>
49                                If the installation of the package(s) requires additional changes, you will be asked
50                                for confirmation. To also mark the additional changes click on the button <span class="guibutton">Mark
51                                </span>.
52                        </p></li><li><p>
53                                Apply the marked changes to actually install the package:
54
55                                </p><div class="itemizedlist"><ul type="disc"><li><p>
56                                                        Click on <span class="guibutton">Apply</span> in the toolbar.   
57                                        </p></li><li><p>
58                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
59                                                </p></li><li><p>
60                                                        Press the key combination
61                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
62                                                </p></li></ul></div><p>
63                        </p></li><li><p>
64                                You will be asked for confirmation. Check the summarized changes that will be applied.
65                                To continue with the actual installation confirm the changes click on <span class="guibutton">Apply</span>.
66                        </p></li><li><p>
67                                During the processing of the changes you will see a progressbar. Wait until
68                                the changes have been applied. This can take some time depending on the number
69                                of changes. Afterwards you will be returned to the main window.
70                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
71                                        The progressbar is not available on Debian system. Instead you will
72                                        see a detailed terminal output.
73                                 </p></div></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-remove"></a>To Remove Packages</h3></div></div></div><a name="anchor-removing"></a><p>
74                </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
75                                Configuration files and user created data (e.g. a website in "/var/www") are not removed
76                                from the system by default.
77                        </p><p>
78                                <span class="emphasis"><em>Debian only:</em></span> You can change the default behavior in the preferences.
79                        </p><p>
80                                <span class="emphasis"><em>Debian only:</em></span> To remove all files related to the package
81                                choose <span class="guimenuitem">Mark for
82                                Complete Removal</span> instead of
83                                <span class="guimenuitem">Mark for Removal</span>.
84                        </p></div><p>
85        </p><p>
86                To remove a packages follow these steps:
87        </p><div class="orderedlist"><ol type="1"><li><p>
88                                Mark the package for removal:
89                                </p><div class="itemizedlist"><ul type="disc"><li><p>
90                                                        Double click on the name of the installed package in the
91                                                        <a href="ar01s02.html#synaptic-win-list">package list</a>.
92                                                </p></li><li><p>
93                                                        Click on the status icon of the package and choose <span class="guimenuitem">
94                                                        Mark for Removal</span> from the menu.
95                                                </p></li><li><p>
96                                                        Right click on the package and choose <span class="guimenuitem">
97                                                        Remove</span> from the context menu.
98                                                </p></li><li><p>
99                                                        Select the package and
100                                                        choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Mark for Removal</span> from the menu.
101                                                </p></li><li><p>
102                                                        Select the package and
103                                                        press the key <span><strong class="keycap">Delete</strong></span>.
104                                                </p></li></ul></div><p>
105                        </p><p>
106                                If the removal of the package(s) requires additional changes, you will be asked
107                                for confirmation. To also mark the additional changes click on the button <span class="guibutton">Mark
108                                </span>.
109                        </p></li><li><p>
110                                Apply the marked changes to actually remove the package(s):
111
112                                </p><div class="itemizedlist"><ul type="disc"><li><p>
113                                                        Click on <span class="guibutton">Apply</span> in the toolbar.
114                                                </p></li><li><p>
115                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
116                                                </p></li><li><p>
117                                                        Press the key combination
118                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
119                                                </p></li></ul></div><p>
120                        </p></li><li><p>
121                                You are asked for confirmation. Check the summarized changes that will be applied.
122                                To continue with the actual removal confirm the changes click on <span class="guibutton">Apply</span>.
123                        </p></li><li><p>
124                                During the processing of the changes you will see a progressbar. Wait until
125                                the changes have been applied. This can take some time depending on the number
126                                of changes. Afterwards you will be returned to the main window.
127                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
128                                        The progressbar is not available on Debian system. Instead you will
129                                        see a detailed terminal output.
130                                </p></div></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-upgrade"></a>To Upgrade Packages</h3></div></div></div><a name="anchor-upgrading"></a><p>
131                To upgrade a package follow these steps:
132        </p><div class="orderedlist"><ol type="1"><li><p>
133                                Reload the package information to be aware of the latest versions available:
134
135                                </p><div class="itemizedlist"><ul type="disc"><li><p>
136                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Reload Package Information</span> 
137                                                        from the menu.
138                                                </p></li><li><p>
139                                                        Click on <span class="guibutton">Reload</span> in the toolbar.
140                                                </p></li><li><p>
141                                                        Press the key combination
142                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">R</strong></span>.
143                                                </p></li></ul></div><p>
144                        </p></li><li><p>
145                                Mark the package for upgrade:
146
147                                </p><div class="itemizedlist"><ul type="disc"><li><p>
148                                                        Double click on the name of the package with a later version available
149                                                        in the <a href="ar01s02.html#synaptic-win-list">package list</a>.
150                                                </p></li><li><p>
151                                                        Click on the status icon of the package and choose <span class="guimenuitem">
152                                                        Mark for Upgrade</span> from the menu.
153                                                </p></li><li><p>
154                                                        Right click on the package and choose <span class="guimenuitem">
155                                                        Mark for Upgrade</span> from the
156                                                        context menu.
157                                                </p></li><li><p>
158                                                        Select the package and
159                                                        choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Mark for Upgrade</span> from the menu.
160                                                </p></li><li><p>
161                                                        Select the package and
162                                                        press the key combination
163                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
164                                                </p></li></ul></div><p>
165                        </p><p>
166                                If the upgrade of the package(s) requires additional changes, you will be asked
167                                for confirmation. To also mark the additional changes click on the button <span class="guibutton">Mark
168                                </span>.
169                        </p></li><li><p>
170                                Apply the marked changes to actually upgrade the package:
171                        </p><div class="itemizedlist"><ul type="disc"><li><p>
172                                                Click on <span class="guibutton">Apply</span> in the toolbar.
173                                        </p></li><li><p>
174                                                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
175                                        </p></li><li><p>
176                                                Press the key combination
177                                                <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
178                                        </p></li></ul></div></li><li><p>
179                                You are asked for confirmation. Check the summarized changes that will be applied.
180                                To continue with the actual upgrade confirm the changes click on <span class="guibutton">Apply</span>.
181                        </p></li><li><p>
182                                During the processing of the changes you will see a progressbar. Wait until
183                                the changes have been applied. This can take some time depending on the number
184                                of changes. Afterwards you will be returned to the main window.
185                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
186                                        The progressbar is not available on Debian system. Instead you will
187                                        see a detailed terminal output.
188                                </p></div></li></ol></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
189                        To upgrade all installed packages to the latest version,
190                        see <a href="ar01s03.html#synaptic-pkg-upgradesystem" title="To Upgrade the Whole System">the section called “To Upgrade the Whole System”</a>.
191                </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-upgradesystem"></a>To Upgrade the Whole System</h3></div></div></div><a name="anchor-dist-upgrade"></a><p>
192                <span class="application">Synaptic Package Manager</span> provides two methods for marking packages for upgrade:
193                </p><div class="variablelist"><dl><dt><span class="term">
194                                        Default Upgrade
195                                </span></dt><dd><p> 
196                                                The default upgrade method marks upgrades of installed packages only.
197                                                If the later version of a package depends on not installed packages
198                                                or conflicts with an already installed package,
199                                                the upgrade will not be marked.
200                                        </p></dd><dt><span class="term">
201                                        Smart Upgrade (Dist-Upgrade)
202                                </span></dt><dd><p>
203                                                The smart upgrade method tries to resolve package conflicts intelligently. This includes
204                                                installing additional required packages and preferring packages with
205                                                higher priority.
206                                        </p><p>
207                                                Smart upgrade is also known as <span class="emphasis"><em>dist-upgrade</em></span> in the console tool apt-get.
208                                        </p></dd></dl></div><p>
209
210                </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
211                                Upgrades to a later operating system major releases have to be performed with the
212                                smart upgrade method, e.g. from Conectiva 9 to Conectiva 10 or from
213                                Debian Woody to Debian Sarge.
214                        </p></div><p>
215        </p><p>
216                To upgrade your system to the latest version follow these steps:
217        </p><div class="orderedlist"><ol type="1"><li><p>
218                                 Reload the package information to be aware of the latest versions available:
219
220                                </p><div class="itemizedlist"><ul type="disc"><li><p>
221                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Reload Package Information</span> from the menu.
222                                                </p></li><li><p>
223                                                        Click on <span class="guibutton">Reload</span> in the toolbar.
224                                                </p></li><li><p>
225                                                        Press the key combination <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">R</strong></span>.
226                                                </p></li></ul></div><p>
227                        </p></li><li><p>
228                                Mark all possible upgrades:
229
230                                </p><div class="itemizedlist"><ul type="disc"><li><p>
231                                                        Click on <span class="guibutton">Mark all Upgrades
232                                                        </span> in the toolbar.
233                                                </p></li><li><p>
234                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Mark all Upgrades</span> from the menu.
235                                                </p></li><li><p>
236                                                        Press the key combination <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">G</strong></span>.
237                                                </p></li></ul></div><p>
238                        </p></li><li><p>
239                                Choose the upgrade method. Smart upgrade is recommended.
240                        </p></li><li><p>
241                                Apply the marked changes to actually upgrade the package(s):
242
243                                </p><div class="itemizedlist"><ul type="disc"><li><p>
244                                                        Click on <span class="guibutton">Apply</span> in the toolbar.
245                                                </p></li><li><p>
246                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> 
247                                                        from the menu.
248                                                </p></li><li><p>
249                                                        Press the key combination
250                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
251                                                </p></li></ul></div><p>
252                        </p></li><li><p>
253                                You are asked for confirmation. Check the summarized changes that will be applied.
254                                To continue with the actual upgrade confirm the changes click on <span class="guibutton">Apply</span>.
255                        </p></li><li><p>
256                                During the processing of the changes you will see a progressbar. Wait until
257                                the changes have been applied. This can take some time depending on the number
258                                of changes. Afterwards you will be returned to the main window.
259                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
260                                        The progressbar is not available on Debian system. Instead you will
261                                        see a detailed terminal output.
262                                </p></div></li></ol></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
263                        You can change the default upgrade method for further upgrade in the preferences
264                        .
265                </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-apply"></a>To Apply Marked Changes</h3></div></div></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
266                        To show packages that are marked for a status change
267                        only choose the "Marked Changes" filter, see
268                        <a href="ar01s05.html#synaptic-filter-apply" title="To Apply Filters">the section called “To Apply Filters”</a>.
269                </p></div><p>
270                To apply marked changes:
271
272                </p><div class="itemizedlist"><ul type="disc"><li><p>
273                                        Click on <span class="guibutton">Apply</span> in the toolbar.
274                                </p></li><li><p>
275                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
276                                </p></li><li><p>
277                                        Press the key combination
278                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
279                                </p></li></ul></div><p>
280        </p><p>
281                You are asked for confirmation. Check the summarized changes that will be applied.
282                To confirm the changes click on the button <span class="guibutton">Apply</span>.
283        </p><p>
284                During the processing of the changes you will see a progressbar. Wait until
285                the changes have been applied. This can take some time depending on the number
286                of changes. Afterwards you will be returned to the main window.
287        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
288                        The progressbar is not available on Debian system. Instead you will
289                        see a detailed terminal output.
290                </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-undo"></a>To Unmark Changes</h3></div></div></div><p>
291                The following ways allow you to unmark changes:
292        </p><div class="variablelist"><dl><dt><span class="term">
293                                To undo the marking of specific packages
294                        </span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>
295                                                        Right click on the package and choose <span class="guimenuitem">Unmark</span> from
296                                                        the context menu.
297                                                </p></li><li><p>
298                                                        Select the package(s) and choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Unmark</span>.
299                                                </p></li><li><p>
300                                                        Select the package(s) and press <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">N</strong></span>.
301                                                </p></li></ul></div></dd><dt><span class="term">
302                                To undo all markings
303                        </span></dt><dd><p>
304                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Unmark All</span>
305                                        from the menu.
306                                </p></dd><dt><span class="term">
307                                To undo the last marking
308                        </span></dt><dd><p>
309                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Undo</span>
310                                        from the menu.
311                                </p><p>
312                                        This step can be repeated. The maxmium number of undo operations can be set
313                                        in the preferences. FIX link
314                                </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-config"></a>To Configure Packages (Debian only)</h3></div></div></div><p>
315                </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
316                                To use this feature you have to install the package
317                                <span class="emphasis"><em>libgnome2-perl</em></span>.
318                        </p></div><p>
319        </p><p>
320                Debian provides a unified method, called <span class="emphasis"><em>debconf</em></span>, to configure software packages. This feature
321                is not supported by all packages. If a package supports this feature the configuration can be done
322                through an assistant.
323        </p><p>
324                To configure a supported package:
325        </p><div class="orderedlist"><ol type="1"><li><p>
326                                Select the package that you wish to configure in the
327                                <a href="ar01s02.html#synaptic-win-list">package list</a>.
328                        </p></li><li><p>
329                                Choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Configure...</span> from the menu.
330                        </p></li></ol></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
331                        To get a list of all configurable packages choose the <span class="emphasis"><em>Configurable Packages</em></span> filter.
332                </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-docu"></a>To View Documentation for Packages (Debian only)</h3></div></div></div><a name="anchor-dwww"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
333                        To use this feature you have to install the package <span class="emphasis"><em>dwww</em></span>.
334                </p></div><p>
335                Dwww provides access to all the installed documentation
336                related to package with a web browser. The whole documentation is
337                hosted via a local HTTP server.
338        </p><div class="orderedlist"><ol type="1"><li><p>
339                                Select the package about that you wish to read additional documentation
340                                in the <a href="ar01s02.html#synaptic-win-list">package list</a>.
341                        </p></li><li><p>
342                                Choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Browse Documentation</span>.
343                        </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-changelog"></a>To View the Changelog of a Package (Debian only)</h3></div></div></div><a name="anchor-changelog"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
344                        The changelog of native Debian packages can be viewed, only.
345                </p></div><p>
346                To view the changelog of a native Debian package perform the following steps:
347        </p><div class="orderedlist"><ol type="1"><li><p>
348                                Select the package in the <a href="ar01s02.html#synaptic-win-list">package list</a>.
349                        </p></li><li><p>
350                                Choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Download Changelog</span>.
351                        </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-lock"></a>To Lock a Package to the Current Version (Debian only)</h3></div></div></div><a name="anchor-lock"></a><p>
352                To lock a package to the current version follow these steps:
353        </p><div class="orderedlist"><ol type="1"><li><p>
354                                Select the package that you want to lock in the <a href="ar01s02.html#synaptic-win-list">package list</a>.
355                        </p></li><li><p>
356                                Choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Lock Version</span>.
357                        </p><p>
358                                The <span class="application">Synaptic Package Manager</span> will reload the package information. You should now see, that the menu item <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Lock Version</span> is checked.
359                                Furthermore all actions in the menu <span class="guimenu">Package</span> are disabled now.
360                        </p></li></ol></div><p>
361                To unlock the package uncheck <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Lock Version</span>.
362        </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-force"></a>To Force the Installation of a Specific Version</h3></div></div></div><a name="anchor-force"></a><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
363                        The <span class="application">Synaptic Package Manager</span> always selects the most applicable version available. If you force a
364                        different version from the default one, errors in the dependency handling
365                        can occur.
366                </p></div><p>
367                To force the installation of a version of package different to the default one
368                perform the following steps:
369        </p><div class="orderedlist"><ol type="1"><li><p>
370                                Reload the package information to be aware of the latest versions available:
371
372                        </p><div class="itemizedlist"><ul type="disc"><li><p>
373                                                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Reload Package Information</span> from the menu.
374                                        </p></li><li><p>
375                                                Click on <span class="guibutton">Reload</span> in the toolbar.
376                                        </p></li><li><p>
377                                                Press the key combination
378                                                <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">R</strong></span>.
379                                        </p></li></ul></div><p>
380                        </p></li><li><p>
381                                Select the package in the <a href="ar01s02.html#synaptic-win-list">package list</a>.
382                        </p></li><li><p>
383                                Choose <span class="guimenu">Package</span>-&gt;<span class="guimenuitem">Force Version...</span> from the menu to open a dialog with all available versions of the package.
384                        </p></li><li><p>
385                                Select the version that should be marked for installation. To confirm your
386                                decision click on the button <span class="guibutton">Force</span>.
387                        </p></li><li><p>
388                                Apply the marked changes to actually install the forced package version:
389
390                                </p><div class="itemizedlist"><ul type="disc"><li><p>
391                                                        Click on <span class="guibutton">Apply</span> in the toolbar.   
392                                        </p></li><li><p>
393                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
394                                                </p></li><li><p>
395                                                        Press the key combination
396                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">P</strong></span>.
397                                                </p></li></ul></div><p>
398                        </p></li><li><p>
399                                You will be asked for confirmation. Check the summarized changes that will be applied.
400                                To continue with the actual installation confirm the changes click on <span class="guibutton">Apply</span>
401                        </p></li><li><p>
402                                During the processing of the changes you will see a progressbar. Wait until
403                                the changes have been applied. This can take some time depending on the number
404                                of changes. Afterwards you will be returned to the main window.
405                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
406                                        The progressbar is not available on Debian system. Instead you will
407                                        see a detailed terminal output.
408                                 </p></div></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-pkg-fix"></a>To Fix Broken Packages</h3></div></div></div><p>
409                <span class="application">Synaptic Package Manager</span> will not allow any further changes to the system before all broken packages are fixed.
410        </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>
411                        To show all broken packages choose the <span class="emphasis"><em>Broken</em></span> filter.
412                </p></div><p>
413                To correct the broken packages perform the following steps:
414                choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Fix Broken Packages</span> from the menu.
415        </p><div class="orderedlist"><ol type="1"><li><p>
416                                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Fix Broken Packages</span> from the menu.
417                        </p></li><li><p>
418                                Apply the marked changes to actually fix the packages:
419
420                                </p><div class="itemizedlist"><ul type="disc"><li><p>
421                                                        Click on <span class="guibutton">Apply</span> in the toolbar.   
422                                        </p></li><li><p>
423                                                        Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Apply Marked Changes</span> from the menu.
424                                                </p></li><li><p>
425                                                        Press the key combination
426                                                        <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">E</strong></span>.
427                                                </p></li></ul></div><p>
428                        </p></li><li><p>
429                                You will be asked for confirmation. Check the summarized changes that will be applied.
430                                To continue with the actual repair confirm the changes click on <span class="guibutton">Apply</span>
431                        </p></li><li><p>
432                                During the processing of the changes you will see a progressbar. Wait until
433                                the changes have been applied. This can take some time depending on the number
434                                of changes. Afterwards you will be returned to the main window.
435                        </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
436                                        The progressbar is not available on Debian system. Instead you will
437                                        see a detailed terminal output.
438                                </p></div></li></ol></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Main Window </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Repositories</td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.