sudo apt-get install -y liblog4cxx10-dev ล้มเหลว


1

เมื่อฉันพยายามติดตั้งแพคเกจ liblog4cxx10-dev มันรายงานข้อผิดพลาดดังต่อไปนี้:

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:
 liblog4cxx10-dev : Depends: libaprutil1-dev but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

ระบบของฉันคือ Ubuntu 12.04 LTS 64 บิต ฉัน googled และตรวจสอบ

apt-cache policy libblog4cxx10-dev

** ผลลัพธ์คือ:

 liblog4cxx10-dev:
  Installed: (none)
  Candidate: 0.10.0-1.2ubuntu2
  Version table:
     0.10.0-1.2ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

หากฉันใช้ apt-get install เพื่อติดตั้ง libaprutil1-dev ฉันมีข้อผิดพลาดดังต่อไปนี้: แพ็คเกจต่อไปนี้มีการพึ่งพาแบบไม่แน่นอน

libaprutil1-dev : Depends: libsqlite3-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ใครช่วยได้โดยให้ฉันรู้วิธีแก้ปัญหา? ตัวอย่างเช่นฉันควรใช้เครื่องมือใดหรือไฟล์ใดที่ฉันควรตรวจสอบ

ขอบคุณล่วงหน้า!**

คำตอบ:


0

วิ่งครั้งแรก apt-get autoremove เพื่อลบแพ็คเกจที่เสียหายและ apt-get update เพื่อรีเฟรช ในที่สุดลองรับ apt-get ดั้งเดิมของคุณ


ขอบคุณสำหรับคำแนะนำ. ฉันพยายาม แต่ก็ยังมีข้อผิดพลาดเดียวกัน :(
Mike
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.