You are not logged in.

#1 2019-04-12 13:49:10

jared
Member
From: Germany
Registered: 2012-01-16
Posts: 62

[SOLVED] Dependency: removing ruby-sass breaks dependency 'ruby-sass'

Hi everyone,

I am trying to remove ruby-sass, as it is deprecated since a couple of days (http://sass.logdown.com/posts/7828841).
I am pretty sure, I have installed it via pacman, back in the day. Pacman also finds the package:

$ pacman -Qi ruby-sass
Name            : ruby-sass
Version         : 3.7.3-1
Description     : Sass makes CSS fun again
Architecture    : any
URL             : http://sass-lang.com/
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : ruby  ruby-sass-listen  ruby-yard  ruby-maruku  ruby-rdoc
Optional Deps   : None
Required By     : gnome-code-assistance
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1898.00 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Sat 16 Feb 2019 06:46:09 PM CET
Install Date    : Thu 21 Feb 2019 07:14:25 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

I am also using npm installs of sass (e.g. Jekyll blogs)...

What I want to do is, remove the deprecated package ruby-sass, but I run into a dependency error:

$ pacman -Rs ruby-sass
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-code-assistance: removing ruby-sass breaks dependency 'ruby-sass'

Is this self-referencing, or are these two different packages of ruby-sass? I am unsure about trying pacman -Rdd (remove a package, which is required by another package, without removing the dependent package).

Can someone advise what I should do?
Thanks!

Last edited by jared (2019-04-13 10:17:49)

Offline

#2 2019-04-12 13:55:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: [SOLVED] Dependency: removing ruby-sass breaks dependency 'ruby-sass'

The package that has the dependency that would break is gnome-code-assistance. Which in turn is only required as optional for gnome builder (but noted as legacy support there as well) and gedit-code-assistance.

Last edited by V1del (2019-04-12 14:00:51)

Offline

#3 2019-04-12 13:59:18

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [SOLVED] Dependency: removing ruby-sass breaks dependency 'ruby-sass'

You're misinterpreting the error message. What it is trying to say is that the package 'gnome-code-assistance' is relying on a dependency 'ruby-sass', which is provided by the package your trying to remove; ruby-sass.

If you had a package that provides ruby-sass but was named differently (e.g. ruby-customsass) and you tried to remove that, the error would have looked like:

$ pacman -Rs ruby-customsass
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-code-assistance: removing ruby-customsass breaks dependency 'ruby-sass'

Getting rid of ruby-sass would thus most likely break gnome-code-assistance. If the deprecation worries you, see if you can get rid of everything on your system that (hard-)depends on ruby-sass as well.
Or if you can't because you use those applications, just accept this and move on and hope that some time in the future they decide to replace the ruby-sass dependency of their applications with a replacement.

Last edited by Omar007 (2019-04-12 14:02:47)

Offline

#4 2019-04-12 14:18:48

jared
Member
From: Germany
Registered: 2012-01-16
Posts: 62

Re: [SOLVED] Dependency: removing ruby-sass breaks dependency 'ruby-sass'

Thank you for the clarification. Seems I have never uninstalled any package which had dependencies. smile

I have removed `gedit-code-assistance`, which contained `gnome-code-assistance`. Then I was able to remove `ruby-sass`.

Thank you for your help.

Offline

#5 2019-04-12 14:20:37

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Dependency: removing ruby-sass breaks dependency 'ruby-sass'

Please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB