|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Mar 2003
Messaggi: 680
|
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? |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Nov 2000
Messaggi: 342
|
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
__________________
Membro di HWU Scout Group || Quello che ieri era fantascienza oggi è realtà, quello che oggi è realtà domani sarà solo un ricordo ... Powered by Gentoo 1.4 on kernel 2.6.12.-gentoo-r4 |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:25.