File: README

package info (click to toggle)
apt-move 4.1.21
  • links: PTS
  • area: main
  • in suites: woody
  • size: 160 kB
  • ctags: 62
  • sloc: sh: 818; awk: 205; cpp: 113; makefile: 63; perl: 53
file content (62 lines) | stat: -rw-r--r-- 2,892 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
apt-move for Debian
----------------------

apt-move 4.0 differs drastically from previous versions.  We no longer store
and use Package files in .apt-move.  In its place, we use files similar to
the override files to keep track of available packages.  These files are
generated from Packages (and Sources) files retrieved by apt.  As a result of
this, deleting obsolete packages has become a lot easier to handle.  This has
also made it possible to remove the need for setting ``DELETE'' to
``duplicate'' as packages won't be removed unless they disappear from the
upstream Packages file, or there is a new version currently in the repository.

In order to cut down the time consumed by ``apt-move packages'', index files
are now created when a package enters the repository.  This means that the
Packages (and Sources for source packages) entry is only computed once, when
the package is first moved into the repository.

Another major change is the removal of all references to rsync.  The reason
for this is that all retrievals should be done through apt in order to minimise
the duplication of code.  As a consequence this, you can now mirror all
(or a subset) of your ``sources.list'' sites.  The result will be merged under
a single dist tree as if they originated from one site.

Architecture all packages are now handled properly.

There are a number of changes in the command-line interface of apt-move.  In
particular, only only command is accepted for each invocation apt-move and
-b and the assorted functionality has been removed since they can be easily
achieved by existing tools such as screen or even tee.

Upgrading to 4.0
----------------------

Since we now use index files to generate the local Packages/Sources files, you
can not use apt-move 4.0 directly on a repository maintained by an older
version of apt-move.  In order to upgrade your existing repository, you need
to:

1. Update ``/etc/apt-move.conf''.
2. Execute ``apt-move fsck''.
3. Insert entries for your apt-move mirror at the top of
   ``/etc/apt/sources.list''.

Local Files
----------------------

If you have any local files (files under $dist/local where $dist is a
distribution, e.g., potato) in your repository, you need to move them out of
the way before you do this.  Consult the manual page as to how you can move
them back using $dist.{binary, source}.local files.

non-US/contrib
----------------------
You may notice that apt-move does not create this section automatically.  This
is because the only way for apt-move to enumerate sections it by looking at the
packages.  Since this section is currently empty, apt-move won't know anything
about it.  If you need it to exist, simply create the appropriate .index
directories for it and apt-move will generate empty Packages/Sources files
for it correctly.

Herbert Xu, <herbert@debian.org>
$Id: README,v 1.5 2000/12/17 05:32:54 herbert Exp $