iscott2
May 6th, 2015, 12:35 AM
After upgrading my Ubuntu Gnome from 14.10 to 15.04 I had a bunch of problems with package configuration and version dependencies. I was able to fix most of these by purging the gnome3-team/gnome3 ppa and doing "sudo dpkg --configure -a" and "sudo apt-get -f install" a couple of times.
Now the only packages that have problems are "click" and "click-apparmor". When I try to do "sudo apt-get upgrade" I get this:
The following packages have unmet dependencies:
click : Depends: python3-click (= 0.4.33) but 0.4.38.5 is installed
Recommends: ubuntu-app-launch-tools but it is not installed or
upstart-app-launch-tools
click-apparmor : Depends: python3-apparmor-click (= 0.2.11.2) but 0.3.8 is installed
But when I run "sudo apt-get -f install" to fix the dependencies, this is the error I get:
Preparing to unpack .../click_0.4.38.5_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/apt/archives/click_0.4.38.5_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../click-apparmor_0.3.8_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/apt/archives/click-apparmor_0.3.8_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/click_0.4.38.5_amd64.deb
/var/cache/apt/archives/click-apparmor_0.3.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried just installing the correct package versions like this:
sudo apt-get install python3-click=0.4.33 python3-apparmor-click=0.2.11.2
But I'm told that the specified versions can't be found for either package.
I'm really stuck. Any help would be greatly appreciated!
Now the only packages that have problems are "click" and "click-apparmor". When I try to do "sudo apt-get upgrade" I get this:
The following packages have unmet dependencies:
click : Depends: python3-click (= 0.4.33) but 0.4.38.5 is installed
Recommends: ubuntu-app-launch-tools but it is not installed or
upstart-app-launch-tools
click-apparmor : Depends: python3-apparmor-click (= 0.2.11.2) but 0.3.8 is installed
But when I run "sudo apt-get -f install" to fix the dependencies, this is the error I get:
Preparing to unpack .../click_0.4.38.5_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/apt/archives/click_0.4.38.5_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../click-apparmor_0.3.8_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 31, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing archive /var/cache/apt/archives/click-apparmor_0.3.8_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/click_0.4.38.5_amd64.deb
/var/cache/apt/archives/click-apparmor_0.3.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried just installing the correct package versions like this:
sudo apt-get install python3-click=0.4.33 python3-apparmor-click=0.2.11.2
But I'm told that the specified versions can't be found for either package.
I'm really stuck. Any help would be greatly appreciated!