Code Monkey home page Code Monkey logo

Comments (8)

RaphaelRochet avatar RaphaelRochet commented on August 16, 2024 1

These are not variables, they are just initial value put in variables. Easier to spot than empty values.

Now, either the pacman call does not work, or the output fetching does not work. When you have a update and can check if something appears in log me may have more info towards one or the other ...

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on August 16, 2024

Hi, items are parsed from the output of pacman -Si.
It looks for Repository and Architecture lines.

Do you have those on Manjaro ?

$ LANG=C pacman -Si cmake 
Repository      : extra
...
Architecture    : x86_64
...

from arch-update.

GaVenga avatar GaVenga commented on August 16, 2024

LANG=C pacman -Si cmake
Repository : extra
Name : cmake
Version : 3.29.3-1
Description : A cross-platform open-source make system
Architecture : x86_64
...
(Manjaro Gnome uses zsh - no change using bash ...)

xdg-open --help
xdg-open -- opens a file or URL in the user's preferred
application

Synopsis

xdg-open { file | URL }

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on August 16, 2024

REPO and ARCH in the url are placeholders that should be replaced with real values fetched from pacman -Si
That's really strange, it should work from what you pasted there.

Anything in log ?
Maybe run a journalctl -f in a terminal and try to open a package info, see if something about it prints.

from arch-update.

GaVenga avatar GaVenga commented on August 16, 2024

There is currently no update.
But why are this two placeholders not replaced?
All variables start with a $ and those don’t?
pacman -Si gives "an output" and parts are taken to fill /%2$s/%3$s/%1$s

from arch-update.

GaVenga avatar GaVenga commented on August 16, 2024

I asked in manjaro forum, may this help?
https://forum.manjaro.org/t/xdg-open-script-not-working/161218

from arch-update.

RaphaelRochet avatar RaphaelRochet commented on August 16, 2024

You are heading in the wrong direction. xdg-open is working as intended. If the extensions asks it to open "https://archlinux.org/packages/REPO/ARCH/cmake/" then that's what it's doing.. xdg-open is not responsible for REPO/ARCH replacement, it juste serves as a tool to open a url.

The issue you have is within the extension, when it comes to populate the "%2$s/%3$s/%1$s" part of the command, which is eventually replaced by REPO/ARCH (the placeholders) instead of extra/x86_64 (the values that shoudl be fetched from pacman -Si)

from arch-update.

GaVenga avatar GaVenga commented on August 16, 2024

Today:

Anything in log ?
Maybe run a journalctl -f in a terminal and try to open a package info, see if something about it prints.
==> journalctl -f ==> systemd[876]: Failed to start Application launched by gnome-shell.
The paket to update was "mkinitcpio", and the resulting URL in Firefox is:
https://archlinux.org/packages/REPO/ARCH/mkinitcpio/
404 - Page Not Found
correct: https://archlinux.org/packages/core/any/mkinitcpio/ ==> REPO=core and ARCH=any...
BUT: the version for ARCH differ from Manjaro so that this feature is not useful for Manjaro-users
and therefore: do not use it with Manjaro.

from arch-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.