SliTaz SliTaz Forum

You are not logged in.

#1 2012-04-26 07:35:29

piovrauze
Member
Registered: 2012-04-03
Posts: 14

Updating packages broke my slitaz

I had the not so brilliant idea of upgrading packages. Tazpanel, updated the list, select all, upgrade... it did that, just now I can't boot it. It's a full HD setup via the liveCD. Is there any way to fix that? it's not a good thing that it happens after like 4 updates to the final distro btw, and it's a shame...

Offline

#2 2012-04-26 12:59:55

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Updating packages broke my slitaz

Probably because you were using one of the RC to do the upgrade and you upgraded to the Cooking Repository and not the Stable one. In short, you should have done tazpkg set-release stable ; tazpkg recharge before upgrading. Even the normal upgrade transition has a few issues, especially if you upgrade from an RC version.

Offline

#3 2012-04-26 17:04:42

piovrauze
Member
Registered: 2012-04-03
Posts: 14

Re: Updating packages broke my slitaz

mmm, it's possible that it was an RC. not really sure of it. I'll reinstall.

Still, it's not the first update I made on that system, and I did update packages list, then checked upgrades, then updated all. the other couples of times I did that it worked flawlessy. Strange.

I think those kind of issued are best to be ironed out once and for all, to make slitaz more "robust", if it were my main system I'd be crying...

On a side note, I tried an upgrade via the tazpanel on the live CD, both with cooking and stable, but x refuses to start, seems like is behaving as earlier RC.

Offline

#4 2012-04-26 17:34:18

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Updating packages broke my slitaz

You need to set the release to stable in tazpkg (tazpkg set-release stable) otherwise it will keep upgrading your version to Cooking, which will break it. Not that the transition to release from one of the RC versions is much better. Most people just download SliTaz 4 and reinstall because of it.

Offline

#5 2012-04-26 18:22:53

piovrauze
Member
Registered: 2012-04-03
Posts: 14

Re: Updating packages broke my slitaz

mmm, I'll "tazpkg set-release stable", after reinstalling the stable.

But I think this should be a default setting on stable slitaz, why releasing a system that can be broken so easily from tazpanel? Not much sense right?

Offline

#6 2012-04-26 18:37:41

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Updating packages broke my slitaz

Pre-April 10, 2012 Cooking: tazpkg set-release 4.0 or tazpkg set-release stable

Check /etc/slitaz-release ,if it's still set to cooking it will break if you update it.

Some programs you may try to install won't work.

Same problem if you run Slitaz-3.0 and don't tazpkg set-release 3.0

You'll install tazpkgs from stable/4.0 and break your system.

A major clue that your using the wrong repo is if you run tazpkg up -c and it lists every tazpkg in your system as needing to be upgraded.

Before you install tazpkgs or update.

Slitaz-3.0: tazpkg set-release 3.0

Pre-April 10,2012 Cooking   : tazpkg set-release 4.0

Offline

#7 2012-04-26 19:35:42

piovrauze
Member
Registered: 2012-04-03
Posts: 14

Re: Updating packages broke my slitaz

well, I just formatted and reinstalled.

I still think this behaviour should be "fixed" in some way, maybe via a version check, or a special package (metapackage?): breaking an OS because of pkg management is not a good thing.

Offline

#8 2012-04-27 00:15:59

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Updating packages broke my slitaz

I fully agree with piovrauze's comment above - a version check is mandatory before allowing for upgrades. Last night I did an upgrade on one of my systems and now I cannot log back in at all! In my case it did not matter too much (except for the need to spend time on reinstalling) as this was not a system I use regularly but if this was the only system I had then I would have been more than annoyed.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]