Ubuntu Server 11.10にlsb-coreをインストールできません


8

Ubuntuサーバーにlsb-coreをインストールしようとしています。apt-get updateその後しましたapt-get install lsb-core

root@quackwall:~# apt-get install lsb-core
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:
 lsb-core : Depends: lsb-invalid-mta but it is not going to be installed or
                     mail-transport-agent
            Depends: binutils but it is not going to be installed
            Depends: libc6-dev but it is not going to be installed or
                     libc-dev
            Depends: cups-bsd but it is not going to be installed or
                     lpr
            Depends: lprng or
                     cups-client but it is not going to be installed
            Depends: m4 but it is not going to be installed
            Depends: mailx or
                     mailutils but it is not going to be installed
            Depends: make but it is not going to be installed
            Depends: ncurses-term but it is not going to be installed
            Depends: pax but it is not going to be installed
            Depends: alien (>= 8.36) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

どうやら、Ubuntuはをインストールしたくないようlsb-coreです。私がグーグルで見つけることができる一つのことは、ミラーが古くなったということです。しかし、sources.listのどこが悪いのかわかりません。以下はそのコピーです

# deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release i386 (20111011)]/ oneiric main restricted

#deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release i386 (20111011)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://us.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://us.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu oneiric main
# deb-src http://extras.ubuntu.com/ubuntu oneiric main


###################
# MODS
###################

# Webmin
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib 

今はそれが良いかどうかは完全にはわかりませんが、基本的な更新を問題なく実行できることはわかっています。また、私はUSミラーを使用しているので、古くなってはいけません。

何が問題になっているのですか?


1
apt-get -s dist-upgradeあなたのシステムが最新であると言いますか?
Gilles「SO-邪悪なことをやめ

@Gillesはい、インストールする前に実行しました
TheLQ

/etc/apt/preferencesファイルはありますか?
Gilles 'SO-悪をやめなさい' 11/12/10

@Gillesいいえ、しかし空のpreferences.dディレクトリがあります
TheLQ

1
あなたはメーデーを作りました!共有のためのThxが多すぎる-同じ問題があった...

回答:


5

OK、自分で考え出した。でも問題だったのかもしれないと思うのですが

を使用してhamachi Linuxベータ版をインストールしましたdpkg -i package.deb。何らかの理由でdpkgは依存関係をインストールしなかったため、aptでパニックが発生しました。手動でインストールできませんでした。

ただし、apt-get -f dist-upgrade依存関係を機能させるために実行する必要があるようです。その後、それはすべてに一致し、ハマチは働きました


1
の+1 apt-get -f dist-upgrade。それで解決しました!
alexgophermix 2014
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.