ในอินทราเน็ตของงานของฉันมี repo ubuntu และ ppa ไวน์ท้องถิ่น
รายการแหล่งที่มา :
deb http://***<myintranet>***/ubuntu/ saucy main multiverse restricted universe
deb http://***/ubuntu/ saucy-updates main multiverse restricted universe
deb http://***/ubuntu/ saucy-security main multiverse restricted universe
deb http://***/ubuntu/ saucy-backports main multiverse restricted universe
deb http://***/ubuntu-ppa/wine lucid main
deb http://***/ubuntu-ppa/wine precise main
deb http://***/ubuntu-ppa/wine quantal main
deb http://***/ubuntu-ppa/wine raring main
ตอนนี้เมื่อฉันsudo apt-get install wine
ฉันได้รับข้อผิดพลาดนี้:
Reading package lists... Done
Building dependency tree
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:
wine : Depends: wine1.6 but it is not going to be installed or
wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ฉันไม่รู้ว่าทำไมสิ่งนี้ถึงเกิดขึ้นผู้ร่วมงานของฉันใช้การตั้งค่าเดียวกันกับอูบุนตู 13.10 และก็ใช้ได้ และด้วยการกำหนดค่านี้ใน linux mint 15 ฉันสามารถติดตั้งไวน์ได้โดยไม่มีปัญหา
ข้อเสนอแนะใด ๆ บางทีฉันต้องติดตั้งบางสิ่งก่อน?
ฉันยังลองsudo apt-get install wine1.7
:
Reading package lists... Done
Building dependency tree
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:
wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.13-0ubuntu1) but it is not going to be installed
Depends: wine1.7-i386 (= 1:1.7.13-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
แก้ไข:
นี่คือวิธีที่ฉันมีแหล่งที่มาของฉันตอนนี้:
deb http://***/ubuntu saucy main multiverse restricted universe
deb http://***/ubuntu saucy-updates main multiverse restricted universe
deb http://***/ubuntu saucy-security main multiverse restricted universe
deb http://***/ubuntu saucy-backports main multiverse restricted universe
และนี่คือ/etc/apt/
:
ผลลัพธ์ของapt-cache madison ^wine
:
winefish | 1.3.3-0dl1ubuntu2 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
winetricks | 0.0+20130702+svn1032-1 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine-gecko1.4 | 1.4.0-0ubuntu2 | http://***/ubuntu/ saucy/multiverse amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
โปรดทราบว่าตอนนี้ฉันสามารถเข้าถึงได้เฉพาะwine1.4
ในอูบุนตู repo เท่านั้น ถ้าฉันเพิ่ม ppa อีกครั้งนี่คือ ouput ของapt-cache madison ^wine
:
winefish | 1.3.3-0dl1ubuntu2 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.3-gecko | 1.4.0+1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
winetricks | 0.0+20130702+svn1032-1 | http://***/ubuntu/ saucy/universe amd64 Packages
winetricks | 0.0+20120308~ppa1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono0.0.4 | 0.0.4-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono0.0.4 | 0.0.4-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-dev | 1.2.2-1ubuntu1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.2-dbg | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.2-dev | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.2 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.2 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.2 | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.3 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.3 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.3 | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.4 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.3-dbg | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko | 1.2.2-1ubuntu1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.3-dev | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko1.4 | 1.4.0-0ubuntu2 | http://***/ubuntu/ saucy/multiverse amd64 Packages
wine-gecko1.5 | 1.5-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.6 | 1.6-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.7 | 1.7-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.7 | 1.7-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.4-common | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-common | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
แก้ไข 2:
หลังจากตั้งค่าแหล่งข้อมูลเป็น repo ทะลึ่ง:
deb http://***/ubuntu saucy main multiverse restricted universe
deb http://***/ubuntu saucy-updates main multiverse restricted universe
deb http://***/ubuntu saucy-security main multiverse restricted universe
deb http://***/ubuntu saucy-backports main multiverse restricted universe
นี่คือ ouput ของapt-get install wine
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
wine : Depends: wine1.4 but it is not going to be installed
wine1.4-amd64 : Depends: libgphoto2-2 (>= 2.4.10.1) but it is not installable
Depends: libgphoto2-port0 (>= 2.4.10.1) but it is not installable
wine1.4-common : Depends: wine1.4 (= 1.4.1-0ubuntu1~precise1~ppa4) but it is not going to be installed
wine1.4-i386:i386 : Depends: libgphoto2-2:i386 (>= 2.4.10.1) but it is not installable
Depends: libgphoto2-port0:i386 (>= 2.4.10.1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ฉันใช้ Mint 16 Cinnamon amd64 และใช่ฉันได้คัดลอก distros ทั้งหมดของ wine ppa เป็นทรัพยากรสุดท้ายทำให้การลอง repo ทะลึ่งไม่ทำงาน (แต่มันใช้งานได้สำหรับผู้ใช้ Ubuntu) และเกี่ยวกับ
—
Alvaro Fuentes
incoming
repo ฉันจะปิดได้อย่างไร
@terdon ฉันได้เพิ่มข้อมูลที่ต้องการแล้ว
—
Alvaro Fuentes
ตกลงทุกครั้งที่คุณทำการเปลี่ยนแปลงแหล่งที่มาของคุณคุณต้องดำเนิน
—
terdon
sudo apt-get update
การเพื่อให้การเปลี่ยนแปลงเหล่านั้นมีผล ผลลัพธ์ของการapt-cache madison
แสดงที่คุณไม่ได้ทำไว้เพราะมันแสดงรายการสิ่งที่คุณลบไป ให้แน่ใจว่าคุณเรียกใช้คำสั่งว่าก่อนที่จะapt-cache
เรียกใช้ นอกจากนี้คุณยังมีการแสดงเนื้อหาของ/apt/
ไดเรกทอรี แต่ผมถามต่อเนื้อหาของใด ๆไฟล์ในตั้งแต่ที่พวกเขาจะได้รับการผนวกเข้ากับเนื้อหาของ/etc/apt/sources.list.d
/etc/apt/sources.list
incoming
repo ของ Mint คุณมี distros ของ Ubuntu ที่แตกต่างกัน 4 รายการซึ่งอาจทำให้เกิดปัญหานี้ขึ้นอยู่กับวิธีที่คุณตั้งค่า คุณแน่ใจหรือว่านี่เป็น Mint และไม่ใช่ Mint Debian? AFAIK, สิ่งที่เข้ามาคือ LMDE