본문 바로가기

Linux6

Ubuntu dpkg was interrupted 문제 해결 오랜만에 Ubuntu 21.10을 실행 Chrome brower Update 이슈가 발생했다. reinstall을 위해 brower를 통해 dep 파일을 다운로드, 설치를 위해 이전 version 삭제를 시도했으나 dpkg was interrupted 이슈가 발생 한다. 원인은 dpkg 설치 관리자가 원활하게 구성되지 않은 상태에서 진행시 발생하는 이슈로 대부분 강제로 패키지 관리자 프로세스를 종료하거나 임의로 사용자가 종료할 경우 발생한다. 해결방법 Console에서 아래 명령어를 입력 후 해결 한다. $ sudo dpkg --configure -a 또는 $ sudo apt-get install -f $ sduo dpkg --configure -a 참조 https://jootc.com/p/2018062.. 2022. 6. 17.
Unknown modules(s) in QT: serialport "Raspberry Pi4" 최근 연습삼아 Raspberry Pi4에서 QTApplication 개발중 serialport를 연동하고자 한다. 이에 project 파일인 확장자 .pro 파일에 아래 항목 추가 후 build 시 Unknown module(s) 오류가 발생 한다. QT += core gui serialport Unknown module(s) in QT: serialport 해결책은 libqt5serialport5-dev를 설치 후 다시 빌시하면 바로 해결된다. $sudo apt-get install libqt5serialport5-dev 2022. 5. 22.
Ubuntu Mysql WorkBench Server 연결 오류 Ubuntu 에 docker 설치 후 mysql server 5.7 image를 설치, Portainer로 Container 생성 후 실행하였다. 하지만, console에서 연결 시도는 정상 동작되지만 MySQL WorkBench를 이용하여 연결할 경우 아래 오류가 발생한다. An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.125" (uid=1000 pid=7944 comm="/snap/mysql-workbench-community/5/usr/bin/mysql- wo" label="snap.mysql-workbench-community.mysql-.. 2021. 12. 27.
Linux real-time clock /RTC timedatectl command 사용법 timedatectl command를 이용한 시간 설정 #timedatectl set-ntp false #timedatectl set-time "0000-00-00 00:00:00" #timedatectl set-ntp true 2021. 9. 6.