-1
這種運行我如何擺脫「apache2:取決於:perl,但它不會被安裝」在Ubuntu 14.04桌面?
$sudo apt-get install apache2
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 to resolve the situation:
The following packages have unmet dependencies:
apache2 : Depends: perl but it is not going to be installed
Depends: apache2-bin (= 2.4.7-1ubuntu4) but it is not going to be installed
Depends: apache2-data (= 2.4.7-1ubuntu4) but 2.4.7-1ubuntu4.13 is to be installed
E: Unable to correct problems, you have held broken packages.
輸出更新時
$sudo apt-get update
Hit http://ppa.launchpad.net trusty InRelease
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://in.archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty/main i386 Packages
Hit http://in.archive.ubuntu.com trusty/main Translation-en
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Reading package lists... Done
我最近做
sudo rm -rf /var/lib/apt/lists/*
sudo rm /etc/apt/sources.list
後來我去了
sudo -i software-properties-gtk
是錯誤消息我在控制檯
然後檢查規範複選框然後,
sudo apt-get更新我執行的這個命令。
任何人都可以幫助我在我的ubuntu上安裝apache!
我不認爲你的問題是在正確的地方。 Ubuntu論壇可能工作,或者http://serverfault.com/或http://superuser.com/? 另外,爲什麼不只是sudo apt-get install perl? –
謝謝你。 仍然得到錯誤,當我執行sudo apt-get的安裝perl 的perl:依賴:Perl的基礎(= 5.18.2-2ubuntu1),但5.18.2-2ubuntu1.1是要安裝 反正我搬到這個問題到serverfault.com那裏人們可能會意識到。 – Jaccs
你可以從這裏獲得軟件包並手動安裝它:http://packages.ubuntu.com/precise/apache2 –