Score:1

vim-gtk3 and vim-athena fail to install on Ubuntu 22.04

vi flag

I tried to install Vim with GUI on Ubuntu 22.04 but failed. I get the following errors when I run sudo apt install vim-gtk3 or sudo apt install vim-athena. It seems both packages need to be rebuilt with updated pre-prerequisites.

$ sudo apt install vim-gtk3

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

 vim-gtk3 : Depends: vim-common (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

            Depends: vim-runtime (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

E: Unable to correct problems, you have held broken packages.

$ sudo apt install vim-athena

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

 vim-athena : Depends: vim-common (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

              Depends: vim-runtime (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

E: Unable to correct problems, you have held broken packages.
muru avatar
us flag
Did you try running `sudo apt update` before trying to install these packages?
user535733 avatar
cn flag
Version `2:8.2.3995-1ubuntu2.2` is currently in the `jammy-proposed` repository. Do not enable -proposed sources unless you already know how to solve little problems like this. -proposed is for testing only, daily use is strongly discouraged. Fix your sources.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.