Kali linux on Gemini PDA : vim error when `apt-get upgrade`

rataplan

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).

rataplan

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] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Gemini PDA의 Kali Linux :`apt-get upgrade`시 vim 오류

분류에서Dev

dist-upgrade 후 Kali Linux에서 apt-get 업데이트 오류

분류에서Dev

Kali Linux: apt-get update returns "Hash Sum mismatch" error

분류에서Dev

How to fix error while sudo apt-get upgrade

분류에서Dev

VMWare error with Kali Linux

분류에서Dev

Upgrade vs dist-upgrade vs apt-get install linux-headers-generic

분류에서Dev

"apt-get update"실패? (Virtual Box가있는 Kali Linux)

분류에서Dev

Kali Linux에서 apt-get 업데이트 문제

분류에서Dev

Kali Linux Rolling-apt-get 업그레이드 : 404를 찾을 수 없습니다.

분류에서Dev

Kali Linux에서 apt-get 명령을 찾을 수 없습니다.

분류에서Dev

apt-get dist-upgrade, 자체 컴파일 된 vim을 덮어 쓰지 않고

분류에서Dev

'apt-get upgrade'가 멈춤

분류에서Dev

Disable changelog for apt-get upgrade?

분류에서Dev

Error when installing package using apt-get

분류에서Dev

Error when running "sudo apt-get autoremove"

분류에서Dev

Error after running Kali Linux update command

분류에서Dev

How to get root Password in Kali Linux?

분류에서Dev

내가 이해하지 못하는 Kali Linux의 apt-get 업데이트 오류

분류에서Dev

How do I fix an error with libc6-dev-armhf-cross in Ubuntu 18.04 when trying to apt upgrade?

분류에서Dev

apt-get upgrade가 ERROR : Sage 설치 트리가 이동했습니다.

분류에서Dev

aptitude safe-upgrade equivalence with apt-get

분류에서Dev

'sudo apt-get upgrade'수행 중 문제

분류에서Dev

sudo apt-get upgrade results in 404 errors for everything

분류에서Dev

How to rollback an "apt-get install dist-upgrade"?

분류에서Dev

"sudo apt-get upgrade"오류 (Ubuntu 14.04)

분류에서Dev

Having trouble with apt-get upgrade and removing KDE Plasma

분류에서Dev

Can't run apt-get upgrade ubuntu 14.04 gnome

분류에서Dev

Is apt-get dist-upgrade required in Docker container?

분류에서Dev

선택적 sudo apt-get dist-upgrade

Related 관련 기사

  1. 1

    Gemini PDA의 Kali Linux :`apt-get upgrade`시 vim 오류

  2. 2

    dist-upgrade 후 Kali Linux에서 apt-get 업데이트 오류

  3. 3

    Kali Linux: apt-get update returns "Hash Sum mismatch" error

  4. 4

    How to fix error while sudo apt-get upgrade

  5. 5

    VMWare error with Kali Linux

  6. 6

    Upgrade vs dist-upgrade vs apt-get install linux-headers-generic

  7. 7

    "apt-get update"실패? (Virtual Box가있는 Kali Linux)

  8. 8

    Kali Linux에서 apt-get 업데이트 문제

  9. 9

    Kali Linux Rolling-apt-get 업그레이드 : 404를 찾을 수 없습니다.

  10. 10

    Kali Linux에서 apt-get 명령을 찾을 수 없습니다.

  11. 11

    apt-get dist-upgrade, 자체 컴파일 된 vim을 덮어 쓰지 않고

  12. 12

    'apt-get upgrade'가 멈춤

  13. 13

    Disable changelog for apt-get upgrade?

  14. 14

    Error when installing package using apt-get

  15. 15

    Error when running "sudo apt-get autoremove"

  16. 16

    Error after running Kali Linux update command

  17. 17

    How to get root Password in Kali Linux?

  18. 18

    내가 이해하지 못하는 Kali Linux의 apt-get 업데이트 오류

  19. 19

    How do I fix an error with libc6-dev-armhf-cross in Ubuntu 18.04 when trying to apt upgrade?

  20. 20

    apt-get upgrade가 ERROR : Sage 설치 트리가 이동했습니다.

  21. 21

    aptitude safe-upgrade equivalence with apt-get

  22. 22

    'sudo apt-get upgrade'수행 중 문제

  23. 23

    sudo apt-get upgrade results in 404 errors for everything

  24. 24

    How to rollback an "apt-get install dist-upgrade"?

  25. 25

    "sudo apt-get upgrade"오류 (Ubuntu 14.04)

  26. 26

    Having trouble with apt-get upgrade and removing KDE Plasma

  27. 27

    Can't run apt-get upgrade ubuntu 14.04 gnome

  28. 28

    Is apt-get dist-upgrade required in Docker container?

  29. 29

    선택적 sudo apt-get dist-upgrade

뜨겁다태그

보관