Reply
Thread Tools
Posts: 181 | Thanked: 82 times | Joined on Jan 2010
#21
Originally Posted by mece View Post
well apt-get upgrade is "safe", meaning it is exactly as safe as the latest library in extras-devel.
But if I only have the Extras repository enabled, the apt-get update/upgrade command should only search for updates in that repository, not in extras-testing or extras-devel. Is this right?
Indeed, when issuing the command "apt-get upgrade" in my device there is a package that is going to be kept back (gstreamer0.10-plugins-good-extra) and other 17 that will be upgraded. The installed package version of gstreamer0.10-plugins-good-extra is 0.10.15 but there is an update in http://maemo.org/packages/package_in...-0maemo18+0m5/ and in http://maemo.org/packages/package_in...-0maemo18+0m5/ . But my device wants to keep http://maemo.org/packages/package_in...0-0maemo8+0m5/ . Why?

Thanks.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#22
Originally Posted by ikerrg View Post
But if I only have the Extras repository enabled, the apt-get update/upgrade command should only search for updates in that repository, not in extras-testing or extras-devel. Is this right?
Yes, you'll only get updates from the repositories you have enabled.

Originally Posted by ikerrg View Post
Indeed, when issuing the command "apt-get upgrade" in my device there is a package that is going to be kept back (gstreamer0.10-plugins-good-extra) and other 17 that will be upgraded. The installed package version of gstreamer0.10-plugins-good-extra is 0.10.15 but there is an update in http://maemo.org/packages/package_in...-0maemo18+0m5/ and in http://maemo.org/packages/package_in...-0maemo18+0m5/ . But my device wants to keep http://maemo.org/packages/package_in...0-0maemo8+0m5/ . Why?
Another package has an explicit dependency on that version of gstreamer0.10-plugins-good-extra, so installing it will force the removal of other apps/libraries. apt tries to avoid this, so holds back the update.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Posts: 181 | Thanked: 82 times | Joined on Jan 2010
#23
Originally Posted by Rob1n View Post
Another package has an explicit dependency on that version of gstreamer0.10-plugins-good-extra, so installing it will force the removal of other apps/libraries. apt tries to avoid this, so holds back the update.
Is it possible to know which installed packages are using the "gstreamer0.10-plugins-good-extra" and what version do they need?

Thanks.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#24
Originally Posted by ikerrg View Post
Is it possible to know which installed packages are using the "gstreamer0.10-plugins-good-extra" and what version do they need?
Not easily, no. You can find all packages that depend on it by using "apt-cache rdepends" but that doesn't limit to installed packages and doesn't indicate versions.

If you just want to know what package is causing it to be held back, you can use "apt-get -s install" to test installation of the new version. This should show you a list of what packages would need to be removed to satisfy the dependencies. e.g.:
Code:
apt-get -s install gstreamer0.10-plugins-good-extra=0.10.16-git276-0maemo18+0m5
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
chemist's Avatar
Administrator | Posts: 1,036 | Thanked: 2,018 times | Joined on Sep 2009 @ Germany
#25
Originally Posted by Joorin View Post
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.
AAHHHAHHAHHHH

I am somehow scared by reading this thread!

"update" does NOT mean to update packages and the name suggests with "upgrade" present that you get your package lists up-to-date not the package installs. "apt-get update" updates the sources package lists on your device nothing else. Means it downloads lists of available packages and their info from your set up repositories to your device and replaces old lists.

However, "apt-get upgrade" downloads and installs all packages already installed to your device if there is a new version and the version is not marked as blocked yet.

As mentioned: "just don't do apt-get dist-upgrade"!

I prefer to have people asking this kind of questions to stay within app-manager (HAM), sure apt will install you newer versions of libs every now and then but they are not needed yet and most of the time you wont get much out of it by doing so.

Upgrading with apt-get upgrade is not needed for normal use and you will miss out on the stuff HAM does full auto.

And true, OTA upgrades might not work anymore.
 

The Following 3 Users Say Thank You to chemist For This Useful Post:
Posts: 181 | Thanked: 82 times | Joined on Jan 2010
#26
Originally Posted by chemist View Post
AAHHHAHHAHHHH

I am somehow scared by reading this thread!
I'd say "reading this post". Totally agree with you, some posts seem not "well documented".

Originally Posted by chemist View Post
I prefer to have people asking this kind of questions to stay within app-manager (HAM), sure apt will install you newer versions of libs every now and then but they are not needed yet and most of the time you wont get much out of it by doing so.

Upgrading with apt-get upgrade is not needed for normal use and you will miss out on the stuff HAM does full auto.
OK, that's what I was asking when I started this thread. However, when today Nokia's app-manager says: "Extra Decoders Support 0.4 update available but not installable, Problems: Conflict between packages gstreamer0.10-plugins-good-extra=0.10.15-git180-0maemo8+0m5" maybe I could think that more control is needed to fix this issue. Indeed, now I need to know why my N900 does not want to update gstreamer0.10-plugins-good-extra (and Rob1n has given me a path to find it).
I'm not a Linux expert but very experienced in computers and other OSs since MSDOS 3.30, and I usually try to solve my problems learning from more experienced users. And for sure, a long time ago you started to learn Linux reading and asking to other people, like every human learns things.

Originally Posted by chemist View Post
And true, OTA upgrades might not work anymore.
Thanks for the confirmation of this. I've read it only in another post.
 
Posts: 181 | Thanked: 82 times | Joined on Jan 2010
#27
It seems that the Mirror app is holding back the gstreamer0.10-plugins-good-extra package (http://maemo.org/downloads/product/M...oders-support/). Obviously a conflict with the Mirror app, but Nokia's app-manager should give the option to uninstall the Mirror app to be able to update the Extra Decoders Support to v0.4

Not easy to find, isn't it?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#28
Originally Posted by ikerrg View Post
It seems that the Mirror app is holding back the gstreamer0.10-plugins-good-extra package (http://maemo.org/downloads/product/M...oders-support/). Obviously a conflict with the Mirror app, but Nokia's app-manager should give the option to uninstall the Mirror app to be able to update the Extra Decoders Support to v0.4
Interesting, as I have both the Mirror app (v2.1) and Extra Decoders Support (v0.4) installed without any conflicts.
 
Posts: 181 | Thanked: 82 times | Joined on Jan 2010
#29
Originally Posted by Rob1n View Post
Interesting, as I have both the Mirror app (v2.1) and Extra Decoders Support (v0.4) installed without any conflicts.
Yes, I have uninstalled Mirror app but Extra Decoders still does not install. I've never used "apt-get upgrade" (I have not broken anything) and I don't know what app is keeping the old version of this package. Could you help me?
 
Posts: 20 | Thanked: 10 times | Joined on May 2010 @ Dobbs Ferry
#30
Originally Posted by eitama View Post
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.
Same here, no problems with the apt-get commands above.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:47.