Questions tagged [patch]

109 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,114
23
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,457
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
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,854
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
  • 10,322
8
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…
8
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…
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,703
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.
5
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…
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
votes
3 answers

Add Mozilla's root certificate to older Firefox instead of expired on March 14 2025

Mozilla announced that "On March 14, 2025, a root certificate used to verify signed content and add-ons for various Mozilla projects, including Firefox, will expire". They do not offer any option except updating Firefox. However, my upgrade from 115…
5
votes
4 answers

How does this standard input operator (0<) work in Linux?

Assuming there are two files in Linux. FileA and FileB both with some different list of fruits. I apply the below commands. diff fileA fileB > file.diff Next, I execute the below command patch fileA 0< file.diff Above command patches (corrects the…
pravi
  • 129
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
2 3 4 5 6 7 8