আমার উবুন্টুকে 17.04 এ আপগ্রেড করার পরে, প্যাকেজ সিস্টেমটি নষ্ট হয়ে গেছে। আমি যখন নিম্নলিখিত কমান্ডগুলির কোনও প্রয়োগ করি তখন আমি কিছু ত্রুটি পেয়েছি।
sudo apt-get --fix-ভাঙা ইনস্টল
$ sudo apt-get --fix-broken install
...
...
ubuntuone-credentials-common unity-plugin-scopes unity-scope-
mediascanner2
unity-webapps-qml url-dispatcher usermetricsservice vbetool vlc-nox
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
click-apparmor
The following packages will be upgraded:
click-apparmor
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/10.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 625249 files and directories currently installed.)
Preparing to unpack .../click-apparmor_0.3.18_amd64.deb ...
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: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
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 archive /var/cache/apt/archives/click-apparmor_0.3.18_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/click-apparmor_0.3.18_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo উপযুক্ত আপগ্রেড আপগ্রেড
$ sudo apt-get full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
click-apparmor : Depends: python3-apparmor-click (= 0.3.17) but 0.3.18 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
আমি নিম্নলিখিত সমাধানগুলি চেষ্টা করেছি কিন্তু সেগুলি কার্যকর হয়নি।
উবুন্টু পুনরায় ইনস্টল না করে কীভাবে এটি ঠিক করতে হয় কেউ জানেন?