Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: Giorgos Georgitsis on December 31, 2018, 04:51:21 PM

Title: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on December 31, 2018, 04:51:21 PM
hallo i am a new user on linux lite distro and i am one year on linux world . And i have a quention , i want to upgrade from 4.0 to 4.2 .
I will go to do that from lite upgrade and i have this message "Linux Lite Upgrade Utility was unable to establish connection with the Linux Lite master repository.

Please check your internet connection and try again.

Upgrade has been canceled. ''

what can i do for that? and be notice i am novice on linux world
thenx for the support
and i dont khow good English (sorry for that)
and yes my internet conection is ok :)

happy new year for you all :)
Title: Re: upgrade from 4.0 to 4.2
Post by: Jerry on January 01, 2019, 12:03:27 AM
Open a terminal, and please give us the output of:

Code: [Select]
curl -sk google.com
and:

Code: [Select]
apt policy curl
Title: Re: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on January 01, 2019, 09:12:10 AM
ok i did that here is the output :
Code: [Select]

 linuxlite  ~  curl -sk google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
 linuxlite  ~  apt policy curl
curl:
  Εγκατεστημένα: 7.58.0-2ubuntu3.5
  Υποψήφιο:      7.61.0-1ubuntu2.2
  Πίνακας Έκδοσης:
     7.61.0-1ubuntu2.2 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic-security/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages
     7.61.0-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 Packages
 *** 7.58.0-2ubuntu3.5 100
        100 /var/lib/dpkg/status
 linuxlite  ~  
Title: Re: upgrade from 4.0 to 4.2
Post by: Jerry on January 02, 2019, 02:41:01 PM
Looks good there. How are you connecting to the internet? At home, work, public wifi etc?

What is the output of:

Code: [Select]
wget -qnv -t2 -T8 --ignore-length --max-redirect=1  --spider http://repo.linuxliteos.com/linuxlite/db/version
Title: Re: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on January 03, 2019, 04:03:24 PM
my internet conction is via ethernet cable direct to the modem-ruter
and the outout is


i run this but i have no output he loading for some time and then return to the promt no outout :(
Title: Re: upgrade from 4.0 to 4.2
Post by: Jerry on January 03, 2019, 09:06:46 PM
Open a terminal, do:

Code: [Select]
sudo leafpad /usr/bin/lite-upgrade-series4
replace Line 198 with:

Code: [Select]
curl -sk google.com
save. Try Upgrading now.
Title: Re: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on January 04, 2019, 04:49:30 AM
ok i did that but now the lite upgrade does not start. :(
I go to the menu and I'm typing linux lite upgrade and click and nothing happent for that   
Title: Re: upgrade from 4.0 to 4.2
Post by: Jerry on January 04, 2019, 05:21:59 AM
I don't understand why you are having so much trouble with this. Revert your changes back and try upgrading on public WiFi or better still, friends or families house.

Sent from my Mobile phone using Tapatalk

Title: Re: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on January 04, 2019, 11:47:37 AM
the internet is not and a problem i download files all the time and i don't have problem with that something else is the problem i will undo the settings who do with you and after that i don't known .  :-\ :-\ :-\ :-[ :( 
Title: Re: upgrade from 4.0 to 4.2
Post by: Giorgos Georgitsis on January 04, 2019, 12:10:36 PM
and how can revert the line 198 i don t Remember what to write there 
Title: Re: upgrade from 4.0 to 4.2
Post by: firenice03 on January 04, 2019, 01:32:25 PM
and how can revert the line 198 i don t Remember what to write there 

Line 198 - Same as an above command:

Code: [Select]
wget -qnv -t2 -T8 --ignore-length --max-redirect=1  --spider http://repo.linuxliteos.com/linuxlite/db/version

But either way the Curl or Wget commands are checking the connection to the internet...


Couple other things to be aware of...
 - Make sure updates are installed prior to upgrade.
 - Make sure you're not trying to upgrade from a BETA version..


Lastly, and I'm not 100% on this -- but what has been recently installed?? -- I'm seeing Cosmic (Cuttlefish) in your output, if not mistaken that's 18.10.. Where LL 4.0/4.2 is based on 18.04 Bionic (Beaver)
Title: Re: upgrade from 4.0 to 4.2
Post by: Jerry on January 04, 2019, 08:33:22 PM
@firenice03  is right, at some point you've added the Cosmic repos, this is very bad. Do a fresh install of 4.2, this will save everyone a lot of time.