maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   apt-get dist-upgrade error (https://talk.maemo.org/showthread.php?t=22411)

douwen 2008-07-30 05:12

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.

GeneralAntilles 2008-07-30 05:16

Re: apt-get dist-upgrade error
 
Why, exactly, are you trying to do a dist-upgrade?

josiahg777 2008-07-30 05:27

Re: apt-get dist-upgrade error
 
Have you tried apt-get -f install?

geneven 2008-07-30 05:36

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.

douwen 2008-07-30 05:39

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by GeneralAntilles (Post 208512)
Why, exactly are you trying to do a dist-upgrade?

yes, i am try to do that.
any way, there should not be error even if there is nothing to be upgrade?

douwen 2008-07-30 05:44

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

douwen 2008-07-30 05:49

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by josiahg777 (Post 208515)
Have you tried apt-get -f install?

yes, several days ago, i installed the wget package, and it had made me running "apt-get -f install"

piku 2008-07-30 08:16

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by GeneralAntilles (Post 208512)
Why, exactly, are you trying to do a dist-upgrade?

Maybe they want to break their tablet and enjoy the reflashing process?

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"...

Khertan 2008-07-30 11:48

Re: apt-get dist-upgrade error
 
dont forgot to add also the sdk repository if you want to make a more beautifull crash !

GeneralAntilles 2008-07-30 14:32

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by piku (Post 208528)
I'm curious what the "Check for updates" in Applicaton Manager does, if not the eqivalent of "apt-get upgrade"...

It's not, it only installs stuff from User/, not everything available.

piku 2008-07-30 14:56

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by GeneralAntilles (Post 208599)
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?

TA-t3 2008-07-30 15:09

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).

Khertan 2008-07-30 15:11

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?
'apt-get upgrade' isn't the same thing than 'apt-get dist-upgrade' !

fatalsaint 2008-07-30 15:17

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.

yerga 2008-07-30 15:28

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by piku (Post 208613)
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.

GeneralAntilles 2008-07-30 15:40

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.

Mysticode 2008-07-30 15:47

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by yerga (Post 208623)
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.

TA-t3 2008-07-31 09:49

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.

TA-t3 2008-07-31 09:57

Re: apt-get dist-upgrade error
 
Quote:

Originally Posted by fatalsaint (Post 208619)
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:'

Quote:

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.


All times are GMT. The time now is 20:11.

vBulletin® Version 3.8.8