View Full Version : patch 2.6.2
non riesco a patchare il 2.6.0 a 2.6.2. Con la patch-2.6.1 funziona tutto liscio ma per aggiornare a 2.6.2 mi si blocca e se ne esce cosė:
root@slack:/usr/src/linux# bzip2 -dc patch-2.6.2.bz2|patch -p1
patching file CREDITS
patching file Documentation/BK-usage/00-INDEX
The next patch would create the file Documentation/BK-usage/cpcset,
which already exists! Assume -R? [n]
che vuol dire?
cerchi di passare dal 2.6.0 al 2.6.2 direttamente? ricorda che devi passare per tutti gli stati intermedi .. ovvreo prima patchi al 2.6.1 e poi vai con il 2.6.2
il file che cerca di creare esiste e prova ad assumere l'opzione -R
dalla man page di patch:
-R or --reverse
Assume that this patch was created with the old and new files swapped. (Yes, I'm afraid that does happen
occasionally, human nature being what it is.) patch attempts to swap each hunk around before applying it.
Rejects come out in the swapped format. The -R option does not work with ed diff scripts because there is
too little information to reconstruct the reverse operation.
If the first hunk of a patch fails, patch reverses the hunk to see if it can be applied that way. If it
can, you are asked if you want to have the -R option set. If it can't, the patch continues to be applied
normally. (Note: this method cannot detect a reversed patch if it is a normal diff and if the first com-
mand is an append (i.e. it should have been a delete) since appends always succeed, due to the fact that a
null context matches anywhere. Luckily, most patches add or change lines rather than delete them, so most
reversed normal diffs begin with a delete, which fails, triggering the heuristic.)
ciao
Arpeda
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.