Score:0

How to install library headers without downgrading

jp flag

I have Ubuntu 20.04.2 LTS and want to install libsystemd-dev but got an error:

$sudo apt install libsystemd-dev
The following packages have unmet dependencies:
 libsystemd-dev : Depends: libsystemd0 (= 245.4-4ubuntu3) but 245.4-4ubuntu3.4 is to be installed

And this strange mismatch:

$ apt-cache policy libsystemd0
libsystemd0:
  Installed: 245.4-4ubuntu3.4
  Candidate: 245.4-4ubuntu3.4
  Version table:
 *** 245.4-4ubuntu3.4 100
        100 /var/lib/dpkg/status
     245.4-4ubuntu3 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
$ apt-cache policy libsystemd-dev
libsystemd-dev:
  Installed: (none)
  Candidate: 245.4-4ubuntu3
  Version table:
     245.4-4ubuntu3 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages

I just need headers; I think I can use a bit older headers with a bit newer lib, nothing critical will happen. I dont manage to downgrade half of the system libs. How can I force ignore package dependencies system?

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.