Required dependency ("trash-cli") is not installable

Asked by Bob Filipiak

I was attempting to upgrade 0.4.13extras12.04-1 (precise) ---> 0.4.14 (precise) (via synaptic) when I received this error message:

variety:
 Depends: trash-cli but it is not installable

I used the search function in synaptic looking for "trash-cli" and "trash".

"trash-cli" is not listed as an available package; while "trash" yields "gnome-applets" which is installed, and "cinnamon-extensions-trash" which is NOT installed.

Now, for some reason, my trash applet has been crashing.

I wonder if the two are related?

I did have cinnamon desktop installed, but removed it, and I wonder if the cinnamon install didn't 'trash' the trash applet for gnome, which has not been restored with the removal of cinnamon?

Any thoughts?

Question information

Language:
English Edit question
Status:
Solved
For:
Variety Edit question
Assignee:
No assignee Edit question
Solved by:
Bob Filipiak
Solved:
Last query:
Last reply:
Revision history for this message
Peter Levi (peterlevi) said :
#1

trash-cli is a separate package for moving files to trash from the terminal. I don't think it has much to do with any of the packages trash, gnome-applets or cinnamon-extensions-trash.

Trash-cli is normaly present in Ubuntu's repositories. What OS exactly are you using?

Revision history for this message
Bob Filipiak (bfilipiak) said :
#2

I am using Ubuntu 12.04 LTS.

I just checked with both synaptic and Ubuntu software manager, and it does not appear in either one.

Attempting to install from the command line:

fatman@toy-box-2:~$ sudo apt-get install trash-cli
[sudo] password for fatman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package trash-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'trash-cli' has no installation candidate

HTH

Revision history for this message
Peter Levi (peterlevi) said :
#3

Ok, that's a mistake on my part. trash-cli is in universe repository, so Variety should not really depend on it. The dependency is anyway only recommended, and in fact not needed for Ubuntu users (as Variety can also use gvfs-trash which is installed by default I think).

I'll post an updated version soon that will fix the problem.

Revision history for this message
Bob Filipiak (bfilipiak) said :
#4

OK

Well, I enabled the universe repository, and installed it (trash-cli) through the command line; and updated variety.

So, for now, consider this - problem solved.

Revision history for this message
Peter Levi (peterlevi) said :
#5

I already pushed an update (0.4.15) to the PPA which removes the trash-cli dependency, it should be up fairly soon.