Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: upgrade from 4.2 to 5.10 via apt-get  (Read 391 times)

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
upgrade from 4.2 to 5.10 via apt-get
« on: March 19, 2020, 07:47:14 pm »
Hi, is it possible to update a Sparky 4.2 rolling edition to a Sparky 5.10 stable one without reinstalling?
It would be great!

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2098
  • Karma: +1/-0
    • SparkyLinux
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #1 on: March 19, 2020, 09:43:12 pm »
Hi
It is, try this:
https://sparkylinux.org/sparky-4-transition/
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux at irc.freenode.net

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #2 on: March 20, 2020, 08:04:47 am »
Good, I'll risk!

Quote
If you would like to upgrade Sparky 4 to Sparky 5 – it is possible, but I recommend to make fresh Sparky 5 installation.
By the way, if you decide to make such upgrade, do:
1. Change Debian repos from ‘stretch’ to ‘buster’ or keep ‘stable’ at the /etc/apt/sources.list
2. Temporary change Sparky repos from ‘oldstable’ to ‘stable’ at the /etc/apt/sources.d/sparky-oldstable.list if your system uses Sparky ‘oldstable’ repos already, and refresh package list:
sudo apt update
3. Install the latest version of ‘sparky5-apt’ package which has to remove ‘sparky4-apt’:
sudo apt update
sudo apt install sparky-apt sparky5-apt
4. Then upgrade the system:
sudo apt update
sudo apt full-upgrade
If any problem:
sudo apt install -f

But can you send me a source.list ?
My it's old and I've changed often it, so that I can not remember how the original sparkylinux one was!

Code: [Select]
# Repository principale
deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free
# Aggiornamenti di sicurezza
# deb http://security.debian.org/debian-security/ testing/updates non-free contrib main 
# deb-src http://security.debian.org/debian-security/ testing/updates non-free contrib main 
# Aggiornamenti raccomandati (ex-volatile)
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free
# Backports
deb http://deb.debian.org/debian/ testing-backports main contrib non-free
deb-src http://deb.debian.org/debian/ testing-backports main contrib non-free
# Multimedia
deb http://mirror3.mirror.garr.it/mirrors/deb-multimedia/ testing main
deb-src http://mirror3.mirror.garr.it/mirrors/deb-multimedia/ testing main

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #3 on: March 29, 2020, 11:18:21 am »
Hi,
someone can send me a clean source.list ?

My it's old and I've changed often it, so that I can not remember how the original sparkylinux one was!

Code: [Select]
# Repository principale
deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free
# Aggiornamenti di sicurezza
# deb http://security.debian.org/debian-security/ testing/updates non-free contrib main
# deb-src http://security.debian.org/debian-security/ testing/updates non-free contrib main
# Aggiornamenti raccomandati (ex-volatile)
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free
# Backports
deb http://deb.debian.org/debian/ testing-backports main contrib non-free
deb-src http://deb.debian.org/debian/ testing-backports main contrib non-free
# Multimedia
deb http://mirror3.mirror.garr.it/mirrors/deb-multimedia/ testing main
deb-src http://mirror3.mirror.garr.it/mirrors/deb-multimedia/ testing main

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 724
  • Karma: +0/-0
  • https://forum.sparkylinux.org/index.php/topic,4614
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #4 on: March 30, 2020, 04:23:52 am »
As I just posted elsewhere.  what do you want, what do you need at this point in time. Stability or semi-cutting edge.    Posting the output of "inxi -r" would be helpful

And  more important, have you upgraded of full-upgraded  (dist-upgrade) recently.   If so you just might be in Testing.  There is no easy way to go back to stable. 

A quick look is that you have a Debian testing system with deb-multimedia added on.  No Sparky sources noted.  That would be in the /sources.list.d directory.  Why I ask for output of "inxi -r"

Having backports in testing is not going to accomplish much.

https://wiki.sparkylinux.org/doku.php/repository
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2098
  • Karma: +1/-0
    • SparkyLinux
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #5 on: March 31, 2020, 01:31:42 pm »
Created new wiki pages which direct you to make such upgrade, including new Debian & Sparky repos:
https://wiki.sparkylinux.org/doku.php/upgrade_higher_release
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux at irc.freenode.net

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #6 on: April 01, 2020, 10:24:26 am »
thanks!

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: upgrade from 4.2 to 5.10 via apt-get
« Reply #7 on: April 06, 2020, 09:40:21 am »
Finally I prefered to make a new installation! also I've not teted it.
thanks