Reply
Thread Tools
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#11
Another thing that might shed some light on the matter, is having a look at the most recent updates performed by dpkg:

Code:
ls -tl /var/lib/dpkg/info/ | less
 

The Following 2 Users Say Thank You to anthonie For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#12
just a side note:
On any Debian based system (including Ubuntu, Maemo, yadda yadda...), always use dist-upgrade instead of upgrade!
In most cases both will do the same but there are some situations where upgrade might break things, especially if you run a release mix (e.g. extras + extras-testing; but frankly virtually any two Maemo repositories combined should be considered a release mix).
In a dependency hell environment like Maemo dist-upgrade might break things too, but if it does upgrade would have broken it anyway (if it wouldn't have, dependency hell had just become yet a bit hotter).
 

The Following 3 Users Say Thank You to sulu For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#13
Never, but never use dist-upgrade in maemo 5!
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 6 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#14
Originally Posted by mr_pingu View Post
Never, but never use dist-upgrade in maemo 5!
I've used dist-upgrade for two years without any mayor* problems. On the other hand I believe I know what I'm doing (I've been using Debian for years) and therefore understand what apt want's to tell me.

The main difference between upgrade and dist-upgrade is that upgrade only updates installed packages to their newest version while dist-upgrade checks whether updated packages have changes in their dependency lists and installs these new dependencies.

If your red warning is true it's even more true for update. dist-upgrade breaking something that upgrade would not have broken is always a clear sign of severe dependency problems in your system and/or repositories that need to be fixed instead of falling back to upgrade and crossing your fingers (which might work for now but will cause further problems in the future).

*) read: I've had broken dependencies but I knew that in advance and I at least had a general idea of how to fix them.
 

The Following 2 Users Say Thank You to sulu For This Useful Post:
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#15
Thing is, since apt-get isn't meant to be used directly in maemo, and since dependencies and upgrades aren't treated the same way in maemo as in debian, using apt-get upgrade and dist-upgrade tries to pretend maemo is debian, which it isn't, and might pull in incompatible packages which otherwise wouldn't get installed when using HAM.

Additionally, there are extra directives that apt-get doesn't understand, but HAM does. Especially when dealing with kernels
 

The Following 4 Users Say Thank You to shadowjk For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#16
In what way is Maemo's package management not Debian and in what way is HAM not just another apt front-end like Synaptic on desktops?
Which directives does HAM use that apt (or dpkg) doesn't understand?

As I said, I'm a Debian user and I've treated Maemo like Debian for the past two years when it comes to package management. I've used HAM once in a while but mainly I've been using apt and I had no unresolvable problems (most weren't even unexpected once I knew in which shape Maemo's repositories are).

Maybe I've been missing something for the past two years which may well be the case since I never brought myself in a position that I couldn't handle (resolve or revert).
 

The Following User Says Thank You to sulu For This Useful Post:
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#17
At first thx guys 4 ur replies

Originally Posted by reinob View Post
As root, type "echo $PATH", and post here the exact output.
it shows this:

Code:
~ # echo $PATH
/usr/bin:/bin
~ #
 

The Following User Says Thank You to Ammar Hamdan For This Useful Post:
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#18
Originally Posted by michaaa62 View Post
to extract the libc6 package with
Code:
sudo gainroot
apt-get install --reinstall -dy libc6
dpkg -x /var/cache/apt/archives/libc6*.deb
to fix this issue, but...
here's an output of apt-get install --reinstall -dy libc6:

Code:
WARNING: The following packages cannot be authenticated!
  libc6
E: There are problems and -y was used without --force-yes
/home/user #
 

The Following User Says Thank You to Ammar Hamdan For This Useful Post:
Posts: 112 | Thanked: 30 times | Joined on Jun 2012 @ Jeddah,Saudi Arabia
#19
hi all,
sorry to interrupt,but i also have a problem in X-terminal.Please help.its not going to able me install/uninstall anything...
Thank u very much in advance.
heres the output of some commands:
after apt-get upgrade
Code:
BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  qtwrt-experimental: Depends: wrt-experimental (= 1.1tp-3) but it is not installed
                      Depends: wrt-api-experimental (= 1.1tp-3) but it is not installed
E: Unmet dependencies. Try using -f.
Nokia-N900:~#
and after apt-get update
Code:
Ign https://downloads.maemo.nokia.com ./ Packages        
Hit https://downloads.maemo.nokia.com ./ Packages        
Hit https://downloads.maemo.nokia.com ./ Packages        
Hit https://downloads.maemo.nokia.com ./ Packages        
Err http://repository.maemo.org fremantle Release.gpg    
  Could not connect to repository.maemo.org:80 (188.117.59.203), connection timed out
Err http://repository.maemo.org fremantle/free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/non-free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Get:7 http://maemo.merlin1991.at fremantle Release.gpg [490B]
Ign http://maemo.merlin1991.at fremantle/free Translation-en_GB
Ign http://maemo.merlin1991.at fremantle/non-free Translation-en_GB
Err http://repository.maemo.org fremantle-1.3 Release.gpg
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle-1.3/free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle-1.3/non-free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle Release.gpg
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/non-free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle Release.gpg
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/non-free Translation-en_GB
  Unable to connect to repository.maemo.org http:
Get:8 http://marmistrz.net63.net fremantle Release.gpg [490B]
Ign http://marmistrz.net63.net fremantle/stable Translation-en_GB
Ign http://marmistrz.net63.net fremantle/testing Translation-en_GB
Ign http://marmistrz.net63.net fremantle/unstable Translation-en_GB
Hit http://maemo.merlin1991.at fremantle Release           
Ign http://repository.maemo.org fremantle-1.3 Release      
Ign http://repository.maemo.org fremantle Release          
Ign http://repository.maemo.org fremantle Release          
Hit http://marmistrz.net63.net fremantle Release           
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://maemo.merlin1991.at fremantle/free Packages/DiffIndex
Ign http://maemo.merlin1991.at fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/free Packages
Ign http://repository.maemo.org fremantle-1.3/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages    
Ign http://repository.maemo.org fremantle/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages    
Ign http://repository.maemo.org fremantle/non-free Packages
Ign http://marmistrz.net63.net fremantle/stable Packages/DiffIndex
Ign http://marmistrz.net63.net fremantle/testing Packages/DiffIndex
Ign http://marmistrz.net63.net fremantle/unstable Packages/DiffIndex
Ign http://maemo.merlin1991.at fremantle/free Packages     
Ign http://maemo.merlin1991.at fremantle/non-free Packages 
Ign http://repository.maemo.org fremantle-1.3/free Packages
Ign http://repository.maemo.org fremantle-1.3/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages    
Ign http://repository.maemo.org fremantle/non-free Packages
Ign http://repository.maemo.org fremantle/free Packages    
Ign http://repository.maemo.org fremantle/non-free Packages
Hit http://marmistrz.net63.net fremantle/stable Packages   
Hit http://marmistrz.net63.net fremantle/testing Packages  
Hit http://marmistrz.net63.net fremantle/unstable Packages 
Hit http://maemo.merlin1991.at fremantle/free Packages     
Hit http://maemo.merlin1991.at fremantle/non-free Packages 
Err http://repository.maemo.org fremantle-1.3/free Packages
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle-1.3/non-free Packages
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/free Packages    
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/non-free Packages
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/free Packages    
  Unable to connect to repository.maemo.org http:
Err http://repository.maemo.org fremantle/non-free Packages
  Unable to connect to repository.maemo.org http:
Fetched 3095B in 2min11s (23B/s)                           
Reading package lists... Done
W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/Release.gpg  Could not connect to repository.maemo.org:80 (188.117.59.203), connection timed out

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/non-free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/Release.gpg  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/non-free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/Release.gpg  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/non-free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/Release.gpg  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/non-free/i18n/Translation-en_GB.bz2  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/non-free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/non-free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/non-free/binary-armel/Packages  Unable to connect to repository.maemo.org http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
Nokia-N900:~#
 

The Following User Says Thank You to unexpected For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#20
 

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


 
Forum Jump


All times are GMT. The time now is 13:21.