libpulse-dev 설치 문제

libpulse-dev 설치 문제

libpulse-dev완전히 최신 시스템에 libsdl2-dev를 설치하려는 경우 Ubuntu 21.10에 문제가 있는 것 같습니다 .

다음 패키지에는 충족되지 않은 종속성이 있습니다.

libpulse-dev : 종속됨: libpulse0(= 1:15.0+dfsg1-1ubuntu2)이지만 1:15.0+dfsg1-1ubuntu2.1이 설치됩니다.

# dpkg --get-selections | grep hold
root@gamer2:/# apt update
Hit:1 https://repo.steampowered.com/steam stable InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu impish InRelease                             
Hit:3 http://ca.archive.ubuntu.com/ubuntu impish-updates InRelease                     
Hit:4 http://security.ubuntu.com/ubuntu impish-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu impish-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@gamer2:/# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@gamer2:/# apt install libsdl2-dev
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 resolve the situation:

The following packages have unmet dependencies:
 libpulse-dev : Depends: libpulse0 (= 1:15.0+dfsg1-1ubuntu2) but 1:15.0+dfsg1-1ubuntu2.1 is to be installed
                Depends: libpulse-mainloop-glib0 (= 1:15.0+dfsg1-1ubuntu2) but 1:15.0+dfsg1-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@gamer2:/# dpkg --get-selections | grep hold
root@gamer2:/# 

이 문제를 어떻게 해결하나요?

이것은 새로운 64b ubuntu21.10 설치에 있습니다.

업데이트

# apt-cache policy libpulse-dev
libpulse-dev:
  Installed: (none)
  Candidate: 1:15.0+dfsg1-1ubuntu2
  Version table:
     1:15.0+dfsg1-1ubuntu2.2 1 (phased 20%)
        500 http://ca.archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
     1:15.0+dfsg1-1ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu impish/main amd64 Packages

Ubuntu 버전, 커널 및 아키텍처:

root@gamer2:/# cat /etc/issue
Ubuntu 21.10 \n \l

root@gamer2:/# uname -a
Linux gamer2 5.13.0-22-generic #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

업데이트 2

impish에서는 libpulse0을 가져오지만 impish-update에서는 libpulse-dev를 가져오는 것 같습니다. 그런데 그 이유는 무엇입니까?

root@gamer2:/# apt-cache policy libpulse0
libpulse0:
  Installed: 1:15.0+dfsg1-1ubuntu2.1
  Candidate: 1:15.0+dfsg1-1ubuntu2.1
  Version table:
     1:15.0+dfsg1-1ubuntu2.2 1 (phased 20%)
        500 http://ca.archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
 *** 1:15.0+dfsg1-1ubuntu2.1 100
        100 /var/lib/dpkg/status
     1:15.0+dfsg1-1ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu impish/main amd64 Packages
root@gamer2:/# apt install libpulse0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpulse0 is already the newest version (1:15.0+dfsg1-1ubuntu2.1).
libpulse0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

업데이트 3

이 PC에는 기본이 아닌 리포지토리가 없으며 기본이 아닌 리포지토리가 구성된 적이 없습니다.

보류가 없습니다.

$ apt-mark showhold
$ 

답변1

"(단계적으로 20%)"

보다https://wiki.ubuntu.com/PhasedUpdates https://wiki.ubuntu.com/ErrorTracker/PhasedUpdates

단계적 기간이 끝날 때까지 기다리거나(현재 50%) 버전 번호를 제공하는 패키지를 설치할 수 있습니다.

어느 하나

sudo apt install libpulse-dev=1:15.0+dfsg1-1ubuntu2 libpulse0=1:15.0+dfsg1-1ubuntu2 libpulse-mainloop-glib0=1:15.0+dfsg1-1ubuntu2

또는

sudo apt install libpulse-dev=1:15.0+dfsg1-1ubuntu2.2 libpulse0=1:15.0+dfsg1-1ubuntu2.2 libpulse-mainloop-glib0=1:15.0+dfsg1-1ubuntu2.2

이는 Launchpad에 버그 보고서를 제출할 만한 특정 사례인 것 같습니다.https://answers.launchpad.net/ubuntu/+source/pulseaudio/+question/699828

관련 정보