| | | |
Offset 31, 29 lines modified | Offset 31, 29 lines modified |
31 | .SH·NAME | 31 | .SH·NAME |
32 | yum-versionlock·\-·redirecting·to·DNF·versionlock·Plugin | 32 | yum-versionlock·\-·redirecting·to·DNF·versionlock·Plugin |
33 | .SH·DESCRIPTION | 33 | .SH·DESCRIPTION |
34 | .sp | 34 | .sp |
35 | \fIversionlock\fP·is·a·plugin·that·takes·a·set·of·names·and·versions·for·packages·and | 35 | \fIversionlock\fP·is·a·plugin·that·takes·a·set·of·names·and·versions·for·packages·and |
36 | excludes·all·other·versions·of·those·packages.·This·allows·you·to·protect | 36 | excludes·all·other·versions·of·those·packages.·This·allows·you·to·protect |
37 | packages·from·being·updated·by·newer·versions.·Alternately,·it·accepts·a·specific | 37 | packages·from·being·updated·by·newer·versions.·Alternately,·it·accepts·a·specific |
38 | package·version·to·exclude·from·updates,·e.g.·for·when·it’s·necessary·to·skip·a | 38 | package·version·to·exclude·from·updates,·e.g.·for·when·it\(aqs·necessary·to·skip·a |
39 | specific·release·of·a·package·that·has·known·issues. | 39 | specific·release·of·a·package·that·has·known·issues. |
40 | .sp | 40 | .sp |
41 | The·plugin·provides·a·command·\fIversionlock\fP·which·allows·you·to·view·and·edit·the | 41 | The·plugin·provides·a·command·\fIversionlock\fP·which·allows·you·to·view·and·edit·the |
42 | list·of·locked·packages·easily. | 42 | list·of·locked·packages·easily. |
43 | .sp | 43 | .sp |
44 | The·plugin·will·walk·each·line·of·the·versionlock·file,·and·parse·out·the·name·and | 44 | The·plugin·will·walk·each·line·of·the·versionlock·file,·and·parse·out·the·name·and |
45 | version·of·the·package.·It·will·then·exclude·any·package·by·that·name·that | 45 | version·of·the·package.·It·will·then·exclude·any·package·by·that·name·that |
46 | doesn’t·match·one·of·the·versions·listed·within·the·file.·This·is·basically | 46 | doesn\(aqt·match·one·of·the·versions·listed·within·the·file.·This·is·basically |
47 | the·same·as·using·\fIdnf·–exclude\fP·for·the·package·name·itself·(as·you·cannot·exclude | 47 | the·same·as·using·\fIdnf·\-\-exclude\fP·for·the·package·name·itself·(as·you·cannot·exclude |
48 | installed·packages),·but·dnf·will·still·see·the·versions·you·have | 48 | installed·packages),·but·dnf·will·still·see·the·versions·you·have |
49 | installed/versionlocked·as·available·so·that·\fIdnf·reinstall\fP·will·still | 49 | installed/versionlocked·as·available·so·that·\fIdnf·reinstall\fP·will·still |
50 | work,·etc. | 50 | work,·etc. |
51 | .sp | 51 | .sp |
52 | It·can·also·work·in·the·opposite·way,·like·a·fast·exclude,·by·prefixing·a·‘!’ | 52 | It·can·also·work·in·the·opposite·way,·like·a·fast·exclude,·by·prefixing·a·\(aq!\(aq |
53 | character·to·the·version·recorded·in·the·lock·list·file.·This·specifically | 53 | character·to·the·version·recorded·in·the·lock·list·file.·This·specifically |
54 | excludes·a·package·that·matches·the·version·exactly. | 54 | excludes·a·package·that·matches·the·version·exactly. |
55 | .sp | 55 | .sp |
56 | Note·the·versionlock·plugin·does·not·apply·any·excludes·in·non\-transactional | 56 | Note·the·versionlock·plugin·does·not·apply·any·excludes·in·non\-transactional |
57 | operations·like·\fIrepoquery\fP,·\fIlist\fP,·\fIinfo\fP,·etc. | 57 | operations·like·\fIrepoquery\fP,·\fIlist\fP,·\fIinfo\fP,·etc. |
58 | .SH·SYNOPSIS | 58 | .SH·SYNOPSIS |
59 | .sp | 59 | .sp |
Offset 160, 15 lines modified | Offset 160, 15 lines modified |
160 | .INDENT·0.0 | 160 | .INDENT·0.0 |
161 | .TP | 161 | .TP |
162 | .B·\fBlocklist\fP | 162 | .B·\fBlocklist\fP |
163 | This·option·is·a·string·that·points·to·the·file·which·has·the·versionlock | 163 | This·option·is·a·string·that·points·to·the·file·which·has·the·versionlock |
164 | information·in·it.·Note·that·the·file·has·to·exist·(or·the·versionlock·plugin | 164 | information·in·it.·Note·that·the·file·has·to·exist·(or·the·versionlock·plugin |
165 | will·make·dnf·exit).·However,·it·can·be·empty. | 165 | will·make·dnf·exit).·However,·it·can·be·empty. |
166 | .sp | 166 | .sp |
167 | The·file·takes·entries·in·the·format·of·\fB<package\-name\-spec>\fP·(optionally·prefixed·with·‘!’·for | 167 | The·file·takes·entries·in·the·format·of·\fB<package\-name\-spec>\fP·(optionally·prefixed·with·\(aq!\(aq·for |
168 | excludes). | 168 | excludes). |
169 | See·\fISpecifying·packages\fP·in·\fBdnf(8)\fP·for·details. | 169 | See·\fISpecifying·packages\fP·in·\fBdnf(8)\fP·for·details. |
170 | .UNINDENT | 170 | .UNINDENT |
171 | .SH·NOTES | 171 | .SH·NOTES |
172 | .sp | 172 | .sp |
173 | A·specified·package·does·not·have·to·exist·within·the·available·cache·of·repository·data | 173 | A·specified·package·does·not·have·to·exist·within·the·available·cache·of·repository·data |
174 | to·be·considered·valid·for·locking·or·exclusion.·This·is·by·design,·to·accommodate·use | 174 | to·be·considered·valid·for·locking·or·exclusion.·This·is·by·design,·to·accommodate·use |