Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing meld and leafpad results in conflicts #6595

Closed
bobvanderlinden opened this issue Feb 27, 2015 · 6 comments
Closed

Installing meld and leafpad results in conflicts #6595

bobvanderlinden opened this issue Feb 27, 2015 · 6 comments

Comments

@bobvanderlinden
Copy link
Member

I try to install meld while leadpad is already installed:

nix-env -i meld

This resulted in a error suggesting me to set the priority of one leafpad or meld higher (similar to the message shown below). I set the priotity of leafpad to 2, but after rerunning the above command again, it resulted in the next set of packages I needed to prioritize. This is shown below:

installing ‘meld-3.12.3’
building path(s) ‘/nix/store/rk88k0xibbac80h8rig7jr1b45zm8sz2-user-environment’
Wide character in die at /nix/store/jjgyvh88yw37gg5ad5lj1z0qdv31d7jy-buildenv.pl line 79.
collision between ‘/nix/store/sdzasfy532ani7jb4n55hgzw60hf5jgz-finalterm-git-5ccde4e8/share/glib-2.0/schemas/gschemas.compiled’ and ‘/nix/store/1l57xj9mi30a5dd9zbzdqsrqr3l7ckar-meld-3.12.3/share/glib-2.0/schemas/gschemas.compiled’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
builder for ‘/nix/store/9wcx60dvv8y3kcqxmi7kkx92h98ny8wj-user-environment.drv’ failed with exit code 255
error: build of ‘/nix/store/9wcx60dvv8y3kcqxmi7kkx92h98ny8wj-user-environment.drv’ failed

I was worried I was going down the rabbit hole, so I stopped here.

I'm on (as far as I know) an up-to-date stable channel on my profile and system. I'd think prioritization shouldn't be needed on stable, but I might be misunderstanding what is happening?

@lucabrunox
Copy link
Contributor

That gschemas.compiled shouldn't be there.

On Sat, Feb 28, 2015 at 12:57 AM, bobvanderlinden notifications@github.com
wrote:

I try to install meld while leadpad is already installed:

nix-env -i meld

This resulted in a error suggesting me to set the priority of one leafpad
or meld higher (similar to the message shown below). I set the priotity of
leafpad to 2, but after rerunning the above command again, it resulted in
the next set of packages I needed to prioritize. This is shown below:

installing ‘meld-3.12.3’
building path(s) ‘/nix/store/rk88k0xibbac80h8rig7jr1b45zm8sz2-user-environment’
Wide character in die at /nix/store/jjgyvh88yw37gg5ad5lj1z0qdv31d7jy-buildenv.pl line 79.
collision between ‘/nix/store/sdzasfy532ani7jb4n55hgzw60hf5jgz-finalterm-git-5ccde4e8/share/glib-2.0/schemas/gschemas.compiled’ and ‘/nix/store/1l57xj9mi30a5dd9zbzdqsrqr3l7ckar-meld-3.12.3/share/glib-2.0/schemas/gschemas.compiled’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
builder for ‘/nix/store/9wcx60dvv8y3kcqxmi7kkx92h98ny8wj-user-environment.drv’ failed with exit code 255
error: build of ‘/nix/store/9wcx60dvv8y3kcqxmi7kkx92h98ny8wj-user-environment.drv’ failed

I was worried I was going down the rabbit hole, so I stopped here.

I'm on (as far as I know) an up-to-date stable channel on my profile and
system. I'd think prioritization shouldn't be needed on stable, but I might
be misunderstanding what is happening?


Reply to this email directly or view it on GitHub
#6595.

NixOS Linux http://nixos.org

@bobvanderlinden
Copy link
Member Author

Ah, I get it now. finalterm-git includes gschemas.compiled, which shouldn't be there. I guess this is a problem with the finalterm-git package?

Also, I set the priority of leafpad back to 0 and tried to reinstall meld and leafpad, resulting in the following conflict:

collision between ‘/nix/store/1l57xj9mi30a5dd9zbzdqsrqr3l7ckar-meld-3.12.3/share/icons/hicolor/icon-theme.cache’ and ‘/nix/store/1ilfj4ya0yamrh3xhwnr4rjyrdrx8ndl-leafpad-0.8.18.1/share/icons/hicolor/icon-theme.cache’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages

I guess icon-theme.cache shouldn't be included as well? Any example on how to fix this? I don't mind doing a PR.

@vcunat
Copy link
Member

vcunat commented Feb 28, 2015

The icon-theme.cache files should be auto-deleted after bf521d7. @lethalman, maybe solve gschemas.compiled in a similar way?

@lucabrunox
Copy link
Contributor

gschemas.compiled is already solved by the glib setup hook, but maybe meld
uses a different way to install those gschemas.

On Sat, Feb 28, 2015 at 8:07 AM, Vladimír Čunát notifications@github.com
wrote:

The icon-theme.cache files should be auto-deleted after bf521d7
bf521d7.
@lethalman https://github.com/lethalman, maybe solve gschemas.compiled
in a similar way?


Reply to this email directly or view it on GitHub
#6595 (comment).

NixOS Linux http://nixos.org

@bobvanderlinden
Copy link
Member Author

Are these changes already on the stable channel? I'm running stable on my laptop, which could explain why I'm still getting these conflicts.

@lucabrunox
Copy link
Contributor

I have to fix the glib setup hook to use that simple mv instead of relying on the makefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants