Questions tagged [patch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
30 votes
2 answers
38k views

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 ...
Shrout1's user avatar
  • 1,084
22 votes
4 answers
23k views

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 ...
thejh's user avatar
  • 1,417
22 votes
4 answers
15k views

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 ...
Claus's user avatar
  • 223
10 votes
3 answers
5k views

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 ...
Sean's user avatar
  • 1,784
9 votes
1 answer
4k views

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 ...
Antony's user avatar
  • 193
8 votes
1 answer
16k views

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 ...
warren's user avatar
  • 10.2k
8 votes
1 answer
45k views

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. ...
AtomicPorkchop's user avatar
7 votes
3 answers
19k views

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 ...
CIsForCookies's user avatar
6 votes
1 answer
8k views

"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 ...
n179911's user avatar
  • 3,673
6 votes
3 answers
7k views

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's user avatar
5 votes
1 answer
25k views

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 ...
dtech's user avatar
  • 240
5 votes
1 answer
2k views

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 ...
Fela Maslen's user avatar
5 votes
1 answer
169 views

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 ...
Kamran's user avatar
  • 289
5 votes
3 answers
8k views

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 ...
VolkerK's user avatar
  • 255
3 votes
1 answer
34k views

How to add patches to dwm

I do not understand how to add patches to dwm, I am running Ubuntu and I do have git installed. Am I just supposed to copy/paste the .diff file into a new file in the directory and do git apply pertag....
Zachary Alfakir's user avatar
3 votes
2 answers
451 views

Can't apply the patch

I have unpacked the source code of efivar-0.23.tar.gz and trying to apply the following patch: http://patchwork.openembedded.org/patch/117073/ to be able to compile it. I have entered the unpacked ...
New Face's user avatar
3 votes
1 answer
4k views

Getting error c000021a: The session manager failed to create protected prefixes

When I try to boot Windows I get a blue screen: STOP: c000021a Fatal System Error . The session manager failed to create protected prefixes system process terminated unexpectedly with a status of ...
juergen d's user avatar
  • 441
3 votes
1 answer
4k views

windows server 2016 patching - how to show options?

when checking for patching updates on windows server 2012 it allows you to select what updates you want to install: for example: However, on windows server 2016 it does not allow you to select what ...
Marcello Miorelli's user avatar
3 votes
1 answer
452 views

How do i apply a patch to Synergy in Mac OS X

I have downloaded a patch for a keyboard problem in Synergy for my mac but have no idea how to use it
Richard's user avatar
  • 31
3 votes
0 answers
632 views

debsecan Fix CVE on debian

I just installed debsecan on Debian 8.1 to view the vulnerabilities that I have, and there were quite a few. Searching the web I see that most of them have a fix but I don't manage to figure out how ...
El_Feto's user avatar
  • 31
3 votes
0 answers
984 views

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 ...
davidbaumann's user avatar
  • 2,269
2 votes
2 answers
4k views

How to check OS X installed security updates

Triggered by the apple security update notification on Security update 2015-006 I updated all of the updates in the App Store (no new updates left). I was actual wondering how to check if the latest ...
user2976193's user avatar
2 votes
1 answer
373 views

Jump to file/line of current patch hunk in vim

If I'm viewing a multi-file diff in vim - for example the one produced by running :VCSDiff in a netrw buffer - and I position my cursor over a particular hunk, is there a way to jump to the affected ...
Glyph's user avatar
  • 547
2 votes
1 answer
2k views

How much bandwidth is used by security updates?

Does anyone have a ballpark figure on how much bandwidth is used on average each month by Windows 7 for security updates / patches?
Liam's user avatar
  • 3,060
2 votes
1 answer
5k views

RDP Wrapper Library by Stas'M and multisession [closed]

http://stascorp.com/load/1-1-0-63 I'm using this patch to enable RDP on Win7 and enable multi-loggon to the 1 account for 2 users. But there is some problem. When i connect to the 1 account when other ...
GuitarFan's user avatar
2 votes
1 answer
2k views

How to compile an ISO with a kernel patch for another computer?

I recently bought an HP Stream, which is a neat, cheap laptop that I intended to install Xubuntu on. Unfortunately, I have been running into problems due to its eMMC drive. I found it seems to be ...
Alexander Lozada's user avatar
2 votes
1 answer
2k views

How to apply patch to Gnome on Ubuntu

My system has been crashing, and I think it may have something to do with Gnome since the crashes only occur when I'm using it. I checked the log file after a crash and it reported... Gtk-CRITICAL **:...
person's user avatar
  • 213
2 votes
1 answer
370 views

Forcing a stubborn MSP patch file to run

I have a program which was intended for Windows Vista but installs and runs on Windows 7 without issues. Lately, there was a patch issued for the program in .msp format that only runs on Vista. The ...
P. Jackson's user avatar
2 votes
1 answer
716 views

Can I use this script to properly patch an executable?

I had some help with a text-replacement script recently and wondered if it could be used for patching purposes. I usually use HxD, and thought that if it's essentially a glorified notepad, what ...
Mr. Mendelli's user avatar
  • 1,259
2 votes
1 answer
945 views

How to apply binary diff produced by fc to a file?

How can one apply diff file produced by fc /b command on Windows to update some file in a simplest way possible; i.e. without buying anything or downloading some large/questionable software? The diff ...
DitherSky's user avatar
  • 131
2 votes
3 answers
14k views

Reset insyde H20 bios admin password

I have a Lenovo G470, i3 processor(with integrated Intel hd 3000 graphics) with insyde H20 BIOS 40CN33WW (V2.19) (x64) whose bios is locked. Back story A year ago I had disabled UEFI boot and booting ...
Chemist's user avatar
  • 135
2 votes
0 answers
344 views

RPM spec patch application fails

I have a spec file, which compiles fine without the patch: build@SLES11SP4-185:~/rpmbuild/SPECS> cat testSoftware.spec # # This file and all modifications and additions to the pristine # package ...
RajSanpui's user avatar
  • 501
2 votes
1 answer
2k views

compiling curl with HipHop for PHP Patch [closed]

I'm following this guide: https://github.com/facebook/hiphop-php/wiki/Building-and-installing-on-ubuntu-10.10 It want's me to download curl source, doing the patch and compile this. well, but i get ...
Philipp Spiess's user avatar
1 vote
3 answers
2k views

Patch tool without admin privileges on Windows 7

Is there any cli based patch tool that can run in Windows 7 without administrator privileges? I have tried the following tools but they both need admin privileges. http://gnuwin32.sourceforge.net/...
IdontCareAboutReputationPoints's user avatar
1 vote
2 answers
338 views

How to patch an Ethernet cable for Internet connection?

I recently need to fix damaged end of the Ethernet cable (CAT5). This is due to wear and tear, but this cable use to work with no problem out of the box. So, I bought the necessary tools like crimper ...
ThN's user avatar
  • 1,258
1 vote
2 answers
3k views

diff and patch tool

I'm trying to generate patches for a bunch of files I changed. I'm using Meld which does a great job of diff’ing the files in a nice visual manor, then it allows me to save and generate a patch file ...
Mike's user avatar
  • 1,059
1 vote
1 answer
167 views

Do distributions like Ubuntu and Fedora costomize their own kernels?

As I was trying to do some patching on Ubuntu's kernel I've found out kernel.org's patches cannot be merged correctly with the kernel source. I'm wondering if distributions like Ubuntu have their own ...
Kamran's user avatar
  • 289
1 vote
1 answer
1k views

Which is correct for displaying installed updates: WMIC or Systeminfo?

Am applying a "critical" Microsoft patch (KB4499164) to a number of remote Windows 7 (32-bit) PCs. My ONLY option to access these PCs is via SSH and SFTP. I used a batch script to apply this patch ...
BigRedEO's user avatar
  • 141
1 vote
1 answer
653 views

Can I get a .patch file from a svn commit without svn?

I was wondering if it's possible to extract a diff or patch file from a svn commit, directly from the url without needing svn? For example, if I'm given the following GitHub url of a specific commit, ...
SaultDon's user avatar
  • 222
1 vote
3 answers
10k views

Windows Updates can be critical or recommended, but why?

I just wanted to know the difference is between Windows Updates being 'Critical' and 'Recommended'. And also what factors go into deciding this?
user avatar
1 vote
3 answers
233 views

Atomic application of unix patch

I have prepared a "patch" to my customer who will need to manually apply it to their code. If patch is applied partially due to conflicts then the whole procedure needs to be immediately reversed. I ...
romaninsh's user avatar
  • 513
1 vote
2 answers
997 views

Navigating to next hunk in a patch file using VIM

Some of us are familiar with patch failures like "Hunk #11 FAILED at 958." -- is there a command in VIM that allows me to go to, say, 11th hunk ... without having to manually count it? Even a shortcut ...
Sridhar Ratnakumar's user avatar
1 vote
2 answers
7k views

How to uninstall a Windows Update (patch) in silent mode using terminal or PowerShell?

Tried using wusa /uninstall /kb:4497464 /quiet, but from Windows 10 they have deprecated the quiet flag. Is there any other way to uninstall?
Kishor Kumar's user avatar
1 vote
3 answers
16k views

Should I use a patch panel in my home network?

I'm busy with renovations in my house and in the process of running CAT6 cable to different areas in my house where I need it. I'm new to networking so I'm not sure of the best way to do this. I have ...
Fayyaadh's user avatar
  • 172
1 vote
1 answer
112 views

Installing a patch on Windows 7 VM

I've just installed a Windows XP and Windows 7 virtual machine in Oracle VirtualBox, as I want to test that my domain certificates are good for the forthcoming MS patch 2661254 (which checks the ...
user1178602's user avatar
1 vote
2 answers
150 views

how to apply patch from Oracle Critical Patch Update Advisory?

I installed Oracle database but no longer need it. I've tried uninstalling it but that still leaves a lot of security vulnerabilities on my machine. So now I'm looking to apply the Oracle Critical ...
MrFox's user avatar
  • 309
1 vote
1 answer
213 views

What is double plus mark in gitk?

git diff HEAD HEAD^2 shows a single +, but gitk shows 2, as in the following figure. I wonder why. + int k = 0; + for(; j < i; ++i){ + for (k = 0; k < 1000; ++k){ ++ if(groupids[k] =...
Tiina's user avatar
  • 3,197
1 vote
1 answer
530 views

Windows 7 Windows Update stuck on 0%, deleted DataStore file now stuck on checking for update [duplicate]

I realize there are already some question feeds related to my current question (see Windows 7 SP1 Windows Update stuck checking for updates). I am still confused as to why there is this disconnect ...
goat1123's user avatar
1 vote
1 answer
2k views

I am trying to embed a patch in a bash script - can't get patch to read the patch from a variable

read -d '' PATCH_OS <<EOF //PATCH//TEXT// EOF patch -b < ${PATCH_OS} This fails: ./script.sh: line 39: --- //PATCH//TEXT// (line 39 is "patch -b < ${PATCH_OS}"")
fg76d76's user avatar
  • 23
1 vote
1 answer
114 views

How to patch something with diff output?

I want to apply the below changes to some code that someone has written and provided a diff output from. Is there a way given only the output below I can easily create a patch and apply it, or (as it'...
Baldrick's user avatar
  • 544