maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Safe apt-get commands (https://talk.maemo.org/showthread.php?t=56094)

ikerrg 2010-06-13 18:28

Safe apt-get commands
 
This is only a short question:

Is it safe to use the "apt-get upgrade" command in Maemo 5 (PR1.2)?
I've issued it and there are about 18 packages that need upgrade (many of them are Python related). I'm afraid of upgrading because Nokia's appmanager does not informs about those updated packages (it only upgrades them together with the corresponding apps) and I have read different opinions about using this command in Maemo (impossible future OTA updates, etc).

Thank you.

eitama 2010-06-13 18:32

Re: Safe apt-get commands
 
Quote:

Originally Posted by ikerrg (Post 713466)
This is only a short question:

Is it safe to use the "apt-get upgrade" command in Maemo 5 (PR1.2)?
I've issued it and there are about 18 packages that need upgrade (many of them are Python related). I'm afraid of upgrading because Nokia's appmanager does not informs about those updated packages (it only upgrades them together with the corresponding apps) and I have read different opinions about using this command in Maemo (impossible future OTA updates, etc).

Thank you.

AFAIK app manager use apt-get indirectly via apt-worker.
And on a different note, I run apt-get upgrade and update everyday.
I almost never use the app manager...

slender 2010-06-13 18:36

Re: Safe apt-get commands
 
eitama,
Hmm. You didn't answer the question :)

I remember that there was some thread or one message in thread about this. So letīs try to find. I also would like to get final statement about this because app manager is just dead slow when you have all repositories enabled.

slender 2010-06-13 18:44

Re: Safe apt-get commands
 
http://talk.maemo.org/showthread.php?t=40102
http://talk.maemo.org/showpost.php?p=465530&postcount=5
There is some conversation about this.
Also in old bug report
https://bugs.maemo.org/show_bug.cgi?id=6014

Still Iīm not quite sure.

Joorin 2010-06-13 18:48

Re: Safe apt-get commands
 
Isn't the most important difference between "update" and "upgrade"?

"update" looks at installed packages and tries to find updates, as the name suggests.

"upgrade" looks for changes on distribution level which is something else.

I'd stick to "update" unless I really knew what I was doing.

stlpaul 2010-06-13 19:03

Re: Safe apt-get commands
 
update refreshes the catalogs but doesn't actually install anything. upgrade installs upgrades to your installed packages and should usually be safe. dist-upgrade does a distribution upgrade and is probably unsafe if you don't know what you are doing.

ikerrg 2010-06-13 19:03

Re: Safe apt-get commands
 
Quote:

Originally Posted by slender (Post 713482)

Upgrade seems dangerous as I thought. I don't know why, but it seems that maemo intentionally holds back some packages. This does not happen on other Linux (like Ubuntu), however, they are not specifically designed for mobile phones ;)

Joorin 2010-06-13 19:06

Re: Safe apt-get commands
 
Quote:

Originally Posted by stlpaul (Post 713498)
update refreshes the catalogs but doesn't actually install anything. upgrade installs upgrades to your installed packages and should usually be safe. dist-upgrade does a distribution upgrade and is probably unsafe if you don't know what you are doing.

Oh, you're right. My bad.

ikerrg 2010-06-13 19:45

Re: Safe apt-get commands
 
Quote:

Originally Posted by stlpaul (Post 713498)
update refreshes the catalogs but doesn't actually install anything. upgrade installs upgrades to your installed packages and should usually be safe. dist-upgrade does a distribution upgrade and is probably unsafe if you don't know what you are doing.

OK, so as a final conclusion, do you usually issue an upgrade command (not dist-upgrade) in your N900? Reading this post (http://talk.maemo.org/showpost.php?p=465530&postcount=5) it seems risky.

Thanks.

eitama 2010-06-13 19:53

Re: Safe apt-get commands
 
Quote:

Originally Posted by slender (Post 713470)
eitama,
Hmm. You didn't answer the question :)

I remember that there was some thread or one message in thread about this. So letīs try to find. I also would like to get final statement about this because app manager is just dead slow when you have all repositories enabled.

I beg to differ!
I have been using apt-get update, apt-get upgrade, apt-cache search, apt-get remove, apt-get install in PR1.2 with no issues.
It does answer the question a bit.


All times are GMT. The time now is 14:21.

vBulletin® Version 3.8.8