pminstaller.sh problem on Manjaro

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, Indalecio, satrow

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

pminstaller.sh problem on Manjaro

Postby JustOff » Tue Jul 11, 2017 12:42 pm

I have a problem installing Pale Moon on Manjaro XFCE 17.0.2 using pminstaller.sh. It shows that Pale Moon is already installed, while it is not.

pminstaller.sh uses this code to detect Pale Moon presence:

Code: Select all

pm_is_installed ()
{
which palemoon || [[ -d /opt/palemoon ]] || [[ -d /usr/lib/palemoon ]]
}

and it always returns true because of /usr/lib/palemoon exists, even when Pale Moon not installed.

PS: I'm aware that Manjaro has Pale Moon in AUR, but it would be nice if pminstaller.sh also worked.
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19664
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: pminstaller.sh problem on Manjaro

Postby Moonchild » Tue Jul 11, 2017 1:33 pm

Why would /usr/lib/palemoon exist if it is not installed?
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

Re: pminstaller.sh problem on Manjaro

Postby JustOff » Tue Jul 11, 2017 1:43 pm

This is because in Manjaro there is a config for Pale Moon package:

Code: Select all

$ head -5 /usr/lib/palemoon/distribution/distribution.ini
[Global]
id=Manjaro
version=Rolling
about=Palemoon for Manjaro
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19664
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: pminstaller.sh problem on Manjaro

Postby Moonchild » Tue Jul 11, 2017 2:03 pm

Then why aren't you using the package manager?
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

Re: pminstaller.sh problem on Manjaro

Postby JustOff » Tue Jul 11, 2017 2:11 pm

Simply as I wrote above:
it would be nice if pminstaller.sh also worked

Isn't it?
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19664
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: pminstaller.sh problem on Manjaro

Postby Moonchild » Tue Jul 11, 2017 4:54 pm

Why? so you can have even more confusion about what people are using? XD

If the check in the script needs to be made more specific, it's of course an option. But it needs to remain generally applicable to all distros, so -too- specific won't work either because then you'll get the opposite: the script thinking the browser isn't installed, while it is...
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

Re: pminstaller.sh problem on Manjaro

Postby JustOff » Tue Jul 11, 2017 5:54 pm

Moonchild wrote:Why? so you can have even more confusion about what people are using? XD

Let's say I don't trust this AUR package (btw, I don't see it officially endorsed at http://linux.palemoon.org/) and therefore I want to use pminstaller.sh?

If the check in the script needs to be made more specific, it's of course an option.

Yes, that's exactly what I meant. It would be nice.
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19664
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: pminstaller.sh problem on Manjaro

Postby Moonchild » Tue Jul 11, 2017 6:08 pm

If you don't trust the package, then you don't trust the package maintainer, and in turn don't trust the Manjaro project being run in a sane way. It did, after all, make it in the official distribution, or am I missing something here?

JustOff wrote:It would be nice.

(non-breaking) patches welcome
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

Re: pminstaller.sh problem on Manjaro

Postby JustOff » Tue Jul 11, 2017 6:28 pm

Moonchild wrote:It did, after all, make it in the official distribution, or am I missing something here?

I don't know, so I would be grateful to you or Travis for any details on this matter.
Here are the add-ons I made in a spare time. That was fun!

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 106
Joined: Wed Jul 27, 2016 11:18 pm
Contact:

Re: pminstaller.sh problem on Manjaro

Postby hobbledehoy899 » Wed Jul 12, 2017 4:20 am

I thought the AUR and Manjaro packages were official... In fact, they are.

User avatar
adesh
Lunatic
Lunatic
Posts: 280
Joined: Tue Jun 06, 2017 7:38 am

Re: pminstaller.sh problem on Manjaro

Postby adesh » Wed Jul 12, 2017 4:40 am

May I suggest force. If installer detects Pale Moon is already installed, an option can be given to forcefully continue or a help message to rerun the installer with --force if user feels detection is wrong.
./pminstaller.sh --force

“Don’t underestimate the Force.”

User avatar
adesh
Lunatic
Lunatic
Posts: 280
Joined: Tue Jun 06, 2017 7:38 am

Re: pminstaller.sh problem on Manjaro

Postby adesh » Wed Jul 12, 2017 4:44 am

hobbledehoy899 wrote:I thought the AUR and Manjaro packages were official... In fact, they are.

Not quite.
https://wiki.manjaro.org/index.php?title=Arch_User_Repository wrote:Warning: Use the AUR at your own risk! Support will not be provided by the Manjaro team for any issues that may arise relating to software installations from the AUR.

BTW I'm an Arch Linux user.

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 106
Joined: Wed Jul 27, 2016 11:18 pm
Contact:

Re: pminstaller.sh problem on Manjaro

Postby hobbledehoy899 » Wed Jul 12, 2017 5:56 am

adesh wrote:Not quite.

Then why are they listed as being such???

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1316
Joined: Mon May 20, 2013 6:19 pm
Location: Earth
Contact:

Re: pminstaller.sh problem on Manjaro

Postby trava90 » Wed Jul 12, 2017 6:12 am

Last I knew Manjaro included repacks of the Pale Moon binaries I build in their repo. You can simply enter

Code: Select all

pacman -S palemoon


JustOff wrote:
Moonchild wrote:It did, after all, make it in the official distribution, or am I missing something here?

I don't know, so I would be grateful to you or Travis for any details on this matter.

As stated above, the packages in Manjaro's repo are simply repacks of the tarballs I produce. The AUR, however is a different story. The majority of the AUR "maintainers" have been very unwilling (putting it nicely) to conform to our standards and as such those packages cannot be endorsed as official (and should not be used to due known stability issues and/or the totally insane build configurations being used).

hobbledehoy899 wrote:I thought the AUR and Manjaro packages were official... In fact, they are.

No, they are not. Where are they being listed as official?

User avatar
adesh
Lunatic
Lunatic
Posts: 280
Joined: Tue Jun 06, 2017 7:38 am

Re: pminstaller.sh problem on Manjaro

Postby adesh » Wed Jul 12, 2017 6:19 am

hobbledehoy899 wrote:Then why are they listed as being such???

Off-topic:
I suggest you read AUR wiki page on Arch Linux. These packages are not provided by the distribution but by the community so that most of the software is easily available for users to install. It's upto the user to trust these packages and be responsible for any damage. The distribution is mostly providing the infrastructure to host the packages.

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 909
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA
Contact:

Re: pminstaller.sh problem on Manjaro

Postby JustOff » Wed Jul 12, 2017 8:57 am

trava90 wrote:Last I knew Manjaro included repacks of the Pale Moon binaries I build in their repo.

Well, it seems I confused AUR with a package from Manjaro's repo, but the latter also does not look like a just repack:

vmware_2017-07-12_11-43-49.png
Here are the add-ons I made in a spare time. That was fun!

Toa-Nuva
Fanatic
Fanatic
Posts: 173
Joined: Thu Jun 04, 2015 6:12 pm
Location: Germany

Re: pminstaller.sh problem on Manjaro

Postby Toa-Nuva » Wed Jul 12, 2017 9:45 am

I may be wrong, but I thought the mentioned AUR package (palemoon-bin) is just a repack of the official binaries, and the Manjaro package is not.

As for the AUR package "palemoon-bin": I've never used it (yet), but there's these two lines in the PKGBUILD file:
source_i686=("palemoon-$pkgver.en-US.linux-i686.tar.bz2::http://linux.palemoon.org/installer/download.php?v=$pkgver&a=i686")
source_x86_64=("palemoon-$pkgver.en-US.linux-x86_64.tar.bz2::http://linux.palemoon.org/installer/download.php?v=$pkgver&a=x86_64")

Unless I'm completely wrong (which may very well be the case, because I'm actually not very familiar with the structure of PKGBUILD files), this means that installing this package will simply download the official binaries from linux.palemoon.org.
It's different for other packages, of course (such as "palemoon" without "-bin", which I assume will compile Pale Moon from the source code locally on your computer).

As for the Manjaro package, as JustOff already mentioned, there are these two lines "Palemoon for Manjaro" and "Manjaro - Rolling" in "Help" > "About Pale Moon". That's why I assumed that the Manjaro packages are custom builds.

User avatar
adesh
Lunatic
Lunatic
Posts: 280
Joined: Tue Jun 06, 2017 7:38 am

Re: pminstaller.sh problem on Manjaro

Postby adesh » Wed Jul 12, 2017 10:51 am

Toa-Nuva wrote:I may be wrong, but I thought the mentioned AUR package (palemoon-bin) is just a repack of the official binaries, and the Manjaro package is not.

You are right.
I'm currently using palemoon-bin from AUR. People willing to compile can use the version without -bin; I personally cannot afford the compilation costs, also mozconfig is not sane.
But I've no experience with Manjaro so cannot say anything about that package.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 6 guests