Questions tagged [patch]

105 questions
30
votes
2 answers

Looking for a fiber optic "switch" or "router" for home use

The gist of my question: What is a "fiber optic" switch called? I.E. a layer 2 ethernet switch that uses fiber TX and RX connections and sends layer 2 network traffic between the fiber strands that are connected. Can someone purchase a…
Shrout1
  • 1,064
  • 3
  • 13
  • 25
22
votes
4 answers

How do I patch the shellshock vulnerability on an obsolete Ubuntu system that I can't upgrade?

I have a system that I administer remotely (2 timezones away) that runs Ubuntu 9.04, Jaunty. For various reasons, mainly that I'm really leery about trying to do a distribution upgrade from so far away, I can't upgrade it to a more recent version. …
Claus
  • 223
  • 1
  • 2
  • 5
21
votes
4 answers

Binary diff/patch for large files on linux?

I've got two partition images (A and B) and want to use them to create a patch that I can apply on A on another computer in order to get the new B image without flooding the network. I have the following requirements: works on Linux can create…
thejh
  • 1,367
  • 3
  • 11
  • 19
10
votes
3 answers

How to prevent patch from creating backup files?

I'm writing some code that will apply the patch(1) program, and I want to completely prevent it from creating backup files. That is, I don't want it to create foo.orig files when it either fails to update a particular file (in which case it creates…
Sean
  • 1,734
  • 2
  • 15
  • 15
9
votes
1 answer

What is the implication of MS17-010 patch and SMBv1 deactivation related to WannaCry? Does it remove the malware or just stop it from propagating?

I googled a lot about this but could not find the answer. I would like to understand if patching Windows with the MS17-010 update will prevent WannaCry malware from installing/executing or just prevent the malware (once installed on a certain PC and…
Antony
  • 193
  • 1
  • 4
8
votes
1 answer

What is the technical differences between "update" and "upgrade" with yum?

I frequently use the following when updating/upgrading RPM-based distros (CentOS, RHEL, and Fedora in my case): yum -y update && yum -y upgrade However, I'm not sure exactly how the two yum commands differ. What are the advantages of update over…
warren
  • 9,920
  • 23
  • 86
  • 147
7
votes
1 answer

How do I apply a patch to my Linux kernel?

I am trying to compile the iscsi-target software SCST. It wants me to apply a patch to my Linux kernel in order to allow for certain performance gains. The problem is I still new to Linux development. Where do I begin? How do I apply the patch? Do I…
AtomicPorkchop
  • 3,244
  • 14
  • 38
  • 58
7
votes
3 answers

What causes patch: **** malformed patch at line

I have a diff file I created. I try to apply it on another branch with patch -p1 --dry-run < ~/patch_name (I'm in the 1st directory - hence -p1), but I get patch: **** malformed patch at line 45: diff --FILE_LOCATION... Before that error…
CIsForCookies
  • 189
  • 1
  • 2
  • 6
6
votes
1 answer

"Hunk #1" message after apply a patch

I am trying to apply a patch on Linux using patch -p1 < name_of_a_patch.patch I get this line saying patching file my_application.c Hunk #1 succeeded at 96 (offset -27 lines) And I see a file my_application.c.org What does this mean?
n179911
  • 3,613
  • 14
  • 39
  • 38
6
votes
3 answers

tool to display patch file

What tools exist to display patch files? A text editor is usually good enough. ColorDiff can add color. Ideally though the tool would also show intra-line differences like KDiff3.
Brian Harris
  • 251
  • 3
  • 6
5
votes
3 answers

Copy "%SystemRoot%\SoftwareDistribution\Download" to another computer

Is it possible (and safe) to copy the SoftwareDistribution\Download folder from one Windows XP machine, A, to another, B, and then let update.microsoft.com do its thing on B minus the download time for all packages that have been downloaded on A?…
VolkerK
  • 255
  • 5
  • 12
5
votes
1 answer

Where the Ubuntu's source can be gotten?

Where can I get Ubuntu's source code? Actually I want It's kernel's code. I know I can get the kernel from kernel.org but as I found out that Ubuntu does some patching on the kernel I want to know what are those patches. And yes I know Ubuntu's…
Kamran
  • 289
  • 1
  • 4
  • 9
5
votes
1 answer

Which particular updates fix the WannaCry enabling SMB "flaw"?

When WannaCry struck a couple of days back, it was understandable that many computers did not have the SMB "flaw" patched, due to many people being discouraged due to MS's practices of pushing telemetry (or maybe just call it spyware?) and nagging…
dtech
  • 240
  • 1
  • 4
  • 13
4
votes
1 answer

Can a crossover cable be used as a patch cable?

Can I connect a Netgear DGND3300 10/100 modem/router, via a crossover cable, to either a Gigabyte M61PME-S2 containing an nForce 10/100 chip or an Asrock P67 Extreme4 with Gigabit Ethernet, with the crossover cable working as a patch cable? I know…
Fela Maslen
  • 439
  • 5
  • 18
3
votes
0 answers

Patching .iso files

sometimes I have only little bandwidth. Also I have access to a machine with high bandwidth via ssh over the low bandwidth line. So let's say, there's a new version of my favorite live system. The old version are both on my local and my remote…
davidbaumann
  • 2,189
  • 1
  • 14
  • 32
1
2 3 4 5 6 7