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

cannot run um #24

Closed
navxio opened this issue Feb 7, 2019 · 14 comments
Closed

cannot run um #24

navxio opened this issue Feb 7, 2019 · 14 comments

Comments

@navxio
Copy link

navxio commented Feb 7, 2019

Issuing um <arg> results in the following error.

Traceback (most recent call last):
	8: from /usr/bin/um:23:in `<main>'
	7: from /usr/lib/ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
	6: from /usr/lib/ruby/2.6.0/rubygems.rb:303:in `synchronize'
	5: from /usr/lib/ruby/2.6.0/rubygems.rb:304:in `block in activate_bin_path'
	4: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
	3: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
	2: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
	1: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1449:in `block in activate_dependencies'
/usr/lib/ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'kramdown' (~> 1.17) - did find: [kramdown-2.1.0,kramdown-2.0.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/nav/.gem/ruby/2.6.0:/usr/lib/ruby/gems/2.6.0:/home/nav/.gem', execute `gem env` for more information

OS: ArchLinux

@sinclairtarget
Copy link
Owner

It looks like you've got more recent versions of the Kramdown gem than um expects. What happens if you uninstall and reinstall um? I would have thought that would reinstall the needed version of Kramdown.

@navxio
Copy link
Author

navxio commented Feb 10, 2019

Even after re-installing I get the same error..

Dependent on the AUR package, so I suppose the version mismatch originates there..

@iajrz
Copy link
Contributor

iajrz commented Feb 10, 2019

@He-Ro you may want to see this. <3

@iajrz
Copy link
Contributor

iajrz commented Feb 10, 2019

(Unless I'm sorely mistaken, @He-Ro made sure um was available in both linuxbrew and AUR.

@He-Ro
Copy link
Contributor

He-Ro commented Feb 10, 2019

So there is a kramdown-1 package in the AUR: https://aur.archlinux.org/packages/ruby-kramdown-1/ Does um really only work with kramdown version 1? Then changing the dependency in the PKGBUILD to this kramdown version should be the solution. Will try it out myself, but I don't know when I have time for that.

@He-Ro
Copy link
Contributor

He-Ro commented Feb 10, 2019

@navdeepio I updated the AUR package. It should work if you rebuild it now. Let me know if it is still broken. You can also use the AUR comments for that if you want.

@navxio
Copy link
Author

navxio commented Feb 10, 2019

it appears there's a typo in the pkgbuild (never wrote one before so don't know), the build is still failing with error: target not found: ruby-kramdown=1.17.0

I went on to install ruby-kramdown-1 and then rebuilt um.. and it works now.

@iajrz
Copy link
Contributor

iajrz commented Feb 11, 2019

@navdeepio I am not an Arch user, so I don't completely grasp the current situation. You mean you still can't install from AUR because of the dependency issue, but found a workaround by manually installing the dependency?

@navxio
Copy link
Author

navxio commented Feb 12, 2019

@iajrz precisely.

@iajrz
Copy link
Contributor

iajrz commented Feb 12, 2019

@He-Ro what would be a good place to track this particular issue? This isn't an um issue, but an AUR packaging issue 😄

@He-Ro
Copy link
Contributor

He-Ro commented Feb 12, 2019

As I said, the comments of the AUR package are typically used for this. I have to read a little about dependency resolution in order to understand if depending directly on ruby-kramdown-1 is the correct approach.
@navdeepio are you using a AUR helper? If yes, could you tell me which one?

@iajrz
Copy link
Contributor

iajrz commented Feb 12, 2019

I was hoping you could share a URL or -- properly help @navdeepio use the right mechanism, so that this discussion could be moved there and this issue closed 😅

@navxio navxio closed this as completed Feb 12, 2019
@He-Ro
Copy link
Contributor

He-Ro commented Feb 12, 2019

Right here: https://aur.archlinux.org/packages/um/

@sinclairtarget
Copy link
Owner

Thanks so much @He-Ro for sorting this out. Let me know if you need anything from me

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

4 participants