web-dev-qa-db-ja.com

dpkgを介してDebianにSkypeをインストールできません

これは私の端末出力です:

# dpkg -i skype-debian_4.2.0.11-1_i386.deb 
Selecting previously unselected package skype.
(Reading database ... 148114 files and directories currently installed.)
Unpacking skype (from skype-debian_4.2.0.11-1_i386.deb) ...
dpkg: dependency problems prevent configuration of skype:
 skype depends on libasound2 (>= 1.0.16); however:
  Package libasound2:i386 is not installed.
 skype depends on libc6 (>= 2.3.6-6~); however:
  Package libc6:i386 is not installed.
 skype depends on libc6 (>= 2.7); however:
  Package libc6:i386 is not installed.
 skype depends on libgcc1 (>= 1:4.1.1); however:
  Package libgcc1:i386 is not installed.
 skype depends on libqt4-dbus (>= 4:4.5.3); however:
  Package libqt4-dbus is not installed.
 skype depends on libqt4-network (>= 4:4.8.0); however:
  Package libqt4-network:i386 is not installed.
 skype depends on libqt4-xml (>= 4:4.5.3); however:
  Package libqt4-xml:i386 is not installed.
 skype depends on libqtcore4 (>= 4:4.7.0~beta1); however:
  Package libqtcore4:i386 is not installed.
 skype depends on libqtgui4 (>= 4:4.8.0); however:
  Package libqtgui4:i386 is not installed.
 skype depends on libqtwebkit4 (>= 2.1.0~2011week13); however:
  Package libqtwebkit4:i386 is not installed.
 skype depends on l
dpkg: error processing skype (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 skype


# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  skype:i386
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 39.2 MB disk space will be freed.
Do you want to continue [Y/n]?

私はAMD64アーキテクチャであり、「dpkg --add-architecturei386」を使用してi386も追加しました。

それを修正する方法はありますか?

編集:

# apt-get install libasound2:i386
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:
 libasound2:i386 : Depends: libc6:i386 (>= 2.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

# apt-get install libc6:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  audacity-data discover-data Eclipse-platform-data hp-ppd javascript-common klibc-utils libasm3-Java libaspectj-Java libcommons-cli-Java libcommons-codec-Java libcommons-dbcp-Java libcommons-httpclient-Java
  libcommons-lang-Java libcommons-pool-Java libeasymock-Java libecj-Java libequinox-osgi-Java libfelix-bundlerepository-Java libfelix-osgi-obr-Java libgeronimo-jta-1.1-spec-Java libgoocanvas-common
  libhamcrest-Java libicu4j-4.4-Java libjetty8-Java libjs-xmlextras libklibc libkxml2-Java libmlt-data libosgi-core-Java libosgi-foundation-ee-Java libservlet3.0-Java libtomcat7-Java logcheck-database
  mysql-common wwwconfig-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc6-i686:i386 libgcc1:i386 multiarch-support:i386
Suggested packages:
  glibc-doc:i386 locales:i386
The following packages will be REMOVED:
  accountsservice acl acpi acpi-fakekey acpi-support acpi-support-base acpid adduser aisleriot alacarte alsa-base alsa-utils anacron ant ant-optional Apache2.2-bin apg apt apt-listchanges apt-utils


!!! here were a lot of packages !!!


  xserver-xorg-video-vmware xserver-xorg-video-voodoo xterm xulrunner-17.0 xz-utils Yelp zeitgeist-core zenity zlib1g
The following NEW packages will be installed:
  libc6:i386 libc6-i686:i386 libgcc1:i386 multiarch-support:i386
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt libapt-pkg4.12 (due to apt) libc6 (due to apt) libgcc1 (due to apt) libstdc++6 (due to apt) debian-archive-keyring (due to apt) gnupg (due to apt) base-files base-passwd bash debianutils (due to bash)
  dash (due to bash) libtinfo5 (due to bash) bsdutils coreutils dpkg (due to coreutils) install-info (due to coreutils) libacl1 (due to coreutils) libattr1 (due to coreutils) libselinux1 (due to coreutils)
  diffutils libbz2-1.0 (due to dpkg) liblzma5 (due to dpkg) zlib1g (due to dpkg) tar (due to dpkg) e2fsprogs e2fslibs (due to e2fsprogs) libblkid1 (due to e2fsprogs) libcomerr2 (due to e2fsprogs) libss2 (due
  to e2fsprogs) libuuid1 (due to e2fsprogs) util-linux (due to e2fsprogs) findutils grep gzip hostname login libpam0g (due to login) libpam-runtime (due to login) libpam-modules (due to login) mount libmount1
  (due to mount) libsepol1 (due to mount) ncurses-bin Perl-base sed sysvinit initscripts (due to sysvinit) sysv-rc (due to sysvinit) sysvinit-utils (due to sysvinit) tzdata (due to util-linux) debconf (due to
  util-linux) libncurses5 (due to util-linux) libslang2 (due to util-linux)
0 upgraded, 4 newly installed, 1681 to remove and 0 not upgraded.
Need to get 5,358 kB/5,411 kB of archives.
After this operation, 3,116 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]
4
AbitDeveloper

現在、次のように、MultiArchを有効にしてから、i386パッケージをインストールすることにより、Debianにskypeをインストールします。

   dpkg --add-architecture i386
   apt-get update
   wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb
   dpkg -i skype-install.deb

それでもパッケージをインストールできない場合は、リポジトリを設定していないことを意味します。次の行のほとんどまたはすべてを(Sudoとして)/etc/apt/sources.listファイルに追加します。

   deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
   deb http://security.debian.org/ wheezy/updates main contrib non-free   
   deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free 
   deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates main contrib non-free
   deb http://ftp.debian.org/debian/ wheezy-backports main      

次に実行します

   Sudo apt-get update

最初の4行をもう一度試してください。

2
MariusMatutiae
$~ wget http://ftp.us.debian.org/debian/pool/main/a/alsa-plugins/libasound2-plugins_1.0.25-2_i386.deb

$~ mkdir /tmp/deb-temp
$~ dpkg-deb -x libasound2-plugins_1.0.25-2_i386.deb /tmp/deb-temp
$~ su - (your root password) or Sudo su - (your password)
root $~
root $~ cp -a /tmp/deb-temp/usr/lib/i386-linux-gnu/alsa-lib /usr/lib/i386-linux-gnu/
root $~ touch /etc/ld.so.conf.d/zz_i386-alsalibasound-plugins.conf 
root $~ vi /etc/ld.so.conf.d/zz_i386-alsalibasound-plugins.conf

# make the file contents looks like:
# Legacy biarch compatibility support
/usr/lib/i386-linux-gnu/alsa-lib/

# save your file. Run: 

root $~ ldconfig
0
too_loose