-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fedora 40 KDE #496
Comments
There has been some big recent changes to AM with group permissions and you may need to reinstall it, however there is a bug and the owner went to sleep just recently 😅 @davidsoles In the meantime remove am by running
And in |
@davidsoles what version of AM? has @Samueru-sama said, in the last version 6.6.3 we have added some security fixes to let more admins of the same system to use all the options, while non privileged users are only allowed to read the lists and use the apps, they can't handle their directories. If you face problems in running any option of AM, just remove it this way:
and then, install it again (but first remove any INSTALL script from your $HOME):
I've just merged the PR of @Samueru-sama to fix that #498 |
@Samueru-sama I've expanded the message to warn unprivileged users, trying to explain them the steps to follow: another user also had the same issue #499 |
@davidsoles is it working now? |
Have you removed the old INSTALL script? |
Yes. I removed the INSTALL file, the folder in /opt/am and the am folder in $HOME/.cache |
From the output, it seems that the modules are not downloaded. Try to run any command |
I've found an issue here, now fixed 5a80d81 I don't know how, but I used the same installer without problems. |
Exactly. The installation process is failing. The modules folder is empty. None of the command are working. |
retry to re-install now, download the INSTALL script again |
OK, this is because the new installer checks for modules from the branch, so all you can see is an html file...and its strange, because on my debian machines this wont happen. Edit the INSTALL script you downloaded and change this line:
with
then reinstall using this script |
I'm going testing this on Fedora. |
its strange, I've a VM of Fedora KDE and to installing AM has no problems... apart that I had to run the three commands one by one, I don't know why
the long version does not work |
I'll try to do the same. |
please, thy now to install, a new PR was merged and worked https://github.com/ivan-hc/AM/pull/511/files |
Same error.
|
I'm sorry for the inconvenience, I suggest uninstalling and reinstalling. I downgraded from version 6.6.3 to version 6.6.2 to solve this and other issues. AM is still not ready for this feature. Sorry. |
But in 6.6.2 I still get the same error. Don't feel pressured. I'll wait. |
The 6.6.3 release have changed permissions in the directories managed by AM, included the installed apps. You shold reinstall AM and chmod/chown the affected directories. AM normally have always given the ownership to the first user that have installed AM. After this, all should act normally. |
My installation is completely new. I formatted my computer and installed Fedora 40 KDE, which was released on Wednesday. |
From about 30 minutes, AM has been restored to the 6.6.2 version, the last working one. So also the INSTALL script is the same of the previous release and should work as always (since it is the same from 2 years). If the issue persists also after a clean installation of AM, then the issue is somewhere else. I need to see some logs. |
@davidsoles @iPooPaLot I think I'll perform my tests on a VM of Fedora 40 to see if something is changed. Its not a distro I'm familiar with, but I'll try my best to solve this. From the script INSTALL, this is the part that checks for modules:
and this is what the "$MODULE" variable should show: are you able to test this function into a SHELL? |
Yes, I am debugging right now the downloading part, but I had to use
|
The output of your file in Fedora 40 is:
|
That's really weird, both work on my end: |
@Samueru-sama you use Arch (BTW) and I use Debian. THey both use Fedora 40, and it seems that it come with somenew policies I don't know. |
I've not understand how it works |
magic. |
I must know what I can do to help Fedora users and others in case of problems. |
Have the INSTALL script create the wget2rc file. |
I think it if better if you use the statically linked wget from busybox instead. I tested it with a few scripts and it had no issues. The debian wget is not statically linked and it is likely that on some distros it will break. You can also use a sed function that looks for wget2 in the system and if true changes
@ivan-hc I don't have issues on my appimage, just that I had to make a dummy icon for it, I just updated it as well to include jq since they also release a statically linked binary as well. |
@Samueru-sama the solution has been already found by @iPooPaLot
however I'm not familiar with wget2 and configuration files. I've already talked with the upstream, I suggest to see our disscussion rockdaboot/wget2#314 Anyway, I'd like to know the opinion of @iPooPaLot and @davidsoles and other Fedora users out there on what I should do. As far as I know, speaking with the wget2 developer, Fedora made a hasty decision, and it's up to Fedora 40 users to report the bug so they can improve support. They would definitely help improve wget2 itself. As far as I'm concerned, I can only provide workarounds, and I could very well provide the same solution I provided to libfuse2: install wget 1.x with AM NOTE, I will not offer to install wget directly with the INSTALL script, at most I can add a check to the main CLI, so that users are aware of the problems that the Fedora team has purposely brought to their users. At most I could offer to create a configuration file in $HOME, but nothing more. I've decided to be more strict in what I choose to do with AM from now on. |
@davidsoles @iPooPaLot @Samueru-sama What can you do to help me?
This should work for AppMan, but I'm not sure regarding "AM". We try to avoid workarounds such as adding wget among the installable apps and deal with the novelty in the most standard way possible... given that what passes for Fedora will sooner or later become law for all distributions. Stick to the discussion I had with the developer, and if you have any questions for him, please ask. |
@iPooPaLot what you wrote exactly in the wget2rc file? |
It's the same solution. just applied differently.
The issue with having the config in home is that wget2 may not read the file when AM doing sudo operations. It will work with appman but not sure with am, better use /etc instead, however that will require elevated privileges. |
--user-agent="Wget/1.24.5" |
this does not work for me |
@Samueru-sama it may work on Arch Linux, not on Fedora (I've tested it), the one from Debian is the one that works for me |
I think I'll upload wget at this point |
Alright I booted a fedora40 iso and it is true 😕 busybox wget gives missing TLS certificate errors. This shit is a nightmare lol. |
I'm going merging this to close the issue #522 |
@Samueru-sama what if i switch all api.github.com related references from
to
? @nazdridoy is your $HeaderAuthWithGITPAT compatilbe? |
If it works then great. I don't see a reason not to do it. I also found a way to hack json to be filtered with sed and grep. For example this works with both wget and wget2:
Sed is removing all |
@Samueru-sama let talk at #524 |
I've wrote a post on Reddit about this https://www.reddit.com/r/Fedora/comments/1cf5jpu/switching_from_wget_to_wget2_suddenly_in_fedora/ |
@nazdridoy UP! |
@nazdridoy for example
and
? |
This should help in the transition to WGET2: - fix #496 - see rockdaboot/wget2#314 - see https://www.reddit.com/r/Fedora/comments/1cf5jpu/switching_from_wget_to_wget2_suddenly_in_fedora/
This should help in the transition to WGET2: - fix ivan-hc#496 - see rockdaboot/wget2#314 - see https://www.reddit.com/r/Fedora/comments/1cf5jpu/switching_from_wget_to_wget2_suddenly_in_fedora/
Hi,
After the migration from Fedora 39 to 40, AM does not install correctly. When I run
am -h
or any other command, it saysmodules
are missing.What am I overlooking?
The text was updated successfully, but these errors were encountered: