Tôi đang chạy một Linux Mint Rosa hoàn toàn mới (17.3 Cinnamont 64-bit) và tôi đang gặp quá nhiều vấn đề khi cài đặt ứng dụng khách owncloud trên đó:
Cho rằng gói trên repo bạc hà dường như đã lỗi thời, tôi đã làm theo hướng dẫn của trang owncloud :
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
sudo apt-get update
sudo apt-get install owncloud-client
Thêm khóa kho:
wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_16.04/Release.key
sudo apt-key add - < Release.key
Có lẽ tôi đã làm gì đó sai, vì đây là điều xảy ra khi cố gắng cài đặt máy khách:
sudo apt-get install owncloud-client
[sudo] password for lalala:
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:
owncloud-client : Depends: libowncloudsync0 (= 2.2.0-2) but it is not going to be installed
Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
Depends: owncloud-client-l10n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Dạo quanh mạng, tôi thấy sudo apt-get install -f:
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Và cố gắng tiến xa hơn với sự phụ thuộc chưa được đáp ứng đã dẫn tôi đến điều này:
sudo apt-get install libowncloudsync0
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:
libowncloudsync0 : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
E: Unable to correct problems, you have held broken packages.
Và điều này:
sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
Cố gắng loại bỏ các gói được cài đặt có khả năng xấu, dẫn tôi đến điều này:
sudo apt-get remove libstdc++6
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:
libgbm1 : Depends: libgl1-mesa-dri
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Rõ ràng, việc cố gắng loại bỏ owncloud-client dẫn tôi đến điều này:
sudo apt-get remove owncloud-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'owncloud-client' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Vì vậy, ... tôi không biết phải đi đâu từ đây. Tải xuống và nhấp đúp vào trình cài đặt gói .deb dẫn đến cùng một lỗi và tôi đã thử một số lệnh apt-get nhiều hơn nhưng không có kết quả. Bất kỳ ý tưởng?