이 작업을 수행하려고 하는데 sudo apt-get install kali-Linux-full
오류가 발생하여 더 이상 진행할 수 없습니다. 파일을 정리하고 삭제하려고 시도했지만 루트인데도 권한이 없습니다. Linux를 처음 접하는 사람이므로 도움, 팁 또는 요령을 알려 주시면 대단히 감사하겠습니다.
root@host:~$ sudo apt-get install kali-linux-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
kali-linux-full is already the newest version (2020.1.0).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
kali-linux-large : Depends: jsql-injection but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@host:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
freeglut3 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-polkit-1.0 gir1.2-secret-1
ibverbs-providers libhwloc5 libibverbs1 libpackagekit-glib2-18
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
jsql-injection
The following NEW packages will be installed:
jsql-injection
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1643 not fully installed or removed.
Need to get 0 B/1,982 kB of archives.
After this operation, 2,257 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
E: Invalid archive signature
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
E: Prior errors apply to /var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb: error: '/var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb' is not a Debian format archive
dpkg: error processing archive /var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@host:~$
답변1
이 문제가 발생했습니다. 문제를 해결하기 위해 deb 파일의 이름을 변경한 후 업데이트를 성공적으로 수행했습니다.
sudo mv /var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb \
/var/cache/apt/archives/jsql-injection_0.81-0kali2_all.deb.old
sudo apt-get install jsql-injection
그런 다음 다른 설치를 위해 다시 돌아갔습니다. 도움이 되었기를 바랍니다.