Active Topics

 


Reply
Thread Tools
Posts: 69 | Thanked: 24 times | Joined on Feb 2007
#11
Originally Posted by GeneralAntilles View Post
It's not, it only installs stuff from User/, not everything available.
Ahh right.

So getting confused and thinking "This is Debian Linux, let's just do 'apt-get upgrade' from XTerm" is a bad idea then?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#12
Well, yes. Or rather, dist-upgrade is the really problematic one.

The Nokia package mangement is different from 'standard' Debian packaging due to the special way of sorting packages into those with 'Section: user' and those with 'Section: <anything else>'. The application manager will only let you install the first type, and those with other Section types have to be installed either through red-pill mode or via apt-get (as root). But some of those will collide with the standard packages, being packages used by the SDK in some cases (i.e. scratchbox, meant for the desktop development environment only).
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#13
So getting confused and thinking "This is Debian Linux, let's just do 'apt-get upgrade' from XTerm" is a bad idea then?
'apt-get upgrade' isn't the same thing than 'apt-get dist-upgrade' !
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#14
apt-get dist-upgrade is typically only necessary on a desktop linux to download and upgrade core system packages .. usually to upgrade to a newer "distribution".. hence the dist-upgrade... this isn't something you just run to run for no other reason than to run it..

I've never tried apt-get dist-upgrade on a tablet... but somehow, considering the package management is unique from a normal distro... this strikes me as a really bad idea, and completely unneccesary.

apt-get upgrade should be all you need to do on a tablet IMHO.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#15
Originally Posted by piku View Post
Ahh right.

So getting confused and thinking "This is Debian Linux, let's just do 'apt-get upgrade' from XTerm" is a bad idea then?
If you have the right repositories (only nokia tableteer and extras), I give almost for sure nothing bad will happen.
But if you have other repositories as the maemo SDK, and every repository listed in gronmayer, it could go not very well. And specially if you mix bora/chinook/diablo repositories.

I use Debian Sid and it's very stable (even Sid), but if I add a stupid-user repository and I do apt-get upgrade, bad things could happen even in Debian. Same with the tablets.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 

The Following User Says Thank You to yerga For This Useful Post:
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#16
Yes, as stated above, it really depends on which repositories you have installed. Extras-devel, the SDK repository, and various third-party repositories WILL collide with system packages if you upgrade willy-nilly like that.
 
Posts: 37 | Thanked: 2 times | Joined on Mar 2007
#17
Originally Posted by yerga View Post
I use Debian Sid and it's very stable (even Sid), but if I add a stupid-user repository and I do apt-get upgrade, bad things could happen even in Debian. Same with the tablets.
My understanding was that apt-get will only upgrade a package from the same repository that it was originally installed from and so adding new repositories shouldn't cause problems with apt-get upgrade ... although I may be incorrect on this.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#18
Your're right in that you're incorrect on that one... at least as far as apt-get is concerned. It will happily take a version from anywhere, as long as it's newer (in-house we use this to get special versions of some software installed and overloading the standard Debian packages). However, the application manager may well be different. In fact it [the strictness] would make a bit of sense, for a device like this.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2008-07-31 at 09:58.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#19
Originally Posted by fatalsaint View Post
apt-get dist-upgrade is typically only necessary on a desktop linux to download and upgrade core system packages .. usually to upgrade to a newer "distribution".. hence the dist-upgrade...
This isn't entirely true, as apt-get upgrade will always stop upgrading a package the moment this package requires additional, not-already-installed packages (e.g. the upgrade needs some new additional library). For those cases you must either

a) use apt-get install <package> explicitly, this will upgrade the package with its new required additional packages, or

b) use dist-upgrade. Otherwise those packages which now require more additional packages will just sit there forever (marked as 'The following packages have been kept back:'

this isn't something you just run to run for no other reason than to run it..
On this I agree completely though. And particularly with the tablet.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Reply


 
Forum Jump


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