Ubuntu 14.04에서 16.06으로 업그레이드한 후에도 libglib2.0-dev(업데이트된 라이브러리)를 받지 못함

Ubuntu 14.04에서 16.06으로 업그레이드한 후에도 libglib2.0-dev(업데이트된 라이브러리)를 받지 못함

git에서 reddit용 무언가를 컴파일하고 설치하고 싶었습니다.

./configure.ac를 사용하면 아래 오류가 표시됩니다.

./configure: line 5088: GLIB_GSETTINGS: command not found
./configure: line 5089: syntax error near unexpected token `1.42.0'
./configure: line 5089: `GOBJECT_INTROSPECTION_CHECK(1.42.0)'

여기 stackoverflow에서 검색한 결과 GLIB_GSETTINGS가 libglib2.0-dev에 있는 것으로 나타났으나 이를 통해 설치하려고 했습니다.

sudo apt-get install libglib2.0

다시 오류가 발생했습니다.

    Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libglib2.0-0-refdbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-tests' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-bin' for regex 'libglib2.0'
Note, selecting 'libglib2.0-cil' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dbg' for regex 'libglib2.0'
Note, selecting 'libglib2.0-dev' for regex 'libglib2.0'
Note, selecting 'libglib2.0-doc' for regex 'libglib2.0'
Note, selecting 'libglib2.0-data' for regex 'libglib2.0'
Note, selecting 'libglib2.0-0' for regex 'libglib2.0'
libglib2.0-0 is already the newest version (2.48.1-1~ubuntu16.04.1).
libglib2.0-data is already the newest version (2.48.1-1~ubuntu16.04.1).
libglib2.0-bin is already the newest version (2.48.1-1~ubuntu16.04.1).
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:
 libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
 libglib2.0-0-refdbg : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.48.0-1ubuntu4) but 2.48.1-1~ubuntu16.04.1 is to be installed
                  Depends: libglib2.0-bin (= 2.48.0-1ubuntu4)

한 달 전에 시스템을 14.04에서 16.04로 업그레이드했습니다. 뭔가 놓쳤거나 지금 뭔가 잘못하고 있는 걸까요?

reddit git 소스에 대한 내용은 여기에 있습니다.https://github.com/samdroid-apps/something-for-reddit 여기서도 모든 종속성을 확인할 수 있습니다.패키지 세부 정보: Something-for-reddit-git 0.1-1

답변1

답은 다운그레이드 입니다.

stackoverflow에서 다시 검색한 결과 다른 사람들도 동일한 문제에 직면하고 있으며 다음 명령을 사용하여 해당 라이브러리를 다운그레이드하라는 제안을 받았습니다.

sudo apt-get install libglib2.0-0=2.48.0-1ubuntu4

sudo apt-get install libglib2.0-dev

이제 다음 호가 막혔습니다. 즉 ./configure: line 5089, GOBJECT_INTROSPECTION_CHECK(1.42.0)'

다운그레이드를 제안하는 링크는 다음과 같습니다.https://askubuntu.com/questions/58664/cant-install-package-libglib2-0-dev-because-it-dependents-on-some-unknown-version/60314

관련 정보