-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unable to generate metadata on Ubuntu 23.04 #112
Comments
Hello, Do you try to generate the metadata with your local repository under Ubuntu 23.04 ? I'm trying to use my local repository with Gnome Software but it seems that I must use appstream-generator to have 'appstream catalog metadata' which Gnome Software requires. If you trying to do the same thing, can you give me advice for it ? I'm also on Ubuntu 23.04 version. Thank you very much. |
@jhonny-oliveira: Does your repository even contain language packs? If not, does the issue go away if you simply use the "debian" backend instead of the Ubuntu one? |
@Tuxman2 , You can find below a raw dump of what I have done. I created a mirror of my PPAs with aptly excluding the packages that cause the crash and then run the appstream-generator. When/if I ever get this working I will create and publish a nice HowTo with it. Let me know if you can make anything out of it and/or if I missed something.
Cheers! |
@jhonny-oliveira: Thanks for your help. I've got a local repository made with the help of apt-mirror. I've got DEP-11 metadata but I can't install any software under Gnome-software with the help of my local repository. As I said on another topic, I can see the list of applications, do a research on a software, but when I push the install button, it's waiting but nothings happens. It seems that Gnome-software tries to contact stackedit.io and appstream.ubuntu.com websites but I'm not online. I try to find a way to install sotfware under Gnome-software offline with the help of my repository (available on external hard disk). Thanks. Regards. Note: I'm using Ubuntu 23.04. |
@Tuxman2 , If I understood correctly, you have it working (almost) but the install fails. Correct? I didn't get that far. Can you please provide me more details, so I can understand what I'm missing. I don't need to be offline. So, that's not a issue for me. |
@jhonny-oliveira: Yes the install fails, but it is very strange that I can see the list of applications and do research on a software. I define my local repository in /etc/apt/sources.list file. Like this: deb [arch=amd64 trusted=yes] file:/media/......./....../ubuntu/ lunar main restricted universe multiverse In the terminal, I can install software with the sudo apt install command. I can do updates too. I tried with Ubuntu Software but it crashes with it. So, I installed Gnome-Software. When I push on the install button, another button appears: "Cancel" and after that an item is displayed below: "Ubuntu Unknow source Deb". I'm waiting but nothing happens. My local source repository is well defined in Gnome-Software. Can it be a Gnome-Software bug ? When I'm online everything is ok. |
Dear @Tuxman2, I just found out that aptly doesn't support dep11 (aptly-dev/aptly#473).
Can you please share the recipe you followed using apt-mirror? @ximion , I confirm 8750a92 fixed the problem. Thank you! |
Hello, I dropped this problem. I don't have time to deal with it anymore because of my job. I returned to Manjaro and its pamac tool. Thanks for taking the time to help me. Regards. |
Hi!
I'm getting the error (crash) below, while attempting to generate the metadata for my repo on Ubuntu 23.04 (Generator version: 0.9.0).
Any idea about what might be happening?
You can find additional information and the full execution log here: appstream-generator_log.txt.
Thank you!
Jhonny Oliveira
The text was updated successfully, but these errors were encountered: