[Bug 1896405] Re: Cannot install libglib2.0-dev on ubuntu 20.04.1

Sebastien Bacher 1896405 at bugs.launchpad.net
Tue Sep 22 10:42:13 UTC 2020


Great that it worked out. The downgrade was trying to remove things
because libglib binaries need to be on the same version so it was
necessary to downgrade libglib2.0-bin/focal in addition to the main
library

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

Title:
  Cannot install  libglib2.0-dev on ubuntu 20.04.1

Status in glib2.0 package in Ubuntu:
  Invalid

Bug description:
  I already tried running `apt update/upgrade`, but it did not make any
  difference.

  Why these versions conflicts are happening?

  1. libglib2.0-bin : Conflicts: libglib2.0-bin:i386 but 2.64.2-1~fakesync1 is to be installed
  1. libglib2.0-bin:i386 : Conflicts: libglib2.0-bin but 2.64.3-1~ubuntu20.04.1 is installed
  1. libglib2.0-dev : Depends: libglib2.0-0 (= 2.64.2-1~fakesync1) but 2.64.3-1~ubuntu20.04.1 is installed
  1. libglib2.0-0 : Breaks: libglib2.0-0:i386 (!= 2.64.3-1~ubuntu20.04.1) but 2.64.2-1~fakesync1 is to be installed
  1. libglib2.0-0:i386 : Breaks: libglib2.0-0 (!= 2.64.2-1~fakesync1) but 2.64.3-1~ubuntu20.04.1 is installed

  ```
  $ sudo aptitude install libglib2.0-dev
  The following NEW packages will be installed:
    gcc-10-base:i386{a} libblkid-dev{a} libblkid1:i386{a} libc6:i386{a} libcrypt1:i386{a} libelf1:i386{a} libffi-dev{a} libffi7:i386{a} libgcc-s1:i386{a} libglib2.0-0:i386{ab} 
    libglib2.0-bin:i386{ab} libglib2.0-dev{b} libglib2.0-dev-bin{a} libidn2-0:i386{a} libmount-dev{a} libmount1:i386{a} libpcre2-8-0:i386{a} libpcre2-dev{a} libpcre2-posix2{a} 
    libpcre3:i386{a} libselinux1:i386{a} libselinux1-dev{a} libsepol1-dev{a} libunistring2:i386{a} zlib1g:i386{a} 
  0 packages upgraded, 25 newly installed, 0 to remove and 0 not upgraded.

  Need to get 8.701 kB of archives. After unpacking 41,3 MB will be used.
  The following packages have unmet dependencies:
   libglib2.0-bin : Conflicts: libglib2.0-bin:i386 but 2.64.2-1~fakesync1 is to be installed
   libglib2.0-bin:i386 : Conflicts: libglib2.0-bin but 2.64.3-1~ubuntu20.04.1 is installed
   libglib2.0-dev : Depends: libglib2.0-0 (= 2.64.2-1~fakesync1) but 2.64.3-1~ubuntu20.04.1 is installed
   libglib2.0-0 : Breaks: libglib2.0-0:i386 (!= 2.64.3-1~ubuntu20.04.1) but 2.64.2-1~fakesync1 is to be installed
   libglib2.0-0:i386 : Breaks: libglib2.0-0 (!= 2.64.2-1~fakesync1) but 2.64.3-1~ubuntu20.04.1 is installed
  open: 2; closed: 4; defer: 0; conflict: 0

  The following actions will resolve these dependencies:

       Keep the following packages at their current version:
  1)     libglib2.0-0:i386 [Not Installed]                  
  2)     libglib2.0-bin:i386 [Not Installed]                
  3)     libglib2.0-dev [Not Installed]                     

  Accept this solution? [Y/n/q/?] y
  No packages will be installed, upgraded, or removed.
  0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B of archives. After unpacking 0 B will be used.
  ```

  ```
  $ cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="20.04.1 LTS (Focal Fossa)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 20.04.1 LTS"
  VERSION_ID="20.04"
  HOME_URL="https://www.ubuntu.com/"
  SUPPORT_URL="https://help.ubuntu.com/"
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
  PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
  VERSION_CODENAME=focal
  UBUNTU_CODENAME=focal
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1896405/+subscriptions



More information about the foundations-bugs mailing list