![]() |
apt-get dist-upgrade error
i use n800 with diablo, when i try to do a dist upgrade, i got the follow error?
could some give me a clue? apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Failed The following packages have unmet dependencies. hildon-initscripts: Depends: osso-af-startup but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. |
Re: apt-get dist-upgrade error
Why, exactly, are you trying to do a dist-upgrade?
|
Re: apt-get dist-upgrade error
Have you tried apt-get -f install?
|
Re: apt-get dist-upgrade error
app-get dist-upgrade is said to be very risky on a tablet. I run it in Sidux about once a week, but it doesn't work that way in the tablet world.
|
Re: apt-get dist-upgrade error
Quote:
any way, there should not be error even if there is nothing to be upgrade? |
Re: apt-get dist-upgrade error
another problem,
before i do "apt-get dist-upgrade", i have done a "apt-get update", and there are also some Warnings: apt-get update Ign http://www.web-brewer.co.uk diablo Release.gpg Ign http://www.fbreader.org diablo Release.gpg Ign http://www.fbreader.org diablo/user Translation-en_GB Ign http://repository.maemo.org diablo Release.gpg Get: 1 http://catalogue.tableteer.nokia.com diablo Release.gpg [189B] Ign http://repository.maemo.org diablo/free Translation-en_GB Ign http://www.web-brewer.co.uk diablo/os2008 Translation-en_GB Hit http://www.fbreader.org diablo Release Ign http://repository.maemo.org diablo/non-free Translation-en_GB Ign http://catalogue.tableteer.nokia.com diablo/user Translation-en_GB Ign http://www.web-brewer.co.uk diablo Release Ign http://www.fbreader.org diablo/user Packages/DiffIndex Ign http://repository.maemo.org diablo Release.gpg Get: 2 http://catalogue.tableteer.nokia.com diablo Release.gpg [189B] Ign http://repository.maemo.org diablo/free Translation-en_GB Ign http://www.web-brewer.co.uk diablo/os2008 Packages/DiffIndex Hit http://www.fbreader.org diablo/user Packages Ign http://repository.maemo.org diablo/non-free Translation-en_GB Hit http://repository.maemo.org diablo Release Ign http://catalogue.tableteer.nokia.com diablo/user Translation-en_GB Hit http://www.web-brewer.co.uk diablo/os2008 Packages Hit http://repository.maemo.org diablo Release Get: 3 http://catalogue.tableteer.nokia.com ./ Release.gpg [189B] Ign http://catalogue.tableteer.nokia.com ./ Translation-en_GB Hit http://catalogue.tableteer.nokia.com diablo Release Ign http://repository.maemo.org diablo/free Packages/DiffIndex Ign http://repository.maemo.org diablo/non-free Packages/DiffIndex Hit http://catalogue.tableteer.nokia.com diablo Release Ign http://repository.maemo.org diablo/free Packages/DiffIndex Hit http://catalogue.tableteer.nokia.com ./ Release Ign http://repository.maemo.org diablo/non-free Packages/DiffIndex Hit http://repository.maemo.org diablo/free Packages Ign http://catalogue.tableteer.nokia.com diablo/user Packages/DiffIndex Hit http://repository.maemo.org diablo/non-free Packages Ign http://catalogue.tableteer.nokia.com diablo/user Packages/DiffIndex Ign http://catalogue.tableteer.nokia.com ./ Packages/DiffIndex Hit http://repository.maemo.org diablo/free Packages Hit http://repository.maemo.org diablo/non-free Packages Hit http://catalogue.tableteer.nokia.com diablo/user Packages Hit http://catalogue.tableteer.nokia.com diablo/user Packages Hit http://catalogue.tableteer.nokia.com ./ Packages Fetched 3B in 7s (0B/s) Reading package lists... Done W: Conflicting distribution: http://catalogue.tableteer.nokia.com diablo Release (expected diablo but got ) W: You may want to run apt-get update to correct these problems |
Re: apt-get dist-upgrade error
Quote:
|
Re: apt-get dist-upgrade error
Quote:
I did this once to my N800 and cleverly prevented it from booting up afterwards. While reflashing things and restoring backups I had ample time to think about what I'd done. I'm curious what the "Check for updates" in Applicaton Manager does, if not the eqivalent of "apt-get upgrade"... |
Re: apt-get dist-upgrade error
dont forgot to add also the sdk repository if you want to make a more beautifull crash !
|
Re: apt-get dist-upgrade error
Quote:
|
Re: apt-get dist-upgrade error
Quote:
So getting confused and thinking "This is Debian Linux, let's just do 'apt-get upgrade' from XTerm" is a bad idea then? |
Re: apt-get dist-upgrade error
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). |
Re: apt-get dist-upgrade error
Quote:
|
Re: apt-get dist-upgrade error
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. |
Re: apt-get dist-upgrade error
Quote:
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. |
Re: apt-get dist-upgrade error
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.
|
Re: apt-get dist-upgrade error
Quote:
|
Re: apt-get dist-upgrade error
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.
|
Re: apt-get dist-upgrade error
Quote:
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:' Quote:
|
| All times are GMT. The time now is 20:11. |
vBulletin® Version 3.8.8