SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: dhinds on March 10, 2022, 04:26:44 PM

Title: Upgrade Disaster
Post by: dhinds on March 10, 2022, 04:26:44 PM
My main rolling Sparky Gui Minimal installation became unbootable after upgrading using Aptus Upgrade yesterday.

What corrective active should I take?

TIA
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 05:00:16 PM
I'm downloading the latest Sparky Rescue
Title: Re: Upgrade Disaster
Post by: pavroo on March 10, 2022, 05:57:48 PM
The first thing you can do is:
- launch Sparky from the hard drive in rescue mode, so you will be logged as root
- try to fix broken packages if any:
dpkg --configure -a
apt install -f

then reboot to try it out.
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 08:02:45 PM
I'll do that now.

I know that there were broken packages, so it might work.

I have two different installations of Sparky on two separate hard drives and only upgraded one.  I'd like to be sure that the same thing doesn't occur on the other installation.
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 08:40:59 PM
I did as you suggested but the problem persists

O upgrade, 0 newly installed, 0 to remove and 8 not upgraded

On rebooting, I get failed to start display manager
Title: Re: Upgrade Disaster
Post by: pavroo on March 10, 2022, 09:27:42 PM
In that case, I suggest to launch Sparky Rescue, then choose Sparky Chrooter app, which lets you choose your partition with Sparky installed on it.
So, you wiil get access to Sparky on a hard drive, then try to upgrade missing 8 apps:
sparky-upgrade
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 09:34:03 PM
OK
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 09:49:26 PM
I am using Sparky Rescue now and just attempted to upgrade using the command sparky-upgrade

command not found

Is what I get

Everything Sparky seems to be gone and pure debian remained after the upgrade yesterday

Any other suggestions will be appreciated
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 10:03:42 PM
The 8 apps not upgraded required older versions than what the upgrade provides

IOW - unresolvable broken apps
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 10:07:00 PM
I am using apt-get upgrade plus the file name as the command because sparky-upgrade is not installed because the upgrade removed it and a lot more
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 11:11:31 PM
Any other suggestions?
Title: Re: Upgrade Disaster
Post by: dhinds on March 10, 2022, 11:22:12 PM
I am using timeshift to save a copy of THIS installation of Sparky for the purpose of using it to replace the one that was destroyed during the upgrade yesterday

And hope that a solution will be found soon since I won't be able to upgrade until that happens.
Title: Re: Upgrade Disaster
Post by: pavroo on March 10, 2022, 11:59:08 PM
It is not really possible to remove Sparky key tools just like that.
Did you do somenthing extra on your Sparky installation, means did you add any 3rd party repositories or installed any appliacations from 3rd party sites, not via APT, Synaptic or aPTus?
Title: Re: Upgrade Disaster
Post by: dhinds on March 11, 2022, 12:41:17 AM
No.

I did nothing of that nature.

But as soon as the upgrade was over, none of my Sparky applications were available in the menus.
Title: Re: Upgrade Disaster
Post by: pavroo on March 11, 2022, 12:53:59 AM
I can see something like that 1st time.
What I can suggest is:
1. launch Sparky Rescue again and the Sparky Chrooter
2. try to install missing sparky tools:
apt update
apt install sparky-desktop-openbox sparky-core sparky-upgrade sparky-aptus-appcenter

don't remember what else.

If the terminal shows any issue, copy all of it and post here.
Title: Re: Upgrade Disaster
Post by: dhinds on March 11, 2022, 03:22:41 AM
OK

But if there are dependencies that can't be satisfied (because an older version than what is being installed is required), the broken packages are going to prevent the rest of what needs to be done from happening
Title: Re: Upgrade Disaster
Post by: dhinds on March 11, 2022, 04:04:36 AM
I can't access the sourceforge repositories because debian testing inRelease is unsigned and therefore disabled.

Others have no PubKey signatures couldn't be verified

The chroot terminal doesn't allow copying text and to use another terminal I need the root password
Title: Re: Upgrade Disaster
Post by: pavroo on March 11, 2022, 10:36:38 AM
ok, but I can't help you any more without a full output from your terminal as I asked for.
Title: Re: Upgrade Disaster
Post by: dhinds on March 12, 2022, 01:26:25 AM
I would have to chroot using a different terminal then.

What's the root password for the Sparky Rescue app?

And how can I get the servers to download apps that have problems

"I can't access the sourceforge repositories because debian testing inRelease is unsigned and therefore disabled.

Others have no PubKey signatures couldn't be verified"?
Title: Re: Upgrade Disaster
Post by: pavroo on March 13, 2022, 01:03:50 AM
No password for any app in live session.