Skip to content

Commit a58c3c6

Browse files
KaiCreatesclaude
andcommitted
fix: v1.1.1 — deb conflict with input-sync + Illegal instruction (closes #1)
- Cargo.toml: add Conflicts/Replaces: input-sync to deb metadata so dpkg automatically removes the old Tauri-based package on upgrade; fixes "trying to overwrite .../inputsync.png which is also in package input-sync" - Cargo.toml: bump version to 1.1.1 - CHANGELOG.md: document both fixes (deb conflict + AVX2 crash) Fixes: #1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4dae0b1 commit a58c3c6

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
---
99

10+
## [1.1.1] — 2026-03-08
11+
12+
### Fixed
13+
14+
**Linux — .deb install fails with file conflict against old `input-sync` package:**
15+
- Installing `inputsync_1.1.1_amd64.deb` on a machine that previously had the old
16+
Tauri-based `input-sync` package would fail: dpkg refused to overwrite shared icon
17+
files (`/usr/share/icons/hicolor/*/apps/inputsync.png`) owned by `input-sync`.
18+
- Added `Conflicts: input-sync` and `Replaces: input-sync` to the package metadata.
19+
dpkg now automatically removes the old package when installing InputSync 1.1.1+.
20+
- The "Broken pipe / lzma write error" was a side-effect of dpkg aborting mid-extract
21+
on the conflict — resolved by the same fix.
22+
23+
**Linux — "Illegal instruction (core dumped)" on non-AVX2 CPUs:**
24+
- Binary was compiled with `target-cpu=native` (AVX2/AVX512 instructions) and cached
25+
dependency objects were reused even after changing the CPU target. Full `cargo clean`
26+
plus `-C target-feature=-avx,-avx2,-avx512f` ensures the binary runs on any x86_64
27+
CPU, not just Haswell-era and newer.
28+
29+
---
30+
1031
## [1.1.0] — 2026-03-08
1132

1233
### Changed

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "inputsync"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "InputSync - Software KVM Switch"
55
authors = ["KaiCreates"]
66
edition = "2021"
@@ -80,6 +80,8 @@ copyright = "2026 KaiCreates"
8080
license-file = ["../LICENSE", "0"]
8181
extended-description = "InputSync is a lightweight, encrypted software KVM switch. Control multiple computers with one keyboard and mouse — no hardware required. Built with pure Rust + egui, no WebView2 or browser engine needed."
8282
depends = "libgtk-3-0, libx11-6, libxtst6, libxdo3"
83+
conflicts = ["input-sync"]
84+
replaces = ["input-sync"]
8385
section = "utils"
8486
priority = "optional"
8587
assets = [

0 commit comments

Comments
 (0)