maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   apt-get dist-upgrade started to removed alot of UI/lib/apps :-O (https://talk.maemo.org/showthread.php?t=60474)

mikecomputing 2010-08-16 15:25

apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Just did a big mistake :(

apt-get update

then:

apt-get dist-upgrade

I cannot remember that it got any warning about "remove core UI libs" but it did infact! Now i cannot start my phone damn me :-(

I now this is not the way to upgrade but still it is wierd? could this happen when using fastappmanager too?

I just wonder if this has happened to others? Are the repositorys broken or what? Or have a accidently added some wierd app that have added a virus...

This really makes me curious.

rmerren 2010-08-16 15:29

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
I have issued those commands recently, and they had no effect. They shouldn't crash your system. Have you changed some other settings or enabled some strange repos (I have extras testing and dev enabled)?

Sounds like someone is heading for flash-land...

slender 2010-08-16 15:30

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by mikecomputing (Post 788188)
I now this is not the way to upgrade but still it is wierd? could this happen when using fastappmanager too?

With fastappmanager? No. With official app manager? No.

Quote:

I just wonder if this has happened to others? Are the repositorys broken or what? Or have a accidently added some wierd app that have added a virus...

This really makes me curious.
"I did format C with my win machine and something curious happened". Right. You have all the power on your fingertips and you got pretty "good" lesson about power of this device. Next time stay away from xterm. Sorry if this sounds harsh.

.edit
Sad thing IIRC here is that app ASKS you to confirm what it is going to do.

mikecomputing 2010-08-16 15:31

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by rmerren (Post 788192)
I have issued those commands recently, and they had no effect. They shouldn't crash your system. Have you changed some other settings or enabled some strange repos (I have extras testing and dev enabled)?

Sounds like someone is heading for flash-land...

yup a have extreas-devel on but cant remember that I have added some other wierd repo but not sure...

I now I had installked QT exprimental 4.7 but cant see why this should be a problkem but...

Wierd it is for sure.

mikecomputing 2010-08-16 15:47

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by slender (Post 788193)
With fastappmanager? No. With official app manager? No.



"I did format C with my win machine and something curious happened". Right. You have all the power on your fingertips and you got pretty "good" lesson about power of this device. Next time stay away from xterm. Sorry if this sounds harsh.

Ooh yeah those great answers with no answers at all, if you now are an expert:

Why on earth should this happen cause you're doing dist-upgrade? And also isn't fastappmanager talking directly to apt-get if I remember right? I dont say I am right just wondering.

I dont blame anyone for my mistakes but when you just answer with a answer like this the problem does'nt make me less curious?

I have done this plenty of times when upgrade linux desktops so I dont see why this even should happen in this case, only reason for it to happen is if there is a PR1.3 pending or similar. Or if I do apt-get --purge remove hildon-desktop or similar.

Or if there is some tweeked repo that I have added and forget it if thats the case it would be great to now so we can warn about that repo because if an external repo or extras-devel do this I see it as an error as long as I dont get a good answer why this could happen :)

IMHO, There is a difference between buggy apps in extras that can make system unstable and repositorys that totally rips out core UI.

Matan 2010-08-16 16:01

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by mikecomputing (Post 788188)
Just did a big mistake :(

apt-get update

then:

apt-get dist-upgrade

I cannot remember that it got any warning about "remove core UI libs" but it did infact! Now i cannot start my phone damn me :-(

I now this is not the way to upgrade but still it is wierd? could this happen when using fastappmanager too?

I just wonder if this has happened to others? Are the repositorys broken or what? Or have a accidently added some wierd app that have added a virus...

This really makes me curious.

It is possible that an upgrade of a system package is available in one of the repositories you use. Since Nokia chose to have all dependencies by exact version, the solution apt-get finds is to uninstall almost all system packages. If you did not use --force-yes option to apt-get, then apt did give you a (long) list of packages to be removed and asked for confirmation. A safer option is to use upgrade instead of dist-upgrade. This does not allow for removal of packages in order to upgrade version of existing packages.

Rob1n 2010-08-16 16:01

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by mikecomputing (Post 788214)
Why on earth should this happen cause you're doing dist-upgrade?

Because dist-upgrade specifically tells apt to ignore safety and upgrade everything possible, removing any obsoleted/conflicting packages.

Quote:

Originally Posted by mikecomputing (Post 788214)
And also isn't fastappmanager talking directly to apt-get if I remember right?

It is, but it's only doing install/remove/upgrade so apt should handle conflicts safely.

Quote:

Originally Posted by mikecomputing (Post 788214)
I have done this plenty of times when upgrade linux desktops so I dont see why this even should happen in this case, only reason for it to happen is if there is a PR1.3 pending or similar. Or if I do apt-get --purge remove hildon-desktop or similar.

With most linux distributions, the repository only deals with a single version of the OS, so all updated packages are "safe" within the scope of that version (and dist-upgrade should do no more than upgrade). In order to update versions, you need to change the repository used, then use dist-upgrade. With the Nokia repositories, the single repository is used for all versions, and updated packages will only normally get pulled in when the master package (mp-fremantle-???-pr) is updated. New versions of packages seem to be uploaded in between though, and using dist-upgrade will cause these to get pulled in, dropping out the conflicting core packages.

handaxe 2010-08-16 16:17

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
I can confirm the OP's experience. Try
Code:

sudo apt-get update && sudo apt-get -s -y dist-upgrade
in the terminal to test. Rob1n notes wots up - pr1.3 stuff perhaps?

frendz07 2012-03-10 03:46

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Quote:

Originally Posted by mikecomputing (Post 788188)
Just did a big mistake :(

apt-get update

then:

apt-get dist-upgrade

I cannot remember that it got any warning about "remove core UI libs" but it did infact! Now i cannot start my phone damn me :-(

I now this is not the way to upgrade but still it is wierd? could this happen when using fastappmanager too?

I just wonder if this has happened to others? Are the repositorys broken or what? Or have a accidently added some wierd app that have added a virus...

This really makes me curious.

same mistake done here
shud i go for flash with flasher-3.5?

Hurrian 2012-03-10 04:03

Re: apt-get dist-upgrade started to removed alot of UI/lib/apps :-O
 
Another reminder on why dist-upgrade is a bad idea on Maemo.

Normally, they're safe, and a shortcut for apt-get installing held back apps. But iirc the newest PR1.3 with the latest CSSU Testing leaves some qt packages held back (known bug).

Same broken stuff could be happening somewhere else.

So in the meantime, apt-get install <package to be upgraded> to force an update.

IMO, this should also be fixed by CSSU team, apt is definitely NOT supposed to work this way. Deps should always, when possible be => packageversion.


All times are GMT. The time now is 17:24.

vBulletin® Version 3.8.8