* Neil Williams <[email protected]> [090213 17:55]:
> The manpage for conf/distributions is correct but it should warn that if
> conf/distributions is setup wrongly for Suite and Codename, untold pain
> can ensue in the future.
I've added the following in CVS, do you think it suffices?
|+
|+Note that this name is not supposed to change.
|+You most likely \fBnever ever\fP want a name like \fBtesting\fP
|+or \fBstable\fP here (those are suite names and supposed to point
|+to another distribution later).
> I've got a few repositories where, inadvertently, different people made
> the same error in configuration, setting Suite as lenny and Codename as
> testing. This results in the following layout:
>
> lrwxrwxrwx 1 emdebian emdebian 6 Jun 23 2008 etch -> stable
> drwxrwxr-x 3 emdebian emdebian 4096 Jan 26 08:00 experimental
> lrwxrwxrwx 1 emdebian emdebian 7 Jun 23 2008 lenny -> testing
> drwxrwxr-x 3 emdebian emdebian 4096 Jan 26 08:00 oldstable
> lrwxrwxrwx 1 emdebian emdebian 10 Jun 23 2008 sarge -> oldstable/
> lrwxrwxrwx 1 emdebian emdebian 9 Jun 23 2008 sid -> unstable/
> drwxrwxr-x 3 emdebian emdebian 4096 Feb 13 03:10 stable
> drwxrwxr-x 3 emdebian emdebian 4096 Feb 13 03:11 testing
> drwxrwxr-x 3 emdebian emdebian 4096 Feb 12 20:35 unstable
> Is there a safe, reliable way of reprepro getting out of the resulting
> mess? If not, can the manpage be made very explicit that getting these
> the wrong way around is a really, really, REALLY bad idea?
Unless you have Tracking enabled and have additional files stored in
the pool (like .changes files), the easiest way is just to copy the
distribution:
1) remove all symlinks in dists/ that should be replaced by proper
distributions
2) add new distributions in conf/distributions with the correct
Codenames.
3) copy all packages (either with temporary pull lines, or with
a copyfilter for everything like
$ reprepro copyfilter etch stable 'Package'
)
4) check that everything is copied properly
5) remove the old distributions, remove the Pull: options from the
new ones, add Suite: (if not already done) and run createsymlinks
and clearvanished (to be extra sure, run dumpunreferenced before
clearvanished and run --keepunreferenced clearvanished and then check
if something lost its last reference (should not if everything was
copied)).
Hochachtungsvoll,
Bernhard R. Link
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]