Posts: 179 | Thanked: 49 times | Joined on Nov 2008
#1
I've done a

Code:
apt-get update
apt-get upgrade
and get this as part of the result.

Code:
The following packages have been kept back:
  libpyside0.4 libsdl-mixer1.2 libsndfile1 pyside-qt4-core pyside-qt4-gui pyside-qt4-maemo5 ruby
The following packages will be upgraded:
  apt gpsrecorder ussd4all
Why is it keeping back those packages?

Is it because i have pinned them as "do not update" at some point?
(i have definately pinned "ruby" because "iplayer-dl" said not to upgrade to newer "ruby" version.)

If so, what file do i need to edit to let them be updated?
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#2
Meh no linux expert - but google is your friend - http://www.debian-administration.org/articles/69
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 179 | Thanked: 49 times | Joined on Nov 2008
#3
Originally Posted by noobmonkey View Post
Meh no linux expert - but google is your friend - http://www.debian-administration.org/articles/69
Thats why i thought about asking some Linux experts.

Code:
Nokia-N900:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Failed
The following packages have unmet dependencies:
  upstart: PreDepends: sysvinit-utils (>= 2.86.ds1-23) or
                       busybox (>= 3:1.6.1.legal-1osso8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#4
try apt-get -f install
 
Posts: 179 | Thanked: 49 times | Joined on Nov 2008
#5
Originally Posted by James_Littler View Post
try apt-get -f install
Code:
Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Maybe these packages shouldn't be installed?
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#6
Originally Posted by James_Littler View Post
try apt-get -f install
A bit of a disclaimer here would not have been misplaced. I mean, to force an install to run, no matter what it finds on your device is a nice option. But it's nicer if you actually know that it is being forced. Without knowledge of how tech-savy OP is, a disclaimer is highly recommended.
 

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#7
Originally Posted by munkiii View Post
I've done a

Code:
apt-get update
apt-get upgrade
and get this as part of the result.

Code:
The following packages have been kept back:
  libpyside0.4 libsdl-mixer1.2 libsndfile1 pyside-qt4-core pyside-qt4-gui pyside-qt4-maemo5 ruby
The following packages will be upgraded:
  apt gpsrecorder ussd4all
Why is it keeping back those packages?

Is it because i have pinned them as "do not update" at some point?
(i have definately pinned "ruby" because "iplayer-dl" said not to upgrade to newer "ruby" version.)

If so, what file do i need to edit to let them be updated?
The pyside libraries are held back because upgrading them requires installing new packages. You can safely force the upgrade (you'll get errors on the initial install, but these'll get fixed up by the second stage) by doing:
Code:
apt-get install libpyside0.4 pyside-qt4-core pyside-qt4-gui pyside-qt4-maemo5
apt-get -f install
The libsdl-mixer1.2 and libsndfile1 packages are held back because installing them would require uninstalling other packages. These should be left alone, as forcing an install will remove half of the core packages.

EDIT: Oh, and never do a dist-upgrade - it's likely to mess things up, and shouldn't be necessary anyway.
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
Reply

Thread Tools

 
Forum Jump


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