Study & Project ✏️/Bug & Report 🐞 16

[Linux] 자동 업데이트 비활성화 / 안 나오게 / 정지 하는 방법

필자의 OS 환경 OS : Debian, Raspbian 리눅스 환경에서 부팅 또는 재시작 시 자동 업데이트 목록이 나오게 되는데, 이 환경이 불편하거나 자동 업데이트 시 펌웨어의 버전관리가 불가능한 상황에 있다면 자동 업데이트를 비활성화하면 된다. 아래는 자동 업데이트를 비활성화 하는 방법이다. 1. 터미널에서 진행 $ cd /etc/apt/apt.conf.d $ ls // 10periodic 파일 확인 // 20auto-upgrades 파일 확인 2. 10periodic 파일 수정 $ sudo nano 10periodic //아래 내용으로 수정 APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0..

[electron-forge] An unhandled rejection has occurred inside Forge 일렉트론 빌드 에러

electron-forge를 이용해서 일렉트로 파일을 빌드하는 데 있어서 다음과 같은 오류가 발생할 때가 있습니다. 해당 오류의 해결방법과 원인을 빠르게 파악해보겠습니다. 글의 순서는 아래와 같이 진행하겠습니다. 1. 오류의 원인 2. 오류 해결방법 3. 결괏값 4. 마무리 말 1. electron-forge 에러 원인 1-1. electron-forge cli를 설치하지 않았을 경우 1. electron-forge를 cli를 통해 진행하는데, cli를 설치하지 않았을 경우 위와 같은 에러가 발생할 수 있습니다. 1-2. electron-forge config 파일을 직접 입력했을 경우 1. electron-forge를 config파일을 통해 진행하는데, 직접 config파일을 입력했을 경우 위와 같은 ..

[리액트 타입스크립트] React Typescript error: Cannot find module '*.mp4'. TS2307

리액트에서 mp4를 실행하려고 하시는 분들이 계실 텐데요. 타입스크립트를 사용하게 되면서 mp4 모듈을 찾을 수 없다는 오류를 만나게 되셨을 겁니다. 아래 글에서 해당 오류를 알아보겠습니다. 글의 순서는 아래와 같이 진행하겠습니다. 1. 오류의 이유 2. 해결방법 3. 오류가 지속된다면? 4. 마무리 말 1. 오류의 이유 보통 해당 오류의 경우에는 webpack을 사용하는 경우와 사용하지 않는 경우로 나뉩니다. 1. webpack을 사용하지 않는 경우는 타입스크립트에서 mp4의 타입이 선언되어 있지 않은 경우 오류가 나타납니다. 2. webpack을 사용하는 경우에는 file-loader가 설치되어 있지 않아서 그렇습니다. 2. 해당 오류의 경우 해결방법 해당 오류의 경우 해결방법은 아래와 같습니다. 1..

[Ubuntu] iptables 포트 열기, 닫기

포트 열기, 닫기 // 포트 정책 리스트로 확인 sudo iptables -nL // TCP Port 1234 포트 열기(정책 생성하기) sudo iptables -I INPUT 1 -p tcp --dport 1234 -j ACCEPT // UDP Port 1234 포트 열기 sudo iptables -I INPUT 1 -p udp --dport 1234 -j ACCEPT // TCP Port 1234 포트(정책 없애기) sudo iptables -D INPUT 1 -p udp --dport 1234 -j ACCEPT sudo iptables -D INPUT -p tcp -m tcp --dport 1234 -j ACCEPT 포트 포워딩 // 포워딩 하기 sudo iptables -A PREROUTING ..

[Solved]dpkg-deb: error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up. Error analysis and resolution

error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up Create or download a deb file There must have been an error like this when installing using dpkg Let's analyze the error and find a solution 1. Error analysis dpkg-deb: error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up The error is that it is a compression member wh..

[Solved]dpkg-deb: error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up 에러 분석 및 해결 방법

error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up deb 파일을 만들거나 다운받아서 dpkg를 이용해서 설치할 때 이런 오류가 뜬 적이 있을 것이다 해당 오류에 관해 분석해 보고 해결 방법을 알아보자 1. 에러 분석 dpkg-deb: error: archive 'test.deb' uses unknown compression for member 'control.tar.zst', giving up 오류는 control.tar.zst에 대해서 모르는 압축 멤버라고 하는 것이다. 그렇다면 왜 control.tar.zst를 모른다고 하는 것일까??? 바로 Debian 12 버전 이하는 zst를 이하는 ..

[Error electron-forge] You may need to re-bundle the app using Electron Packager's "executableName" option.

First, I'll tell you about my work environment and start. Desktop: Window10 Arch: AMD WSL: Linux Ubuntu (Arch: AMD) Compile Target: Linux (Arch: arm64) Briefly, you are trying to run a cross-compile from a Windows environment to Linux (arm64). If the error You may need to re-bundle the app using Electron Packager's "executableName" option. appears, it's probably a situation where you're trying t..