I have installed Kali linux on my Gemini pda. It boot up fine and works without problems.
I tried to run apt-get update
and then apt-get upgrade
, but the second command fail all the time.
I get the the following packages have unmet dependencies
for vim
, vim-gtk
and vim-tiny
. I tried to run apt --fix-broken install
but this won't work, since I get the prompt if I want to fix vim
and I get again the same unmet packages error,
Tried as last resort to remove vim, but this won't work either, I still get the error about dependencies. Tried to apt remove all the vim packages without any luck.
also tried to run apt-get clean && apt-get purge
but even this didn't fix the problem.
Not sure why is not possible to update at this point. This is what I get when I run apt-get upgrade
The following packages have unmet dependencies:
vim: Depends: vim-runtime(= 2:8.1.0875-2) but 2:8.1.0875-1 is installed
vim-gtk : Depends: vim-runtime (= 2:8.1.0875-2) but 2:8.1.0875-1 is installed
vim-tiny: Depends: vim-common (= 2:8.1.0875-1) but 2:8.1.0875-2 is installed
E: Unmet dependencies. Try `apt --fix-broken install` with no packages (or specify a solution).
EDIT: Seems that no matter what I try to install, or remove, that message continue to pop up. I did look into forcefully remove VIM, but it seems it is part of the Kali complete packaging set, so removing that may cause issues to other apps that rely on that package. Tried to force install, force uninstall, nothing did work.
I may end up either going back to Debian, or re-installing again the distribution on the Gemini, and avoid to install VIM to start with (followed the instructions on the install page of the Gemini kali distro), by not installing all the other packages (the distro come with the top-10 packages I believe; not sure since this is the first time I use Kali, my usual distribution was Debian in the past).
Thanks to telcoM for giving me a trail to follow; I was able to fix the issue.
I did remove the /etc/apt/sources.list
file, which had some entry that were not for the gemini distribution; then I ran dpkg -r vim-tiny
to remove the tiny package that was triggering the mismatch. Last step was to run
sudo apt-get --purge autoremove vim
sudo apt-get --purge autoremove vim-runtime
sudo apt-get --purge autoremove vim-gtk
Then I ran sudo apt --fix-broken install
to set up VIM with the correct packages versions, and finally do a sudo apt-get update
This did refresh my repository, so I could start from a fresh start.
When I ran sudo apt-get upgrade
, everything works fine now; the version mismatch did disappear and now I can update and install new packages.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다