KL2016이 있고 virtualbox에 설치했는데 설치 후 문제가 시작되었습니다.
apt-get install && apt-get upgrade && apt-get dist-upgrade
이것은 내가 얻는 오류입니다
The following additional packages will be installed:
vlc-bin
The following NEW packages will be installed:
vlc-bin
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
3 not fully installed or removed.
Need to get 157 kB of archives.
After this operation, 382 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.xxxx.fr/kali/kali kali-rolling/main amd64 vlc-bin amd64 2.2.6-2 [157 kB]
Fetched 157 kB in 0s (167 kB/s)
(Reading database ... 340385 files and directories currently installed.)
Preparing to unpack .../vlc-bin_2.2.6-2_amd64.deb ...
Unpacking vlc-bin (2.2.6-2) ...
dpkg: error processing archive /var/cache/apt/archives/vlc-bin_2.2.6-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/cvlc', which is also in package vlc-nox 2.2.1-5+b1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/vlc-bin_2.2.6-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
답변1
동일한 시나리오에서 동일한 문제가 발생했습니다.
언급된 패키지(이 경우 vlc-nox)를 지워야 합니다.
sudo dpkg -P vlc-nox
그런 다음 설치를 다시 실행하십시오.
sudo apt-get install -f
그 후에는 작동합니다.