16.04 থেকে 16.10 আপগ্রেড করা আংশিকভাবে ব্যর্থ হয়েছে?


10

16.10 প্রকাশের কয়েক দিন পরে (এখন) আমি আপগ্রেড করার সিদ্ধান্ত নিয়েছি। অবশেষে ব্যর্থ না হওয়া অবধি আপগ্রেড করার সময় ত্রুটিগুলি রক্ষা করে। সিএলআই চলমান apt-get upgradeএখন দেয়:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
20 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up click (0.4.45.1+16.10.20160916-0ubuntu1) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package.  Remove it using Python packaging tools and try again.
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up click-apparmor (0.3.17) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package.  Remove it using Python packaging tools and try again.
dpkg: error processing package click-apparmor (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up url-dispatcher:amd64 (0.1+16.10.20160816.1-0ubuntu1) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package.  Remove it using Python packaging tools and try again.
dpkg: error processing package url-dispatcher:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-app-launch:
 ubuntu-app-launch depends on click-apparmor; however:
  Package click-apparmor is not configured yet.

dpkg: error processing package ubuntu-app-launch (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-system-settings:
 ubuntu-system-settings depends on click | ubuntu-snappy-cli; however:
  Package click is not configured yet.
  Package ubuntu-snappy-cli is not installed.

dpkg: error processing package ubuntu-system-settings (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of url-dispatcher-tools:
 url-dispatcher-tools depends on url-dispatcher (= 0.1+16.10.20160816.1-0ubuntu1); however:
  Package url-dispatcher:amd64 is not configured yet.

dpkg: error processing package url-dispatcher-tools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configurationNo apport report written because MaxReports is reached already
                             No apport report written because MaxReports is reached already
           No apport report written because MaxReports is reached already
                                                                         No apport report written because MaxReports is reached already
                                                        of ubuntu-app-launch-tools:
 ubuntu-app-launch-tools depends on ubuntu-app-launch (= 0.9+16.10.20160928-0ubuntu1); however:
  Package ubuntu-app-launch is not configured yet.

dpkg: error processing package ubuntu-app-launch-tools (--configure):
 dependency problems - leaving unconfigured
Setting up libunity-scopes1.0:amd64 (1.0.7+16.10.20160921-0ubuntu2) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package.  Remove it using Python packaging tools and try again.
dpkg: error processing package libunity-scopes1.0:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of ubuntu-system-settings-online-accounts:
 ubuntu-system-settings-online-accounts depends on ubuntu-system-settings; however:
  Package ubuntu-system-settings is not configured yet.

dpkg: error processing package ubuntu-system-settings-online-accounts (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity8:
 unity8 depends on ubuntu-system-settings (>= 0.4); however:
  Package ubuntu-system-settings is not configured yet.

dpkg: error processing package unity8 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of account-plugin-ubuntuone:
 account-plugin-ubuntuone depends on ubuntu-system-settings-online-accounts; however:
  Package ubuntu-system-settings-online-accounts is not configured yet.

dpkg: error processing package account-plugin-ubuntuone (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity-plugin-scopes:amd64:
 unity-plugin-scopes:amd64 depends on libunity-scopes1.0; however:
  Package libunity-scopes1.0:amd64 is not configured yet.

dpkg: error processing package unity-plugin-scopes:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity-greeter-session-broadcast:
 unity-greeter-session-broadcast depends on url-dispatcher-tools; however:
  Package url-dispatcher-tools is not configured yet.

dpkg: error processing package unity-greeter-session-broadcast (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity8-desktop-session:
 unity8-desktop-session depends on ubuntu-app-launch; however:
  Package ubuntu-app-launch is not configured yet.
 unity8-desktop-session depends on unity8; however:
  Package unity8 is not configured yet.
 unity8-desktop-session depends on url-dispatcher; however:
  Package url-dispatcher:amd64 is not configured yet.

dpkg: error processing package unity8-desktop-session (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of ubuntu-push-client:
 ubuntu-push-client depends on url-dispatcher; however:
  Package url-dispatcher:amd64 is not configured yet.

dpkg: error processing package ubuntu-push-client (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity-scope-click:
 unity-scope-click depends on account-plugin-ubuntuone; however:
  Package account-plugin-ubuntuone is not configured yet.
 unity-scope-click depends on ubuntu-app-launch-tools; however:
  Package ubuntu-app-launch-tools is not configured yet.
 unity-scope-click depends on libunity-scopes1.0; however:
  Package libunity-scopes1.0:amd64 is not configured yet.

dpkg: error processing package unity-scope-click (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of account-plugin-facebook:
 account-plugin-facebook depends on libaccount-plugin-facebook | ubuntu-system-settings-online-accounts; however:
  Package libaccount-plugin-facebook is not installed.
  Package ubuntu-system-settings-online-accounts is not configured yet.

dpkg: error processing package account-plugin-facebook (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of pay-service:
 pay-service depends on ubuntu-push-client (>= 0.68+15.04.20151009); however:
  Package ubuntu-push-client is not configured yet.

dpkg: error processing package pay-service (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity8-common:
 unity8-common depends on unity-plugin-scopes | unity-scopes-impl; however:
  Package unity-plugin-scopes:amd64 is not configured yet.
  Package unity-scopes-impl is not installed.
  Package unity-plugin-scopes:amd64 which provides unity-scopes-impl is not configured yet.
 unity8-common depends on unity-scopes-impl-12; however:
  Package unity-scopes-impl-12 is not installed.
  Package unity-plugin-scopes:amd64 which provides unity-scopes-impl-12 is not configured yet.

dpkg: error processing package unity8-common (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unity8-private:amd64:
 unity8-private:amd64 depends on pay-service; however:
  Package pay-service is not configured yet.

dpkg: error processing package unity8-private:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Processing triggers for libc-bin (2.24-3ubuntu1) ...

। ।

Errors were encountered while processing:
 click
 click-apparmor
 url-dispatcher:amd64
 ubuntu-app-launch
 ubuntu-system-settings
 url-dispatcher-tools
 ubuntu-app-launch-tools
 libunity-scopes1.0:amd64
 ubuntu-system-settings-online-accounts
 unity8
 account-plugin-ubuntuone
 unity-plugin-scopes:amd64
 unity-greeter-session-broadcast
 unity8-desktop-session
 ubuntu-push-client
 unity-scope-click
 account-plugin-facebook
 pay-service
 unity8-common
 unity8-private:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

আমার সিস্টেমটি + আপগ্রেড করে কাজ করার জন্য কোনও পরামর্শ?


Cannot start click due to a conflict with a different locally-installed Python 'click' package. Remove it using Python packaging tools and try again.। সুতরাং চেষ্টা করুনsudo pip uninstall clicksudo apt-get install -f
user.dz

1
ধন্যবাদ, এটি সমাধান করেছে। একটি উত্তর হিসাবে এটি লিখুন এবং অনুগ্রহ আপনার হয়!
যেমন AT

1
আমার ক্ষেত্রে এটি 'পিপ' নয়, এটি 'পাইপ 3' যা টিকটি ব্যবহার করে

উত্তর:


9

পোস্ট আউটপুট থেকে

স্থানীয়ভাবে ইনস্টল করা পাইথন 'ক্লিক' প্যাকেজটির সাথে বিরোধের কারণে ক্লিক শুরু করা যায় না। পাইথন প্যাকেজিং সরঞ্জাম ব্যবহার করে এটি সরান এবং আবার চেষ্টা করুন।

বিতরণের প্যাকেজ clickস্থানীয়ভাবে ইনস্টল সঙ্গে সংঘাতে হয়েছে clickমডিউল যেকোন একটি ব্যবহার করে pip3, pip, easy_installবা শুধু ফাইল সিস্টেম বের।

  1. স্থানীয় মডিউল আনইনস্টল করুন

    sudo pip3 uninstall click
    
  2. তারপরে ইনস্টলেশনটি মুলতুবি করে স্থির করে স্থির করুন

    sudo apt-get install -f
    

যদি এটি কাজ করে না pip3, তবে চেষ্টা করুন pip, easy_installঅন্যথায় এটি ম্যানুয়ালি অনুসন্ধান করুন এবং এটি মুছুন।


1
user.dz এর উত্তরটি আমার জন্য একটি পরিবর্তন নিয়ে কাজ করেছিল - এটি পাইথন 3 ক্লিক মডিউল ছিল যা পাইথন 2-এর বিরোধী ছিল না - তাই আমি এটি করেছি: sudo pip3 uninstall clickএবং তারপরে আর কোনও ত্রুটি ছাড়াই আপগ্রেড সম্পন্ন হয়েছে।
নিকিসপ্যাগ

@ নিকিসপ্যাগ, আপনাকে ধন্যবাদ, আমি প্রতিস্থাপনের জন্য উত্তরটি আপডেট করেছি যেহেতু পাইপ 3 ব্যবহারকারীদের ফিডব্যাকগুলি থেকে সঠিক উত্তর বলে মনে হচ্ছে।
user.dz

এটি আমার জন্যও এটি সমাধান করেছে। আমি অনুমান করি যে এটি কেন sudo pip installপ্রথম স্থানে এড়ানো ভাল of

3
আমি একই সমস্যার মুখোমুখি হয়েছি, পাইথন 3 টি প্যাকেজগুলি থেকে আনইনস্টল ক্লিক করলেও এখন এটি ত্রুটি ছুঁড়ে বলে File "/usr/bin/click", line 37, in <module> import click ImportError: No module named 'click' dpkg: error processing package click (--configure): subprocess installed post-installation script returned error exit status 1 আমার অনুমান যে এটি অনুপস্থিত প্যাকেজটি ব্যবহার করতে চায় তবে এটি পুনরায় ইনস্টল করার ফলে সংঘাতের সমস্যাটি ছুঁড়ে যায়। কোন সাহায্য প্রশংসা করা হয়।
ব্রেইনব্রেকার

1
@ User.dz এখানে আমার প্রশ্নের লিঙ্কটি রয়েছে: জিজ্ঞাসুবন্টু
ব্রেইনব্রেকার

0

অনুপস্থিত ইনস্টল করার চেষ্টা করুন:

sudo apt-get update
sudo apt-get install -f
sudo apt-get reboot

রিবুট শেষ হওয়ার পরে, চেষ্টা করুন:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

3
এটি অনুপস্থিত ইনস্টল করতে ব্যর্থ। sudo apt-get install -fআমার প্রশ্নের মতো একই ফলাফল দেয়।
যেমন AT

0

আমার কাছে এটি স্থির হয়েছে:

sudo apt-get install python3-click-package
আমাদের সাইট ব্যবহার করে, আপনি স্বীকার করেছেন যে আপনি আমাদের কুকি নীতি এবং গোপনীয়তা নীতিটি পড়েছেন এবং বুঝতে পেরেছেন ।
Licensed under cc by-sa 3.0 with attribution required.