installation problem Xubuntu 18.04 Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
mohinga

installation problem Xubuntu 18.04

Unread post by mohinga » 2018-05-26, 03:31

I have been trying to install palemoon on Xubuntu 18.04 using the third-party build for Ubuntu by Steve Pusser. i.e.:

Add repository and install manually
For xUbuntu 18.04 run the following:

sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"
sudo apt-get update
sudo apt-get install palemoon

I will omit the long terminal read-out; but the last item is:

~$ sudo apt-get install palemoon
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package palemoon

Am I doing something wrong? or am I lacking some software? I vaguely remember having to install something when I did this on Xubuntu 16.04 a couple of years ago. I can't remember what it was; but I think I was prompted to install something.
sorry if this sounds lame... I'm getting on in age.

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: installation problem Xubuntu 18.04

Unread post by tooshorttoolong » 2018-05-26, 09:39

Perhaps you shouldn’t have omitted the long terminal read-out. Here’s what I get:
W: GPG error: http://download.opensuse.org/repositori ... untu_18.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0FAD31CA8719FCE4
E: The repository 'http://download.opensuse.org/repositori ... untu_18.04 Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
Try following the instructions to install the key :).

mohinga

Re: installation problem Xubuntu 18.04

Unread post by mohinga » 2018-05-26, 10:02

I have tried again... and do not seem to be able to execute the first part of downloading the repositories:

ubazza@ubazza-Ideapad-S100:~$ sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"
[sudo] password for ubazza:
ubazza@ubazza-Ideapad-S100:~$
After entering password nothing happens.

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: installation problem Xubuntu 18.04

Unread post by tooshorttoolong » 2018-05-26, 10:24

It’s normal, nothing is supposed to be printed. It just creates the "/etc/apt/sources.list.d/home:stevenpusser.list" file. You only need to do this once.

What you have to do is run these commands:

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:stevenpusser/xUbuntu_18.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install palemoon
You can then delete the Release.key file.

Code: Select all

rm Release.key

mohinga

Re: installation problem Xubuntu 18.04

Unread post by mohinga » 2018-05-27, 02:02

Thanks tooshorttoolong, it's working now.
Is there anything else that needs to be added so that it gets updated?

I am still a bit confused about the installation instructions. It might help some others if it could be clarified.
The instructions from palemoon from home:stevenpusser project/ubuntu/add repository and install manually are:

For xUbuntu 18.04 run the following:
sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"
sudo apt-get update
sudo apt-get install palemoon

You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). To add the key, run:

wget -nv https://download.opensuse.org/repositor ... elease.key -O Release.key
sudo apt-key add - < Release.key

The first three commands are what I originally tried to no avail. The last two commands are what you
posted in your last post... minus:
sudo apt-get update
sudo apt-get install palemoon

So it seems it's all there in the original instructions; but the order is unclear. Saying "You can add the repository key to apt" is OK... but it seems that it is necessary to add it. So why not insert the command in the list of commands?

Could this work?:
sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"

wget -nv https://download.opensuse.org/repositor ... elease.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install palemoon

anyway, thanks again

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: installation problem Xubuntu 18.04

Unread post by tooshorttoolong » 2018-05-27, 07:44

mohinga wrote:Thanks tooshorttoolong, it's working now.
Is there anything else that needs to be added so that it gets updated?
Great! No, I think it should be ok (however I don’t use Ubuntu myself, I just installed it in a virtual machine to try installing Pale Moon).
Could this work?:
sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"

wget -nv https://download.opensuse.org/repositor ... elease.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install palemoon
Yes, it would be better. I would also add "rm Release.key" so that the file doesn’t pollute the directory forever, or maybe better, use another way to install the key that doesn’t need a file:

Code: Select all

wget -nv https://download.opensuse.org/repositories/home:stevenpusser/xUbuntu_18.04/Release.key -O - | sudo apt-key add -
So the complete sequence of commands needed to install PM on (X)Ubuntu 18.04 would be:

Code: Select all

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:stevenpusser.list"
wget -nv https://download.opensuse.org/repositories/home:stevenpusser/xUbuntu_18.04/Release.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install palemoon
(I just tested it, works fine.)

Unfortunately I can’t find a way to contact whoever is responsible for the installation instructions at https://software.opensuse.org/download. ... e=palemoon

EDIT: if you run "apt show palemoon" in a terminal, you’ll get an email address for Seven Pusser (I’m not posting it here so he doesn’t get spam).
Last edited by tooshorttoolong on 2018-05-27, 07:51, edited 1 time in total.

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: installation problem Xubuntu 18.04

Unread post by stevenpusser » 2018-05-27, 21:26

Unfortunately, those instructions are automatically generated by the build service, so we're stuck with them for now. I tried to add the simplified instructions to the first post in my OBS thread, but I'm not allowed to edit any posts of mine that more than a few weeks old here, for some reason.

I still can't get PM packages to build from source on 18.04, for some compiler type reason, though I am using gcc-4.9 there. So you're getting the Linux prebuilt PM binaries that I just have the build system bundle into deb files.

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: installation problem Xubuntu 18.04

Unread post by tooshorttoolong » 2018-05-27, 22:04

stevepusser wrote: I tried to add the simplified instructions to the first post in my OBS thread, but I'm not allowed to edit any posts of mine that more than a few weeks old here, for some reason.
Ah, I can’t even edit my post from this morning to fix your name :].

User avatar
stevenpusser
Project Contributor
Project Contributor
Posts: 903
Joined: 2015-08-01, 18:33

Re: installation problem Xubuntu 18.04

Unread post by stevenpusser » 2018-05-31, 00:04

I passed the improved install directions onto a moderator here to add to the first post in the OBS thread, though a user will still have to manually replace "XXXX" in a couple places in the instructions with their particular release, such as "18.04". Debian is a bit trickier, since a user can choose to have either root or sudo enabled or disabled during the OS install.
Last edited by stevenpusser on 2018-05-31, 00:05, edited 1 time in total.

User avatar
gracious1
Keeps coming back
Keeps coming back
Posts: 891
Joined: 2016-05-15, 05:00
Location: humid upstate NY

Re: installation problem Xubuntu 18.04

Unread post by gracious1 » 2018-06-02, 07:54

mohinga wrote:I am still a bit confused about the installation instructions.
FWIW, a while back I wrote a tutorial on installation which should work on Ubuntu 14.04 through 18.04 (just substitute the appropriate release). But the code you have suggested would also work as well.
viewtopic.php?t=16349#p119102
Last edited by gracious1 on 2018-06-02, 07:55, edited 1 time in total.
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

Locked