728x90
728x90
ํจํค์ง๋ฅผ ์ค์นํ๋ ๊ณผ์ ์์, dpkg ์ค๋ฅ๊ฐ ๋ฐ์ํ์๋ค.
Errors were encountered while processing:
/var/cache/apt/archives/python3-catkin-pkg-modules_0.5.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
์ด ์ค๋ฅ๊ฐ ๋จ๋ฉด dpkg๋ apt๋.. ํจํค์ง ์ค์น ๋๊ตฌ๊ฐ ๋ค ์ฃฝ๋๋ค๊ณ .
์๋์ฒ๋ผ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด ๋ค์ ๋์ด๋ฆด ์ ์๋ค๊ณ ํ๋๋ฐ, 3๊ฐ ๋ค ์ ๋ ฅํด๋ ์๋ผ์
$ rm /var/lib/dpkg/info/*
$ dpkg --configure -a
$ apt update -y
์๋ ๋ช ๋ น์ด๊น์ง ์ ๋ ฅํด์ฃผ๋ ํด๊ฒฐ๋์๋ค.
$ apt install -f
ํจํค์ง ์์กด์ฑ ํ ๋ฒ ๊นจ์ง๋ฉด ๋๋ฌด ๊ณจ์น์ํ๋ค.
728x90
320x100
'๐ OS > Linux-๋ฆฌ๋ ์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Linux] Ubuntu 16.04 ๊ณ ์ IP ์ค์ ๋ฐฉ๋ฒ (0) | 2023.02.15 |
---|---|
[E] No protocol specified (0) | 2022.08.01 |
[E] /bin/sh^M: bad interpreter: No such file or directory (0) | 2022.07.26 |
[E] Command "python setup.py egg_info" failed with error code 1 in /tmp/~ (0) | 2022.07.20 |
[E] vi: command not found (0) | 2022.07.20 |