stopgap measure; quick-fix solution; emergency measure
A temporary measure taken to deal with an urgent situation, not a permanent solution. Often used in formal or technical contexts.
As a stopgap measure, I wrapped tape around the broken pipe.
The government took emergency measures, but fundamental reforms were postponed.