** Description changed:

  I'm getting dependency conflict when trying to install vim in Ubuntu
  noble chroot. The dependency version it wants is older then what is
  available in repositories. Running apt-get install vim fails with error
  as shown below:
  
- $ sudo apt-get install vim
+ (chroot) $ sudo apt-get install vim
  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 : Depends: vim-common (= 2:9.1.0016-1ubuntu3) but 2:9.1.0016-1ubuntu6 is 
to be installed
-        Depends: vim-runtime (= 2:9.1.0016-1ubuntu3) but 2:9.1.0016-1ubuntu6 
is to be installed
+  vim : Depends: vim-common (= 2:9.1.0016-1ubuntu3) but 2:9.1.0016-1ubuntu6 is 
to be installed
+        Depends: vim-runtime (= 2:9.1.0016-1ubuntu3) but 2:9.1.0016-1ubuntu6 
is to be installed
  E: Unable to correct problems, you have held broken packages.
  
  Apt-cache policy shows older version of vim available while in launchpad
  the newer version is shown, also the amd64 package version
  2:9.1.0016-1ubuntu6 is missing from repositories, no amd64 deb within
  repository pool directory of repository files
  
- $ apt-cache policy vim
+ (chroot) $ apt-cache policy vim
  vim:
-   Installed: (none)
-   Candidate: 2:9.1.0016-1ubuntu3
-   Version table:
-      2:9.1.0016-1ubuntu3 500
-         500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
+   Installed: (none)
+   Candidate: 2:9.1.0016-1ubuntu3
+   Version table:
+      2:9.1.0016-1ubuntu3 500
+         500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
  
  If vim was installed before, it would be uninstalled by upgrading vim-
  common and vim-runtime
  
  My sources list file:
  
- $ cat /etc/apt/sources.list
+ (chroot) $ cat /etc/apt/sources.list
  deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu noble-security main restricted universe 
multiverse
  deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe 
multiverse
  deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe 
multiverse
  
  Contents of /etc/lsb-release
  
- $ cat /etc/lsb-release 
+ (chroot) $ cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=24.04
  DISTRIB_CODENAME=noble
  DISTRIB_DESCRIPTION="Ubuntu Noble Numbat (development branch)"
+ 
+ Host is Ubuntu 22.04 LTS, using schroot 1.6.10 to access Ubuntu Noble
+ chroot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2059862

Title:
  Getting dependency error when trying to install of vim on noble chroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2059862/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to