Porteus Updater - ERROR An internet connection is required

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#1 by Beginning Beginner » 03 May 2019, 10:06

Hello all,

I'm trying Porteus for the first time, and i ran into this problem where the Porteus Updater does not work because it complains about the internet connection, when internet is working fine.
In fact, i am posting this from Porteus with that same internet connection right now.
Couldn't find anything about this problem here in the newbie forum.

User avatar
Blaze
DEV Team
DEV Team
Posts: 2369
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Updater - ERROR An internet connection is required

Post#2 by Blaze » 03 May 2019, 10:25

Beginning Beginner, welcome on board!

Can you check it in your terminal

Code: Select all

wget -q --spider --force-html --inet4-only http://dl.porteus.org || { echo "Fatal error. Could not contact server."; exit 1; }
and

Code: Select all

ping -c5 dl.porteus.org
Thx.
Linux 5.2.0-rc1-porteus #1 SMP PREEMPT Tue May 21 08:26:55 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#3 by Beginning Beginner » 03 May 2019, 11:27

Code: Select all

guest@porteus:~$ wget -q --spider --force-html --inet4-only http://dl.porteus.org || { echo "Fatal error. Could not contact server."; exit 1; }
guest@porteus:~$ ping -c5 dl.porteus.org
PING dl-helios.porteus.org (185.212.225.147) 56(84) bytes of data.
Nothing seems to happen.

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#4 by Ed_P » 03 May 2019, 17:46

Beginning Beginner wrote:
03 May 2019, 10:06
I'm trying Porteus for the first time, and i ran into this problem where the Porteus Updater does not work
If you just installed it why are you trying to update it? :%) And what version did you install?? :%)
Ed

User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#5 by Beginning Beginner » 03 May 2019, 18:16

I tried updating because i misunderstood a message in USM that said i needed to update the databases. And while it is true that i just installed, i don't know if there are patches that are not included in the ISO.
But even if everything is up to date, the updater should work, and as I'm testing this distro to decide if I'll keep using it, this is something very important that will make a difference in my decision.
I really liked Porteus and its concept, that's why i didn't simply move on to the next distro and instead took the time to register in this forum and wait for a solution, but the updater is a critical part of any OS and i need it working if i am to keep using Porteus.

I am testing the LXDE version atm.

User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#6 by Beginning Beginner » 03 May 2019, 18:19

By the way, i don't know if it makes a difference, but i didn't "install" Porteus, i burned the XFCE version onto a DVD, and used the "create live USB" tool in it to put the LXDE version in the pen drive I'm using right now.

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#7 by Ed_P » 03 May 2019, 19:46

Ok. :)

There are no patches that are not included in the ISO. The Porteus Update error could be a server error, or a future required patch. :D

The USM update refers to the USM databases and they are updated via the Update option on the USM menu bar. They do require an Internet connection.

If you are able to access the files within ISOs an easier approach to getting Porteus on a pen drive is to copy the files in the Porteus ISO directly to the pen drive then execute the Porteus Installer from there. Saves you a DVD, or CD, and time. :happy62:
Ed

User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#8 by Beginning Beginner » 03 May 2019, 20:35

Ed_P wrote:
03 May 2019, 19:46
There are no patches that are not included in the ISO. The Porteus Update error could be a server error, or a future required patch. :D
Thats good, but then I'd have to manually patch it somehow.
Ed_P wrote:
03 May 2019, 19:46
The USM update refers to the USM databases and they are updated via the Update option on the USM menu bar. They do require an Internet connection.
I figured that out eventually, and the USM databases update worked ok.
Ed_P wrote:
03 May 2019, 19:46
If you are able to access the files within ISOs an easier approach to getting Porteus on a pen drive is to copy the files in the Porteus ISO directly to the pen drive then execute the Porteus Installer from there. Saves you a DVD, or CD, and time. :happy62:
Yes, maybe I could have used dd to do that, but I'm not confortable with the command line + I'm not sure I would be able to make it bootable.
But I have a doubt: Is there any difference between using the "Create live USB" tool and using the installer? Or is the end result the same?
Because the first is very easy to use, while the tutorial i read in the website to use the second seemed a bit complicated.

This one: http://www.porteus.org/component/conten ... #USB-linux

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#9 by Ed_P » 04 May 2019, 03:53

Beginning Beginner wrote:
03 May 2019, 20:35
Thats good, but then I'd have to manually patch it somehow.
Or find/make a Porteus module to resolve the problem. Porteus is a modular system.
Yes, maybe I could have used dd to do that,
No dd rather a gui file manager and copy & paste.
I'm not sure I would be able to make it bootable.
The Install apps do that. One for Windows, one for Linux.
The instructions in the link you reference seem dated and may work but I think you will find the instructions in the USB_INSTALLATION.txt file in the ISO seem easier. They should be on the pen drive where you installed Porteus.
Ed

nanZor
Samurai
Samurai
Posts: 132
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 4.0 64-bit Xfce
Location: Los Angeles

Porteus Updater - ERROR An internet connection is required

Post#10 by nanZor » 04 May 2019, 11:08

The live-usb creator tool works well, but unlike the simpler windows-based (or unix script based) installers in the iso image, it has more advanced features as I'm sure you've seen.

If your stick is totally fat-x based, be sure to run the savefile manager to allow for persistence on that stick. Or, if you've used an advanced feature of the live usb creator tool, such as divvying up the stick for a fat-x AND say a linux-based partition (ext3, ext4 etc), there are a few things which can throw a newbie off doing that.

1) If you use the smallest size for the fat-x partition (iso size), then you won't have any room to include any further large xzm modules to load at boot time. I'd be sure to make the fat-x partition a bit larger right from the outset, ie one is thinking about having a browser module load at boot.

2) and of course for persistence, you are no longer pointing to the savefile.dat (typically porteussave.dat) on fat-x, but now are pointing your "changes=" to the linux partition, ie
changes=/dev/sdb1

with no filename.

OH and cheap-shot for the devs - it's "partition", not "pertition" if you see that. I almost hate to point that out since it is so petty an issue. Somebody brought that up to me and I told them to get lost. :)

Just saying - hang in there with Porteus for awhile if you get frustrated - it becomes clear, but it may take a bit longer than just point-n-click. Kinda' the "Slackware way". :)

Oh, and you may want to run this from time to time if you are doing frequent software updates or additions:

fastest-mirror

Welcome aboard!

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#11 by Ed_P » 04 May 2019, 13:21

nanZor wrote:
04 May 2019, 11:08
fastest-mirror
:shock: Where the heck did you find this command?? :o

Code: Select all

guest@porteus:~$ fastest-mirror
Checking fastest mirror ...
Testing http://ftp.vim.org/ftp/os/Linux/distr/porteus/ 1.825111
Testing http://ftp.nluug.nl/os/Linux/distr/porteus/ 0.254240
Testing http://mirrors.dotsrc.org/porteus/ 0.505775
Testing http://ftp.cc.uoc.gr/pub/linux/porteus/ 0.905335
Testing http://www6.frugalware.org/mirrors/linux/porteus/ 1.927756
Testing http://ftp.riken.jp/Linux/porteus/ 1.109300
Testing https://ftp.heanet.ie/mirrors/dl.porteus.org/ 0.731131
Testing http://www.mirrorservice.org/sites/dl.porteus.org/ 0.571219
Testing http://linux.rz.rub.de/porteus/ 0.897228

Results:

0.254240	http://ftp.nluug.nl/os/Linux/distr/porteus/
0.505775	http://mirrors.dotsrc.org/porteus/
0.571219	http://www.mirrorservice.org/sites/dl.porteus.org/
0.731131	https://ftp.heanet.ie/mirrors/dl.porteus.org/
0.897228	http://linux.rz.rub.de/porteus/
0.905335	http://ftp.cc.uoc.gr/pub/linux/porteus/
1.109300	http://ftp.riken.jp/Linux/porteus/
1.825111	http://ftp.vim.org/ftp/os/Linux/distr/porteus/
1.927756	http://www6.frugalware.org/mirrors/linux/porteus/

 Would you like to add http://ftp.nluug.nl/os/Linux/distr/porteus/ as your main Porteus server? [y/n]
sed: couldn't open temporary file /etc/sed7JfUyY: Permission denied
 Porteus server updated in /etc/porteus.conf 
guest@porteus:~$ 
Apparently must be run as root. No problem.

Thank you nanZor. :beer:
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 2369
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Updater - ERROR An internet connection is required

Post#12 by Blaze » 04 May 2019, 13:53

Ed_P wrote:
04 May 2019, 13:21
Where the heck did you find this command??
Porteus-v4.0 is released! (Пост brokenman #64342)
Linux 5.2.0-rc1-porteus #1 SMP PREEMPT Tue May 21 08:26:55 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#13 by Ed_P » 04 May 2019, 14:10

Yes, and apparently it's been around for awhile. fastest-mirror test

A good to know command. Unfortunately it's one where you use it, are thankful for it, then forget about it. :oops:
Ed

User avatar
Beginning Beginner
White ninja
White ninja
Posts: 8
Joined: 03 May 2019, 09:42
Distribution: Manjaro

Porteus Updater - ERROR An internet connection is required

Post#14 by Beginning Beginner » 06 May 2019, 17:07

Beginning Beginner wrote:
03 May 2019, 10:06
Porteus Updater does not work because it complains about the internet connection, when internet is working fine.
So, no one knows anything about this?

There's also another problem i ran into... I installed Porteus on a fairly large pendrive. Since it needs some time to be ready for use, i thought i would use the "delay" cheatcode with it.
Problem is, it only works like 10% of the times. When it does work, the delay timer kicks in after the "device not ready" timer. But most of the times it does nothing and just complains about "Porteus not found".
This is getting frustrating :rant:

User avatar
Ed_P
Contributor
Contributor
Posts: 4857
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Updater - ERROR An internet connection is required

Post#15 by Ed_P » 06 May 2019, 21:18

Beginning Beginner wrote:
06 May 2019, 17:07
I installed Porteus on a fairly large pendrive.
How big a pendrive, what format, how did you install Porteus to it? :%)

When you try the Porteus update function do you get something like this?

Code: Select all

sh /opt/porteus-scripts/update-porteus
sh-4.4# sh /opt/porteus-scripts/update-porteus

 Starting checks ... 
[OK] Server: http://mirrors.dotsrc.org/porteus/
[OK] Architecture: x86_64
[OK] User is root
[OK] Distro is Porteus
[ERROR] You can not update when booting from an ISO

 We can not continue. 
sh-4.4# 
Or this?

Code: Select all

sh /opt/porteus-scripts/update-porteus
sh-4.4# sh /opt/porteus-scripts/update-porteus

 Starting checks ... 
[OK] Server: http://dl.porteus.org
[OK] Architecture: x86_64
[OK] User is root
[OK] Distro is Porteus
[OK] Porteus directory located
[OK] Base folder is writable
[OK] Internet connection confirmed

Downloading: update-porteus-live  DONE
Downloading: updates.txt  DONE

Checking base modules ...



Checking patch availability ...

 #################################### 
 Porteus update report 

 You are up to date. 

 You may now close this window. 
sh-4.4# 
Obviously the Update function works for my installed system. Not sure how/why the Server changed but http://mirrors.dotsrc.org/porteus/ and http://dl.porteus.org both work for me.
Last edited by Ed_P on 07 May 2019, 04:07, edited 1 time in total.
Ed

Post Reply