package click 0.4.21.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| click (Ubuntu) |
High
|
Unassigned | |||
Bug Description
While upgrading to 14.10 this continually triggers warnings I only partially understand.
Now all menu-bars and side-bars are missing, though icons remain.
I have booted using several kernel via GRUB menu in an attempt to avoid the problem.
Also tried to install via 'sudo apt-get click --upgrade'
Error message is "cannot import name 'commands'"
NVIDIA proprietary driver install happened in here somewhere... 343.22 and 340.?? were tried. This restored desktop without menu bars or side-bar - the current situation.
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: click 0.4.21.1
ProcVersionSign
Uname: Linux 3.13.0-38-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Mon Oct 27 12:49:59 2014
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2014-03-31 (209 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: click
Title: package click 0.4.21.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
| Joe Suber (joesuber) wrote : | #1 |
| tags: | removed: need-duplicate-check |
| Brian Murray (brian-murray) wrote : | #2 |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in click (Ubuntu): | |
| status: | New → Confirmed |
| Michael Vogt (mvo) wrote : | #4 |
Thanks for your bugreport.
What do you get if you run:
$ sudo apt-get install -f
?
Do you have a "main.log" file somewhere in /var/log/
Thanks,
Michael
| Sieben (remy-leone) wrote : | #5 |
| Sieben (remy-leone) wrote : Re: [Bug 1386354] Re: package click 0.4.21.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 | #6 |
Done. I was forced to do dirty move in the script that where bugging. I've
added exit(0) on top to make them shut down. I might have put my system in
a dirty state but it was the only move I saw to get out of trouble.
2014-10-30 17:07 GMT+01:00 Michael Vogt <email address hidden>:
> Thanks for your bugreport.
>
> What do you get if you run:
> $ sudo apt-get install -f
> ?
> Do you have a "main.log" file somewhere in /var/log/
> in a surdirectory)? Having that attached to this bugreport would be
> helperful to find out what exactly happend.
>
> Thanks,
> Michael
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1385617).
> https:/
>
> Title:
> package click 0.4.21.1 failed to install/upgrade: subprocess new pre-
> removal script returned error exit status 1
>
> Status in “click” package in Ubuntu:
> Confirmed
>
> Bug description:
> While upgrading to 14.10 this continually triggers warnings I only
> partially understand.
>
> Now all menu-bars and side-bars are missing, though icons remain.
>
> I have booted using several kernel via GRUB menu in an attempt to
> avoid the problem.
>
> Also tried to install via 'sudo apt-get click --upgrade'
>
> Error message is "cannot import name 'commands'"
>
> NVIDIA proprietary driver install happened in here somewhere... 343.22
> and 340.?? were tried. This restored desktop without menu bars or
> side-bar - the current situation.
>
> ProblemType: Package
> DistroRelease: Ubuntu 14.10
> Package: click 0.4.21.1
> ProcVersionSign
> Uname: Linux 3.13.0-38-generic x86_64
> NonfreeKernelMo
> ApportVersion: 2.14.7-0ubuntu8
> Architecture: amd64
> Date: Mon Oct 27 12:49:59 2014
> DuplicateSignature: package:
> script returned error exit status 1
> ErrorMessage: subprocess new pre-removal script returned error exit
> status 1
> InstallationDate: Installed on 2014-03-31 (209 days ago)
> InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64
> (20131016.1)
> SourcePackage: click
> Title: package click 0.4.21.1 failed to install/upgrade: subprocess new
> pre-removal script returned error exit status 1
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https:/
>
| Changed in click (Ubuntu): | |
| importance: | Undecided → High |
| Markus Gonaus (magonaus) wrote : | #7 |
This comes from an old python packet installed with python:
You can solve this problem as follows:
markus@
[sudo] password for markus:
Uninstalling click:
/usr/
Proceed (y/n)? y
Successfully uninstalled click
markus@


From Aptlog.gz:
Preparing to unpack .../click_ 0.4.33_ amd64.deb ...^M apt/archives/ click_0. 4.33_amd64. deb (--unpack):^M
Traceback (most recent call last):^M
File "/usr/bin/click", line 31, in <module>^M
from click import commands^M
ImportError: cannot import name 'commands'^M
dpkg: warning: subprocess old pre-removal script returned error exit status 1^M
dpkg: trying script from the new package instead ...^M
Traceback (most recent call last):^M
File "/usr/bin/click", line 31, in <module>^M
from click import commands^M
ImportError: cannot import name 'commands'^M
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1^M