Debian 6にlcovをインストールすると問題が発生します。

Debian 6にlcovをインストールすると問題が発生します。

私はDebian 6マシンにlcovをインストールしようと数時間停止しました。どんな助けでも大変感謝します!

コマンドラインで次のことを試しました。

root@damrod-ci:/etc/munin/plugins# apt-get install lcov
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:   libpango1.0-0: Breaks:
plymouth (< 0.8.3-19) but 0.8.2-2ubuntu2.2 is to be installed E:
Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@damrod-ci:/etc/munin/plugins# apt-get -f install
Reading package lists... Done Building dependency tree        Reading
state information... Done Correcting dependencies... Done The
following packages were automatically installed and are no longer
required:   libgnumail-java libts-0.0-0 libcdio10 junit4
libgsf-1-common libarchive1 libntfs10 libgeronimo-jms-1.1-spec-java
libcdio-paranoia0 libcupsimage2   libgphoto2-port0 libmagickcore2
libservlet2.4-java antlr gvfs-backends obex-data-server
libimobiledevice0 libmockobjects-java libgnuinet-java   libasm2-java
libproxy0 libplexus-component-api-java libmagickwand2
libsoup-gnome2.4-1 libdirectfb-1.2-0 libxstream-java
libpango1.0-common   libgnujaf-java radiusclient1 libgsf-1-114 ivy
libopenobex1 lm-sensors libradius1 fancontrol libxpp3-java libgs8
psfontmgr tsconf ghostscript   libcdio-cdda0 libhamcrest-java groovy
libexif12 libpaper-utils libxcb-render-util0 libbluetooth3 libpaper1
libjs-mootools libgphoto2-2 Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:   plymouth The
following packages will be upgraded:   plymouth 1 upgraded, 0 newly
installed, 0 to remove and 278 not upgraded. 179 not fully installed
or removed. Need to get 0B/141kB of archives. After this operation,
69.6kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated!  
plymouth Install these packages without verification [y/N]? y (Reading
database ... 85730 files and directories currently installed.)
Preparing to replace plymouth 0.8.2-2ubuntu2.2 (using
.../plymouth_0.8.3-20_amd64.deb) ... Unpacking replacement plymouth
... dpkg: error processing
/var/cache/apt/archives/plymouth_0.8.3-20_amd64.deb (--unpack): 
trying to overwrite '/lib/libply-splash-core.so.2.0.0', which is also
in package libplymouth2 0.8.2-2ubuntu2.2 Processing triggers for
initramfs-tools ... update-initramfs: Generating
/boot/initrd.img-2.6.32-33-server Processing triggers for ureadahead
**... Errors were encountered while processing: 
/var/cache/apt/archives/plymouth_0.8.3-20_amd64.deb E: Sub-process
/usr/bin/dpkg returned an error code (1)

マイソースリスト

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos deb http://ftp.nz.debian.org/debian/ squeeze main contrib non-free  deb-src http://ftp.nz.debian.org/debian/
squeeze main contrib non-free 

###### Debian Update Repos deb http://ftp.nz.debian.org/debian/ squeeze-proposed-updates main contrib non-free 

##############################################################
##################### UNOFFICIAL  REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Dotdeb - http://www.dotdeb.org deb http://packages.dotdeb.org oldstable all


####### 3rd Party Source Repos

#### Dotdeb (Source) - http://www.dotdeb.org deb-src http://packages.dotdeb.org oldstable all

ベストアンサー1

問題は、DebianシステムでUbuntuパッケージを混在させようとしていることです。

Ubuntuは理由が異なります。 Ubuntuを実行するには、Ubuntuを実行します。そうしないと、DebianにUbuntuパッケージをインストールしようとしないでください。

明らかに、lcovパッケージには何の問題もありません。エラーメッセージを確認すると、libpango(おそらくlcovの依存関係)がplymouthを破損するためインストールできないというメッセージが表示され、明らかにUbuntuパッケージと呼ばれています。

おすすめ記事