~linaro-maintainers/live-build/linaro-live-build-3

« back to all changes in this revision

Viewing changes to includes/lenny/common/doc/FAQ/html/ch-uptodate.en.html

  • Committer: Daniel Baumann
  • Date: 2011-03-09 18:19:23 UTC
  • Revision ID: git-v1:c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a
Adding debian version 3.0~a1-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
 
 
3
 
<html>
4
 
 
5
 
<head>
6
 
 
7
 
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
8
 
 
9
 
<title>The Debian GNU/Linux FAQ - Keeping your Debian system up-to-date</title>
10
 
 
11
 
<link href="index.en.html" rel="start">
12
 
<link href="ch-pkgtools.en.html" rel="prev">
13
 
<link href="ch-kernel.en.html" rel="next">
14
 
<link href="index.en.html#contents" rel="contents">
15
 
<link href="index.en.html#copyright" rel="copyright">
16
 
<link href="ch-basic_defs.en.html" rel="chapter" title="1 Definitions and overview">
17
 
<link href="ch-getting.en.html" rel="chapter" title="2 Getting and installing Debian GNU/Linux">
18
 
<link href="ch-choosing.en.html" rel="chapter" title="3 Choosing a Debian distribution">
19
 
<link href="ch-compat.en.html" rel="chapter" title="4 Compatibility issues">
20
 
<link href="ch-software.en.html" rel="chapter" title="5 Software available in the Debian system">
21
 
<link href="ch-ftparchives.en.html" rel="chapter" title="6 The Debian FTP archives">
22
 
<link href="ch-pkg_basics.en.html" rel="chapter" title="7 Basics of the Debian package management system">
23
 
<link href="ch-pkgtools.en.html" rel="chapter" title="8 The Debian package management tools">
24
 
<link href="ch-uptodate.en.html" rel="chapter" title="9 Keeping your Debian system up-to-date">
25
 
<link href="ch-kernel.en.html" rel="chapter" title="10 Debian and the kernel">
26
 
<link href="ch-customizing.en.html" rel="chapter" title="11 Customizing your installation of Debian GNU/Linux">
27
 
<link href="ch-support.en.html" rel="chapter" title="12 Getting support for Debian GNU/Linux">
28
 
<link href="ch-contributing.en.html" rel="chapter" title="13 Contributing to the Debian Project">
29
 
<link href="ch-redistrib.en.html" rel="chapter" title="14 Redistributing Debian GNU/Linux in a commercial product">
30
 
<link href="ch-nexttime.en.html" rel="chapter" title="15 Changes expected in the next major release of Debian">
31
 
<link href="ch-faqinfo.en.html" rel="chapter" title="16 General information about the FAQ">
32
 
<link href="ch-basic_defs.en.html#s-whatisfaq" rel="section" title="1.1 What is this FAQ?">
33
 
<link href="ch-basic_defs.en.html#s-whatisdebian" rel="section" title="1.2 What is Debian GNU/Linux?">
34
 
<link href="ch-basic_defs.en.html#s-linux" rel="section" title="1.3 OK, now I know what Debian is... what is Linux?!">
35
 
<link href="ch-basic_defs.en.html#s-non-linux" rel="section" title="1.4 Does Debian just do GNU/Linux?">
36
 
<link href="ch-basic_defs.en.html#s-difference" rel="section" title="1.5 What is the difference between Debian GNU/Linux and other Linux distributions? Why should I choose Debian over some other distribution?">
37
 
<link href="ch-basic_defs.en.html#s-gnu" rel="section" title="1.6 How does the Debian project fit in or compare with the Free Software Foundation's GNU project?">
38
 
<link href="ch-basic_defs.en.html#s-pronunciation" rel="section" title="1.7 How does one pronounce Debian and what does this word mean?">
39
 
<link href="ch-getting.en.html#s-version" rel="section" title="2.1 What is the latest version of Debian?">
40
 
<link href="ch-getting.en.html#s-updatestable" rel="section" title="2.2 Are there package upgrades in `stable'?">
41
 
<link href="ch-getting.en.html#s-boot-floppies" rel="section" title="2.3 Where/how can I get the Debian installation disks?">
42
 
<link href="ch-getting.en.html#s-cdrom" rel="section" title="2.4 How do I install the Debian from CD-ROMs?">
43
 
<link href="ch-getting.en.html#s-cdimage-symlinks" rel="section" title="2.5 Why does the official stable released CD-ROM contain symlinks for `frozen' and `unstable'? I thought this CD contains just `stable'!">
44
 
<link href="ch-getting.en.html#s-remoteinstall" rel="section" title="2.6 Can I get and install Debian directly from a remote Internet site?">
45
 
<link href="ch-getting.en.html#s-alternativebootinstaller" rel="section" title="2.7 Are there any alternative strategies for booting the system installer?">
46
 
<link href="ch-choosing.en.html#s3.1" rel="section" title="3.1 Which Debian distribution (stable/testing/unstable) is better for me?">
47
 
<link href="ch-choosing.en.html#s3.2" rel="section" title="3.2 But what about Knoppix, Linex, Ubuntu, and others?">
48
 
<link href="ch-compat.en.html#s-arches" rel="section" title="4.1 On what hardware architectures/systems does Debian GNU/Linux run?">
49
 
<link href="ch-compat.en.html#s-otherdistribs" rel="section" title="4.2 How compatible is Debian with other distributions of Linux?">
50
 
<link href="ch-compat.en.html#s-otherunices" rel="section" title="4.3 How source code compatible is Debian with other Unix systems?">
51
 
<link href="ch-compat.en.html#s-otherpackages" rel="section" title="4.4 Can I use Debian packages (&quot;.deb&quot; files) on my Red Hat/Slackware/... Linux system? Can I use Red Hat packages (&quot;.rpm&quot; files) on my Debian GNU/Linux system?">
52
 
<link href="ch-compat.en.html#s-non-debian-programs" rel="section" title="4.5 How should I install a non-Debian program?">
53
 
<link href="ch-compat.en.html#s-termcap" rel="section" title="4.6 Why can't I compile programs that require libtermcap?">
54
 
<link href="ch-compat.en.html#s-accelx" rel="section" title="4.7 Why can't I install AccelX?">
55
 
<link href="ch-compat.en.html#s-motifnls" rel="section" title="4.8 Why do my old XFree 2.1 Motif applications crash?">
56
 
<link href="ch-software.en.html#s-apps" rel="section" title="5.1 What types of applications and development software are available for Debian GNU/Linux?">
57
 
<link href="ch-software.en.html#s-softwareauthors" rel="section" title="5.2 Who wrote all that software?">
58
 
<link href="ch-software.en.html#s-pkglist" rel="section" title="5.3 How can I get a current list of programs that have been packaged for Debian?">
59
 
<link href="ch-software.en.html#s-buildenv" rel="section" title="5.4 How can I install a developer's environment to build packages?">
60
 
<link href="ch-software.en.html#s-missing" rel="section" title="5.5 What is missing from Debian GNU/Linux?">
61
 
<link href="ch-software.en.html#s-no-devs" rel="section" title="5.6 Why do I get &quot;ld: cannot find -lfoo&quot; messages when compiling programs? Why aren't there any libfoo.so files in Debian library packages?">
62
 
<link href="ch-software.en.html#s-java" rel="section" title="5.7 (How) Does Debian support Java?">
63
 
<link href="ch-software.en.html#s-isitdebian" rel="section" title="5.8 How can I check that I am using a Debian system, and what version is it?">
64
 
<link href="ch-software.en.html#s-nonenglish" rel="section" title="5.9 How does Debian support non-English languages?">
65
 
<link href="ch-software.en.html#s-pine" rel="section" title="5.10 Where is pine?">
66
 
<link href="ch-software.en.html#s-qmail" rel="section" title="5.11 Where is qmail/ezmlm/djbdns?">
67
 
<link href="ch-software.en.html#s-flash" rel="section" title="5.12 Where is a player for Flash (SWF)?">
68
 
<link href="ch-software.en.html#s-googleearth" rel="section" title="5.13 Where is Google Earth?">
69
 
<link href="ch-software.en.html#s-voip" rel="section" title="5.14 Where is VoIP software?">
70
 
<link href="ch-software.en.html#s-nonfreewireless" rel="section" title="5.15 I have a wireless network card which doesn't work with Linux. What should I do?">
71
 
<link href="ch-ftparchives.en.html#s-dists" rel="section" title="6.1 How many Debian distributions are there?">
72
 
<link href="ch-ftparchives.en.html#s-codenames" rel="section" title="6.2 What are all those names like etch, lenny, etc.?">
73
 
<link href="ch-ftparchives.en.html#s-sid" rel="section" title="6.3 What about &quot;sid&quot;?">
74
 
<link href="ch-ftparchives.en.html#s-stable" rel="section" title="6.4 What does the stable directory contain?">
75
 
<link href="ch-ftparchives.en.html#s-testing" rel="section" title="6.5 What does the testing distribution contain?">
76
 
<link href="ch-ftparchives.en.html#s-unstable" rel="section" title="6.6 What does the unstable distribution contain?">
77
 
<link href="ch-ftparchives.en.html#s-dirtree" rel="section" title="6.7 What are all those directories at the Debian FTP archives?">
78
 
<link href="ch-ftparchives.en.html#s-archsections" rel="section" title="6.8 What are all those directories inside <samp>dists/stable/main</samp>?">
79
 
<link href="ch-ftparchives.en.html#s-source" rel="section" title="6.9 Where is the source code?">
80
 
<link href="ch-ftparchives.en.html#s-pools" rel="section" title="6.10 What's in the <samp>pool</samp> directory?">
81
 
<link href="ch-ftparchives.en.html#s-incoming" rel="section" title="6.11 What is &quot;incoming&quot;?">
82
 
<link href="ch-ftparchives.en.html#s-ownrepository" rel="section" title="6.12 How do I set up my own apt-able repository?">
83
 
<link href="ch-pkg_basics.en.html#s-package" rel="section" title="7.1 What is a Debian package?">
84
 
<link href="ch-pkg_basics.en.html#s-deb-format" rel="section" title="7.2 What is the format of a Debian binary package?">
85
 
<link href="ch-pkg_basics.en.html#s-pkgname" rel="section" title="7.3 Why are Debian package file names so long?">
86
 
<link href="ch-pkg_basics.en.html#s-controlfile" rel="section" title="7.4 What is a Debian control file?">
87
 
<link href="ch-pkg_basics.en.html#s-conffile" rel="section" title="7.5 What is a Debian conffile?">
88
 
<link href="ch-pkg_basics.en.html#s-maintscripts" rel="section" title="7.6 What is a Debian preinst, postinst, prerm, and postrm script?">
89
 
<link href="ch-pkg_basics.en.html#s-priority" rel="section" title="7.7 What is an <em>Essential</em>, <em>Required</em>, <em>Important</em>, <em>Standard</em>, <em>Optional</em>, or <em>Extra</em> package?">
90
 
<link href="ch-pkg_basics.en.html#s-virtual" rel="section" title="7.8 What is a Virtual Package?">
91
 
<link href="ch-pkg_basics.en.html#s-depends" rel="section" title="7.9 What is meant by saying that a package <em>Depends</em>, <em>Recommends</em>, <em>Suggests</em>, <em>Conflicts</em>, <em>Replaces</em> or <em>Provides</em> another package?">
92
 
<link href="ch-pkg_basics.en.html#s-pre-depends" rel="section" title="7.10 What is meant by Pre-Depends?">
93
 
<link href="ch-pkg_basics.en.html#s-pkgstatus" rel="section" title="7.11 What is meant by <em>unknown</em>, <em>install</em>, <em>remove</em>, <em>purge</em> and <em>hold</em> in the package status?">
94
 
<link href="ch-pkg_basics.en.html#s-puttingonhold" rel="section" title="7.12 How do I put a package on hold?">
95
 
<link href="ch-pkg_basics.en.html#s-sourcepkgs" rel="section" title="7.13 How do I install a source package?">
96
 
<link href="ch-pkg_basics.en.html#s-sourcebuild" rel="section" title="7.14 How do I build binary packages from a source package?">
97
 
<link href="ch-pkg_basics.en.html#s-creatingdebs" rel="section" title="7.15 How do I create Debian packages myself?">
98
 
<link href="ch-pkgtools.en.html#s-pkgprogs" rel="section" title="8.1 What programs does Debian provide for managing its packages?">
99
 
<link href="ch-pkgtools.en.html#s-updaterunning" rel="section" title="8.2 Debian claims to be able to update a running program; how is this accomplished?">
100
 
<link href="ch-pkgtools.en.html#s-whatpackages" rel="section" title="8.3 How can I tell what packages are already installed on a Debian system?">
101
 
<link href="ch-pkgtools.en.html#s-listfiles" rel="section" title="8.4 How to display the files of a package installed?">
102
 
<link href="ch-pkgtools.en.html#s-filesearch" rel="section" title="8.5 How can I find out what package produced a particular file?">
103
 
<link href="ch-pkgtools.en.html#s-datapackages" rel="section" title="8.6 Why doesn't get `foo-data' removed when I uninstall `foo'? How do I make sure old unused library-packages get purged?">
104
 
<link href="ch-uptodate.en.html#s-howtocurrent" rel="section" title="9.1 How can I keep my Debian system current?">
105
 
<link href="ch-uptodate.en.html#s-upgradesingle" rel="section" title="9.2 Must I go into single user mode in order to upgrade a package?">
106
 
<link href="ch-uptodate.en.html#s-savedebs" rel="section" title="9.3 Do I have to keep all those .deb archive files on my disk?">
107
 
<link href="ch-uptodate.en.html#s-keepingalog" rel="section" title="9.4 How can I keep a log of the packages I added to the system? I'd like to know when which package upgrades and removals have occured!">
108
 
<link href="ch-uptodate.en.html#s-autoupdate" rel="section" title="9.5 Can I automatically update the system?">
109
 
<link href="ch-uptodate.en.html#s-aptproxy" rel="section" title="9.6 I have several machines how can I download the updates only one time?">
110
 
<link href="ch-kernel.en.html#s-non-debian-kernel" rel="section" title="10.1 Can I install and compile a kernel without some Debian-specific tweaking?">
111
 
<link href="ch-kernel.en.html#s-customkernel" rel="section" title="10.2 What tools does Debian provide to build custom kernels?">
112
 
<link href="ch-kernel.en.html#s-custombootdisk" rel="section" title="10.3 How can I make a custom boot floppy?">
113
 
<link href="ch-kernel.en.html#s-modules" rel="section" title="10.4 What special provisions does Debian provide to deal with modules?">
114
 
<link href="ch-kernel.en.html#s-removeoldkernel" rel="section" title="10.5 Can I safely de-install an old kernel package, and if so, how?">
115
 
<link href="ch-customizing.en.html#s-papersize" rel="section" title="11.1 How can I ensure that all programs use the same paper size?">
116
 
<link href="ch-customizing.en.html#s-hardwareaccess" rel="section" title="11.2 How can I provide access to hardware peripherals, without compromising security?">
117
 
<link href="ch-customizing.en.html#s-consolefont" rel="section" title="11.3 How do I load a console font on startup the Debian way?">
118
 
<link href="ch-customizing.en.html#s-appdefaults" rel="section" title="11.4 How can I configure an X11 program's application defaults?">
119
 
<link href="ch-customizing.en.html#s-booting" rel="section" title="11.5 Every distribution seems to have a different boot-up method. Tell me about Debian's.">
120
 
<link href="ch-customizing.en.html#s-custombootscripts" rel="section" title="11.6 It looks as if Debian does not use <samp>rc.local</samp> to customize the boot process; what facilities are provided?">
121
 
<link href="ch-customizing.en.html#s-interconffiles" rel="section" title="11.7 How does the package management system deal with packages that contain configuration files for other packages?">
122
 
<link href="ch-customizing.en.html#s-divert" rel="section" title="11.8 How do I override a file installed by a package, so that a different version can be used instead?">
123
 
<link href="ch-customizing.en.html#s-localpackages" rel="section" title="11.9 How can I have my locally-built package included in the list of available packages that the package management system knows about?">
124
 
<link href="ch-customizing.en.html#s-diverse" rel="section" title="11.10 Some users like mawk, others like gawk; some like vim, others like elvis; some like trn, others like tin; how does Debian support diversity?">
125
 
<link href="ch-support.en.html#s-debiandocs" rel="section" title="12.1 What other documentation exists on and for a Debian system?">
126
 
<link href="ch-support.en.html#s-onlineresources" rel="section" title="12.2 Are there any on-line resources for discussing Debian?">
127
 
<link href="ch-support.en.html#s-searchtools" rel="section" title="12.3 Is there a quick way to search for information on Debian GNU/Linux?">
128
 
<link href="ch-support.en.html#s-buglogs" rel="section" title="12.4 Are there logs of known bugs?">
129
 
<link href="ch-support.en.html#s-bugreport" rel="section" title="12.5 How do I report a bug in Debian?">
130
 
<link href="ch-contributing.en.html#s-contrib" rel="section" title="13.1 How can I become a Debian software developer?">
131
 
<link href="ch-contributing.en.html#s-contribresources" rel="section" title="13.2 How can I contribute resources to the Debian project?">
132
 
<link href="ch-contributing.en.html#s-supportingorganizations" rel="section" title="13.3 How can I contribute financially to the Debian project?">
133
 
<link href="ch-redistrib.en.html#s-sellcds" rel="section" title="14.1 Can I make and sell Debian CDs?">
134
 
<link href="ch-redistrib.en.html#s-packagednonfree" rel="section" title="14.2 Can Debian be packaged with non-free software?">
135
 
<link href="ch-redistrib.en.html#s-childistro" rel="section" title="14.3 I am making a special Linux distribution for a &quot;vertical market&quot;. Can I use Debian GNU/Linux for the guts of a Linux system and add my own applications on top of it?">
136
 
<link href="ch-redistrib.en.html#s-commercialdebs" rel="section" title="14.4 Can I put my commercial program in a Debian &quot;package&quot; so that it installs effortlessly on any Debian system?">
137
 
<link href="ch-nexttime.en.html#s-i18n" rel="section" title="15.1 Extended support for non-English users">
138
 
<link href="ch-nexttime.en.html#s-dependencybasedboot" rel="section" title="15.2 Faster booting: Dependency based boot sequence">
139
 
<link href="ch-nexttime.en.html#s-di" rel="section" title="15.3 Improvements in the Debian Installer">
140
 
<link href="ch-nexttime.en.html#s-morearches" rel="section" title="15.4 More architectures">
141
 
<link href="ch-nexttime.en.html#s-morekernels" rel="section" title="15.5 More kernels">
142
 
<link href="ch-faqinfo.en.html#s-authors" rel="section" title="16.1 Authors">
143
 
<link href="ch-faqinfo.en.html#s-feedback" rel="section" title="16.2 Feedback">
144
 
<link href="ch-faqinfo.en.html#s-latest" rel="section" title="16.3 Availability">
145
 
<link href="ch-faqinfo.en.html#s-docformat" rel="section" title="16.4 Document format">
146
 
<link href="ch-choosing.en.html#s3.1.1" rel="subsection" title="3.1.1 You asked me to install stable, but in stable so and so hardware is not detected/working. What should I do?">
147
 
<link href="ch-choosing.en.html#s3.1.2" rel="subsection" title="3.1.2 Will there be different different versions of packages in different distributions?">
148
 
<link href="ch-choosing.en.html#s3.1.3" rel="subsection" title="3.1.3 The stable distributions really contains outdated packages. Just look at Kde, Gnome, Xorg or even the kernel. They are very old. Why is it so?">
149
 
<link href="ch-choosing.en.html#s3.1.4" rel="subsection" title="3.1.4 If I were to decide to change to another distribution, Can I do that?">
150
 
<link href="ch-choosing.en.html#s3.1.5" rel="subsection" title="3.1.5 Could you tell me whether to install testing or unstable?">
151
 
<link href="ch-choosing.en.html#s3.1.6" rel="subsection" title="3.1.6 You are talking about testing being broken. What do you mean by that?">
152
 
<link href="ch-choosing.en.html#s3.1.7" rel="subsection" title="3.1.7 Why is it that testing could be broken for months? Wont the fixes introduced in unstable flow directly down into testing?">
153
 
<link href="ch-choosing.en.html#s3.1.8" rel="subsection" title="3.1.8 From an administrator's point of view, Which distribution requires more attention?">
154
 
<link href="ch-choosing.en.html#s3.1.9" rel="subsection" title="3.1.9 What happens when a new release is made?">
155
 
<link href="ch-choosing.en.html#s3.1.10" rel="subsection" title="3.1.10 I have a working Desktop/cluster with Debian installed. How do I know which distribution I am running?">
156
 
<link href="ch-choosing.en.html#s3.1.11" rel="subsection" title="3.1.11 I am currently tracking stable. Can I change to testing or unstable? If so, How?">
157
 
<link href="ch-choosing.en.html#s3.1.12" rel="subsection" title="3.1.12 I am currently tracking testing (lenny). What will happen when a release is made? Will I still be tracking testing or will my machine be running the new stable distribution?">
158
 
<link href="ch-choosing.en.html#s3.1.13" rel="subsection" title="3.1.13 I am still confused. What did you say I should install?">
159
 
<link href="ch-choosing.en.html#s3.2.1" rel="subsection" title="3.2.1 I know that Knoppix/Linex/Ubuntu/... is Debian-based. So after installing it on the hard disk, can I use 'apt' package tools on it?">
160
 
<link href="ch-choosing.en.html#s3.2.2" rel="subsection" title="3.2.2 I installed Knoppix/Linex/Ubuntu/... on my hard disk. Now I have a problem. What should I do?">
161
 
<link href="ch-choosing.en.html#s3.2.3" rel="subsection" title="3.2.3 I'm using Knoppix/Linex/Ubuntu/... and now I want to use Debian. How do I migrate?">
162
 
<link href="ch-ftparchives.en.html#s-oldcodenames" rel="subsection" title="6.2.1 Which other codenames have been used in the past?">
163
 
<link href="ch-ftparchives.en.html#s-sourceforcodenames" rel="subsection" title="6.2.2 Where do these codenames come from?">
164
 
<link href="ch-ftparchives.en.html#s-frozen" rel="subsection" title="6.5.1 What about &quot;testing&quot;? How is it `frozen'?">
165
 
<link href="ch-pkgtools.en.html#s-dpkg" rel="subsection" title="8.1.1 dpkg">
166
 
<link href="ch-pkgtools.en.html#s-apt-get" rel="subsection" title="8.1.2 APT">
167
 
<link href="ch-pkgtools.en.html#s-aptitude" rel="subsection" title="8.1.3 aptitude">
168
 
<link href="ch-pkgtools.en.html#s-synaptic" rel="subsection" title="8.1.4 synaptic">
169
 
<link href="ch-pkgtools.en.html#s-tasksel" rel="subsection" title="8.1.5 tasksel">
170
 
<link href="ch-pkgtools.en.html#s-dpkg-extra" rel="subsection" title="8.1.6 Other package management tools">
171
 
<link href="ch-pkgtools.en.html#s-dselect" rel="subsection" title="8.1.6.1 dselect">
172
 
<link href="ch-pkgtools.en.html#s-dpkg-deb" rel="subsection" title="8.1.6.2 dpkg-deb">
173
 
<link href="ch-pkgtools.en.html#s-dpkg-split" rel="subsection" title="8.1.6.3 dpkg-split">
174
 
<link href="ch-uptodate.en.html#s-aptitude-upgrade" rel="subsection" title="9.1.1 aptitude">
175
 
<link href="ch-uptodate.en.html#s-apt" rel="subsection" title="9.1.2 apt-get, dselect and apt-cdrom">
176
 
<link href="ch-uptodate.en.html#s-update_aptitude" rel="subsection" title="9.1.3 aptitude">
177
 
<link href="ch-uptodate.en.html#s-mirror" rel="subsection" title="9.1.4 mirror">
178
 
<link href="ch-uptodate.en.html#s-dpkg-mountable" rel="subsection" title="9.1.5 dpkg-mountable">
179
 
<link href="ch-support.en.html#s12.2.1" rel="subsection" title="12.2.1 Mailing lists">
180
 
<link href="ch-support.en.html#s-mailinglistconduct" rel="subsection" title="12.2.1.1 What is the code of conduct for the mailing lists?">
181
 
<link href="ch-support.en.html#s12.2.2" rel="subsection" title="12.2.2 Web forums">
182
 
<link href="ch-support.en.html#s12.2.3" rel="subsection" title="12.2.3 Wiki">
183
 
<link href="ch-support.en.html#s12.2.4" rel="subsection" title="12.2.4 Maintainers">
184
 
<link href="ch-support.en.html#s12.2.5" rel="subsection" title="12.2.5 Usenet newsgroups">
185
 
<link href="ch-contributing.en.html#s-SPI" rel="subsection" title="13.3.1 Software in the Public Interest">
186
 
<link href="ch-contributing.en.html#s-FSF" rel="subsection" title="13.3.2 Free Software Foundation">
187
 
 
188
 
</head>
189
 
 
190
 
<body>
191
 
 
192
 
<p><a name="ch-uptodate"></a></p>
193
 
<hr>
194
 
 
195
 
<p>
196
 
[ <a href="ch-pkgtools.en.html">previous</a> ]
197
 
[ <a href="index.en.html#contents">Contents</a> ]
198
 
[ <a href="ch-basic_defs.en.html">1</a> ]
199
 
[ <a href="ch-getting.en.html">2</a> ]
200
 
[ <a href="ch-choosing.en.html">3</a> ]
201
 
[ <a href="ch-compat.en.html">4</a> ]
202
 
[ <a href="ch-software.en.html">5</a> ]
203
 
[ <a href="ch-ftparchives.en.html">6</a> ]
204
 
[ <a href="ch-pkg_basics.en.html">7</a> ]
205
 
[ <a href="ch-pkgtools.en.html">8</a> ]
206
 
[ 9 ]
207
 
[ <a href="ch-kernel.en.html">10</a> ]
208
 
[ <a href="ch-customizing.en.html">11</a> ]
209
 
[ <a href="ch-support.en.html">12</a> ]
210
 
[ <a href="ch-contributing.en.html">13</a> ]
211
 
[ <a href="ch-redistrib.en.html">14</a> ]
212
 
[ <a href="ch-nexttime.en.html">15</a> ]
213
 
[ <a href="ch-faqinfo.en.html">16</a> ]
214
 
[ <a href="ch-kernel.en.html">next</a> ]
215
 
</p>
216
 
 
217
 
<hr>
218
 
 
219
 
<h1>
220
 
The Debian GNU/Linux FAQ
221
 
<br>Chapter 9 - Keeping your Debian system up-to-date
222
 
</h1>
223
 
 
224
 
<hr>
225
 
 
226
 
<p>
227
 
A Debian goal is to provide a consistent upgrade path and a secure upgrade
228
 
process.  We always do our best to make upgrading to new releases a smooth
229
 
procedure.  In case there's some important note to add to the upgrade process,
230
 
the packages will alert the user, and often provide a solution to a possible
231
 
problem.
232
 
</p>
233
 
 
234
 
<p>
235
 
You should also read the Release Notes document that describes the details of
236
 
specific upgrades.  It is shipped on all Debian CDs and available on the WWW at
237
 
<code><a
238
 
href="http://www.debian.org/releases/stable/releasenotes">http://www.debian.org/releases/stable/releasenotes</a></code>.
239
 
</p>
240
 
 
241
 
<hr>
242
 
 
243
 
<h2><a name="s-howtocurrent"></a>9.1 How can I keep my Debian system current?</h2>
244
 
 
245
 
<p>
246
 
One could simply execute an anonymous ftp call to a Debian archive, then peruse
247
 
the directories until one finds the desired file, and then fetch it, and
248
 
finally install it using <samp>dpkg</samp>.  Note that <samp>dpkg</samp> will
249
 
install upgrade files in place, even on a running system.  Sometimes, a revised
250
 
package will require the installation of a newly revised version of another
251
 
package, in which case the installation will fail until/unless the other
252
 
package is installed.
253
 
</p>
254
 
 
255
 
<p>
256
 
Many people find this approach much too time-consuming, since Debian evolves so
257
 
quickly -- typically, a dozen or more new packages are uploaded every week.
258
 
This number is larger just before a new major release.  To deal with this
259
 
avalanche, many people prefer to use a more automated method.  Several
260
 
different packages are available for this purpose:
261
 
</p>
262
 
 
263
 
<hr>
264
 
 
265
 
<h3><a name="s-aptitude-upgrade"></a>9.1.1 aptitude</h3>
266
 
 
267
 
<p>
268
 
APT is an advanced interface to the Debian packaging system.  It features
269
 
complete installation ordering, multiple source capability and several other
270
 
unique features, see the User's Guide in
271
 
<samp>/usr/share/doc/apt-doc/guide.html/index.html</samp> (you will have to
272
 
install the <samp>apt-doc</samp> package).
273
 
</p>
274
 
 
275
 
<p>
276
 
<code>aptitude</code> is the recommended package manager for Debian GNU/Linux
277
 
systems.  It is a text-based interface to APT using the curses library, and can
278
 
be used to perform management tasks in a fast and easy way.
279
 
</p>
280
 
 
281
 
<p>
282
 
Before you can use <code>aptitude</code>, you'll have to edit the
283
 
<samp>/etc/apt/sources.list</samp> file to set it up.  If you wish to upgrade
284
 
to the latest stable version of Debian, you'll probably want to use a source
285
 
like this one:
286
 
</p>
287
 
 
288
 
<pre>
289
 
     http://ftp.us.debian.org/debian stable main contrib non-free
290
 
</pre>
291
 
 
292
 
<p>
293
 
You can replace ftp.us.debian.org with the name of a faster Debian mirror near
294
 
you.  See the mirror list at <code><a
295
 
href="http://www.debian.org/mirror/list">http://www.debian.org/mirror/list</a></code>
296
 
for more information.
297
 
</p>
298
 
 
299
 
<p>
300
 
More details on this can be found in the <code>sources.list(8)</code> manual
301
 
page.
302
 
</p>
303
 
 
304
 
<p>
305
 
To update your system, run
306
 
</p>
307
 
 
308
 
<pre>
309
 
     aptitude update
310
 
</pre>
311
 
 
312
 
<p>
313
 
followed by
314
 
</p>
315
 
 
316
 
<pre>
317
 
     aptitude dist-upgrade
318
 
</pre>
319
 
 
320
 
<p>
321
 
Answer any questions that might come up, and your system will be upgraded.  See
322
 
also <a href="ch-pkgtools.en.html#s-aptitude">aptitude, Section 8.1.3</a>.
323
 
</p>
324
 
 
325
 
<hr>
326
 
 
327
 
<h3><a name="s-apt"></a>9.1.2 apt-get, dselect and apt-cdrom</h3>
328
 
 
329
 
<p>
330
 
<code>apt-get</code> is an APT-based command-line tool for handling packages,
331
 
and the APT dselect method is an interface to APT through <code>dselect</code>.
332
 
Both of these provide a simple, safe way to install and upgrade packages.
333
 
</p>
334
 
 
335
 
<p>
336
 
To use <code>apt-get</code>, install the <code>apt</code> package, and edit the
337
 
<samp>/etc/apt/sources.list</samp> file to set it up, just as for <a
338
 
href="#s-aptitude-upgrade">aptitude, Section 9.1.1</a>.
339
 
</p>
340
 
 
341
 
<p>
342
 
Then run
343
 
</p>
344
 
 
345
 
<pre>
346
 
     apt-get update
347
 
</pre>
348
 
 
349
 
<p>
350
 
followed by
351
 
</p>
352
 
 
353
 
<pre>
354
 
     apt-get dist-upgrade
355
 
</pre>
356
 
 
357
 
<p>
358
 
Answer any questions that might come up, and your system will be upgraded.  See
359
 
also the <code>apt-get(8)</code> manual page, as well as <a
360
 
href="ch-pkgtools.en.html#s-apt-get">APT, Section 8.1.2</a>.
361
 
</p>
362
 
 
363
 
<p>
364
 
To use APT with <code>dselect</code>, choose the APT access method in dselect's
365
 
method selection screen (option 0) and then specify the sources that should be
366
 
used.  The configuration file is <code>/etc/apt/sources.list</code>.  See also
367
 
<a href="ch-pkgtools.en.html#s-dselect">dselect, Section 8.1.6.1</a>.
368
 
</p>
369
 
 
370
 
<p>
371
 
If you want to use CDs to install packages, you can use <code>apt-cdrom</code>.
372
 
For details, please see the Release Notes, section &quot;Setting up for an
373
 
upgrade from a local mirror&quot;.
374
 
</p>
375
 
 
376
 
<p>
377
 
Please note that when you get and install the packages, you'll still have them
378
 
kept in your /var directory hierarchy.  To keep your partition from
379
 
overflowing, remember to delete extra files using <samp>apt-get clean</samp>
380
 
and <samp>apt-get autoclean</samp>, or to move them someplace else (hint: use
381
 
<code>apt-move</code>).
382
 
</p>
383
 
 
384
 
<hr>
385
 
 
386
 
<h3><a name="s-update_aptitude"></a>9.1.3 aptitude</h3>
387
 
 
388
 
<p>
389
 
<code>aptitude</code> is a text-based interface to the Debian package system.
390
 
It allows the user to view the list of packages and to perform package
391
 
management tasks such as installing, upgrading, and removing packages (see <a
392
 
href="ch-pkgtools.en.html#s-aptitude">aptitude, Section 8.1.3</a>).  Actions
393
 
may be performed from a visual interface or from the command-line.
394
 
</p>
395
 
 
396
 
<p>
397
 
In command line, the actions are similar to that of APT, so to upgrade your
398
 
system run
399
 
</p>
400
 
 
401
 
<pre>
402
 
     aptitude update
403
 
</pre>
404
 
 
405
 
<p>
406
 
followed by
407
 
</p>
408
 
 
409
 
<pre>
410
 
     aptitude dist-upgrade
411
 
</pre>
412
 
 
413
 
<p>
414
 
To upgrade from a preview release, <code>aptitude</code> is the tool
415
 
recommended.  Read the Release Notes at <code><a
416
 
href="http://www.debian.org/releases/stable/releasenotes">http://www.debian.org/releases/stable/releasenotes</a></code>.
417
 
</p>
418
 
 
419
 
<p>
420
 
For details, see the manual page <code>aptitude(8)</code>, and the file
421
 
<code>/usr/share/aptitude/README</code>
422
 
</p>
423
 
 
424
 
<hr>
425
 
 
426
 
<h3><a name="s-mirror"></a>9.1.4 mirror</h3>
427
 
 
428
 
<p>
429
 
This Perl script, and its (optional) manager program called
430
 
<code>mirror-master</code>, can be used to fetch user-specified parts of a
431
 
directory tree from a specified host <em>via</em> anonymous FTP.
432
 
</p>
433
 
 
434
 
<p>
435
 
<code>mirror</code> is particularly useful for downloading large volumes of
436
 
software.  After the first time files have been downloaded from a site, a file
437
 
called <samp>.mirrorinfo</samp> is stored on the local host.  Changes to the
438
 
remote file system are tracked automatically by <code>mirror</code>, which
439
 
compares this file to a similar file on the remote system and downloads only
440
 
changed files.
441
 
</p>
442
 
 
443
 
<p>
444
 
The <code>mirror</code> program is generally useful for updating local copies
445
 
of remote directory trees.  The files fetched need not be Debian files.  (Since
446
 
<code>mirror</code> is a Perl script, it can also run on non-Unix systems.)
447
 
Though the <code>mirror</code> program provides mechanisms for excluding files
448
 
names of which match user-specified strings, this program is most useful when
449
 
the objective is to download whole directory trees, rather than selected
450
 
packages.
451
 
</p>
452
 
 
453
 
<hr>
454
 
 
455
 
<h3><a name="s-dpkg-mountable"></a>9.1.5 dpkg-mountable</h3>
456
 
 
457
 
<p>
458
 
dpkg-mountable adds an access method called `mountable' to dselect's list,
459
 
which allows you to install from any file system specified in /etc/fstab.  For
460
 
example, the archive could be a normal hard disk partition or an NFS server,
461
 
which it will automatically mount and umount for you if necessary.
462
 
</p>
463
 
 
464
 
<p>
465
 
It also has some extra features not found in the standard dselect methods, such
466
 
as provision for a local file tree (either parallel to the main distribution or
467
 
totally separate), and only getting packages which are required, rather than
468
 
the time-consuming recursive directory scan, as well as logging of all dpkg
469
 
actions in the install method.
470
 
</p>
471
 
 
472
 
<hr>
473
 
 
474
 
<h2><a name="s-upgradesingle"></a>9.2 Must I go into single user mode in order to upgrade a package?</h2>
475
 
 
476
 
<p>
477
 
No.  Packages can be upgraded in place, even in running systems.  Debian has a
478
 
<samp>start-stop-daemon</samp> program that is invoked to stop, then restart
479
 
running process if necessary during a package upgrade.
480
 
</p>
481
 
 
482
 
<hr>
483
 
 
484
 
<h2><a name="s-savedebs"></a>9.3 Do I have to keep all those .deb archive files on my disk?</h2>
485
 
 
486
 
<p>
487
 
No.  If you have downloaded the files to your disk then after you have
488
 
installed the packages, you can remove them from your system, e.g.  by running
489
 
<samp>aptitude clean</samp>.
490
 
</p>
491
 
 
492
 
<hr>
493
 
 
494
 
<h2><a name="s-keepingalog"></a>9.4 How can I keep a log of the packages I added to the system? I'd like to know when which package upgrades and removals have occured!</h2>
495
 
 
496
 
<p>
497
 
Passing the <samp>--log</samp>-option to <code>dpkg</code> makes
498
 
<code>dpkg</code> log status change updates and actions.  It logs both the
499
 
<code>dpkg</code>-invokation (e.g.
500
 
</p>
501
 
 
502
 
<pre>
503
 
     2005-12-30 18:10:33 install hello 1.3.18 2.1.1-4
504
 
</pre>
505
 
 
506
 
<p>
507
 
) and the results (e.g.
508
 
</p>
509
 
 
510
 
<pre>
511
 
     2005-12-30 18:10:35 status installed hello 2.1.1-4
512
 
</pre>
513
 
 
514
 
<p>
515
 
) If you'd like to log all your <code>dpkg</code> invokations (even those done
516
 
using frontends like <code>aptitude</code>), you could add
517
 
</p>
518
 
 
519
 
<pre>
520
 
     log /var/log/dpkg.log
521
 
</pre>
522
 
 
523
 
<p>
524
 
to your <code>/etc/dpkg/dpkg.cfg</code>.  Be sure the created logfile gets
525
 
rotated periodically.  If you're using <code>logrotate</code>, this can be
526
 
achieved by creating a file <code>/etc/logrotate.d/dpkg</code> with contents
527
 
</p>
528
 
 
529
 
<pre>
530
 
     /var/log/dpkg {
531
 
       missingok
532
 
       notifempty
533
 
     }
534
 
</pre>
535
 
 
536
 
<p>
537
 
More details on <code>dpkg</code> logging can be found in the
538
 
<code>dpkg(1)</code> manual page.
539
 
</p>
540
 
 
541
 
<p>
542
 
<code>aptitude</code> logs the package installations, removals, and upgrades
543
 
that it intends to perform to <code>/var/log/aptitude</code>.  Note that the
544
 
<em>results</em> of those actions are not recorded in this file!
545
 
</p>
546
 
 
547
 
<p>
548
 
Another way to record your actions is to run your package management session
549
 
within the <code>script(1)</code> program.
550
 
</p>
551
 
 
552
 
<hr>
553
 
 
554
 
<h2><a name="s-autoupdate"></a>9.5 Can I automatically update the system?</h2>
555
 
 
556
 
<p>
557
 
Yes.  You can use <code>cron-apt</code>, this tool updates the system at
558
 
regular interval by using a cron job.  By default it just updates the package
559
 
list and download new packages without installing.
560
 
</p>
561
 
 
562
 
<p>
563
 
Note: Automatic upgrade of packages is <strong>NOT</strong> recommended in
564
 
<em>testing</em> or <em>unstable</em> systems as this might bring unexpected
565
 
behaviour and remove packages without notice.
566
 
</p>
567
 
 
568
 
<hr>
569
 
 
570
 
<h2><a name="s-aptproxy"></a>9.6 I have several machines how can I download the updates only one time?</h2>
571
 
 
572
 
<p>
573
 
If you have more than one Debian machine on your network, it is useful to use
574
 
<code>apt-proxy</code> to keep all of your Debian systems up-to-date.
575
 
</p>
576
 
 
577
 
<p>
578
 
<code>apt-proxy</code> reduces the bandwidth requirements of Debian mirrors by
579
 
restricting the frequency of Packages, Releases and Sources file updates from
580
 
the back end and only doing a single fetch for any file, independently of the
581
 
actual request it from the proxy.  <code>apt-proxy</code> automatically builds
582
 
a Debian HTTP mirror based on requests which pass through the proxy.
583
 
</p>
584
 
 
585
 
<p>
586
 
For more details, see the apt-proxy homepage at <code><a
587
 
href="http://apt-proxy.sourceforge.net/">http://apt-proxy.sourceforge.net/</a></code>
588
 
</p>
589
 
 
590
 
<p>
591
 
Of course, you can get the same benefit if you are already using a standard
592
 
caching proxy and all your systems are configured to use it.
593
 
</p>
594
 
 
595
 
<hr>
596
 
 
597
 
<p>
598
 
[ <a href="ch-pkgtools.en.html">previous</a> ]
599
 
[ <a href="index.en.html#contents">Contents</a> ]
600
 
[ <a href="ch-basic_defs.en.html">1</a> ]
601
 
[ <a href="ch-getting.en.html">2</a> ]
602
 
[ <a href="ch-choosing.en.html">3</a> ]
603
 
[ <a href="ch-compat.en.html">4</a> ]
604
 
[ <a href="ch-software.en.html">5</a> ]
605
 
[ <a href="ch-ftparchives.en.html">6</a> ]
606
 
[ <a href="ch-pkg_basics.en.html">7</a> ]
607
 
[ <a href="ch-pkgtools.en.html">8</a> ]
608
 
[ 9 ]
609
 
[ <a href="ch-kernel.en.html">10</a> ]
610
 
[ <a href="ch-customizing.en.html">11</a> ]
611
 
[ <a href="ch-support.en.html">12</a> ]
612
 
[ <a href="ch-contributing.en.html">13</a> ]
613
 
[ <a href="ch-redistrib.en.html">14</a> ]
614
 
[ <a href="ch-nexttime.en.html">15</a> ]
615
 
[ <a href="ch-faqinfo.en.html">16</a> ]
616
 
[ <a href="ch-kernel.en.html">next</a> ]
617
 
</p>
618
 
 
619
 
<hr>
620
 
 
621
 
<p>
622
 
The Debian GNU/Linux FAQ
623
 
</p>
624
 
 
625
 
<address>
626
 
version 4.0.3, 6 August 2008<br>
627
 
<br>
628
 
Authors are listed at <a href="ch-faqinfo.en.html#s-authors">Debian FAQ Authors</a><br>
629
 
<br>
630
 
</address>
631
 
<hr>
632
 
 
633
 
</body>
634
 
 
635
 
</html>
636