Không thể cài đặt kubfox-Desktop trong ubfox 16.04 Lts


13

Theo đoạn trích là những gì tôi đã sử dụng để cài đặt kubuntu-desktoptrongubuntu-16.04 LTS

sudo apt-get install kubuntu-desktop

Có thông báo lỗi,

kubuntu-desktop is already the newest version (1.338).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Theo thông báo lỗi khi tôi cố cài đặt bằng

apt-get install -f

Tôi nhận được thông báo lỗi sau,

    Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  kde-config-telepathy-accounts
The following NEW packages will be installed:
  kde-config-telepathy-accounts
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
680 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 825 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 283314 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Xin hãy giúp tôi giải quyết điều này. Cảm ơn.


Có vẻ như bạn có thể có hai gói xung đột - một gói được yêu cầu bởi Kubfox. Đó là tất cả những gì tôi có thể thêm vào vấn đề.
Zzzach ...

Hãy thửsudo apt-get dist-upgrade -f
ThisIsNotAnId

Câu trả lời:


24

Tôi đã giải quyết vấn đề này bằng cách ghi đè lên

sudo dpkg -i --force-overwrite  /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb

và sau đó sửa chữa cài đặt với

sudo apt-get install -f

1
Cảm ơn giải pháp của bạn. Nó giải quyết vấn đề cho tôi. Đây là một lỗi đã biết được theo dõi trong launchpad. bugs.launchpad.net/ubuntu/+source/ktp-accounts-kcm/+bug/1557698
Sam Gleske
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.