maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   apt-get what "4 not to upgrade" means? (https://talk.maemo.org/showthread.php?t=40102)

asidana 2010-01-11 18:34

apt-get what "4 not to upgrade" means?
 
when i run apt-get auto remove i get 4 not to upgrade result. what does it mean?

adancau 2010-01-11 23:09

Re: apt-get what "4 not to upgrade" means?
 
it mostly means that apt needs to pull some new dependencies in order to install some new packages that were held back (not installed) during the last apt-get upgrade operation.
usually you can force an upgrade with:

apt-get dist-upgrade

be careful though, if they're being held back sometimes it's for a very good reason.

DeeGee 2010-01-11 23:14

Re: apt-get what "4 not to upgrade" means?
 
I thought apt-get dist-upgrade was a very bad idea? I wouldn't at least recommend it...

Lord Awesome 2010-01-12 00:48

Re: apt-get what "4 not to upgrade" means?
 
Quote:

Originally Posted by asidana (Post 464789)
when i run apt-get auto remove i get 4 not to upgrade result. what does it mean?

If it says 4 not upgraded then that means there are newer versions of installed packages available, but if they're not showing as updates in the application manager then they're of no use to you on their own. Best to leave them alone.

rewt 2010-01-12 01:51

Re: apt-get what "4 not to upgrade" means?
 
Packages that are "not to upgrade" are held back for one reason or another. Typically packages are held back because they have unmet dependencies. For example, you install package foo version 1 and two months later package foo version 2 is released, which now requires package bar (which is not installed) - since package bar is not installed, the dependencies for package foo version 2 aren't met and it is held back.

Using apt-get dist-upgrade is more dangerous - it'll allow apt to pull in packages which are not already installed (which will allow it to satisfy dependencies, when possible, in cases of held back packages). I've done it on my N900, but you have to be very, very, VERY careful what packages you allow it to upgrade/install - especially on Maemo. I've heard stories of people bricking their device due to a dist-upgrade... so proceed with extreme caution if you seriously think about trying this.

egoshin 2010-01-12 02:05

Re: apt-get what "4 not to upgrade" means?
 
Try parameter "--just-print" in apt-get first and see what would be done.

mikhmv 2010-01-12 02:28

Re: apt-get what "4 not to upgrade" means?
 
try "apt-get dist-upgrade" and you will get additional information. some thin like x additional packages will be installed and y packages will be removed.
After you will get this information you will get question continue you can answer NO. But you will get answer.

Package is not upgraded by "apt-get upgrade" if is necessary to add new package or remove some package.

You can put result of "apt-get dist-upgrade" here and somebody will tell can you do it or not.....

asidana 2010-01-14 17:27

Re: apt-get what "4 not to upgrade" means?
 
have maemo-luncher is not to upgrade list after update . would it be ok if i do apt-get dist-upgrade and update it?

bigon 2010-01-14 18:01

Re: apt-get what "4 not to upgrade" means?
 
I have open a bug about that this morning

https://bugs.maemo.org/show_bug.cgi?id=7965

fatalsaint 2010-01-14 18:05

Re: apt-get what "4 not to upgrade" means?
 
I dont really see that as a "bug". That is the design of apt-get, and is a safety feature. Certain packages are held back to protect your system because it needs you to manually check that it's OK to do that.

Also.. you'd be surprised how many packages you don't see in the Application Manager that you'll see in apt-get.. and this is by design. A good portion of those packages your normal user has absolutely no need to deal with. Red Pill mode granted access to these.. as well as other things - and it obviously created enough of a stir as to get removed.

Anyway, doesn't surprise me at all that apt finds updates that Application Manager doesn't. It's just the way the system is setup.


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

vBulletin® Version 3.8.8