Active Topics

 


Reply
Thread Tools
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#1
hiii...

I have a problem with terninal, I can't upgrade or install any app..

hope someone find a solution for this problem......


here's an output of terminal:


Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  tor
The following packages will be upgraded:
  espeak-data libespeak qcpufreq
3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 157kB/1126kB of archives.
After this operation, 41.0kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://repository.maemo.org fremantle/free qcpufreq 0.4.4-1 [157kB]
Fetched 157kB in 2s (54.4kB/s)   
dpkg: `ldconfig' not found on PATH.
dpkg: `start-stop-daemon' not found on PATH.
dpkg: `install-info' not found on PATH.
dpkg: `update-rc.d' not found on PATH.
dpkg: 4 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
W: Ignoring Provides line with DepCompareOp for package binutils
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (2)
~ #
 

The Following User Says Thank You to Ammar Hamdan For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
Bumping...
What happens if you run 'apt-get update'?
 

The Following 3 Users Say Thank You to Wikiwide For This Useful Post:
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#3
apt-get update:

Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # apt-get update
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Get:1 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
Hit http://repository.maemo.org fremantle Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit http://repository.maemo.org fremantle Release.gpg
Get:2 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
Hit http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle-1.3 Release
Get:3 https://downloads.maemo.nokia.com ./ Release.gpg [198B]
Hit http://repository.maemo.org fremantle Release          
Hit http://repository.maemo.org fremantle Release          
Ign https://downloads.maemo.nokia.com ./ Translation-en_US 
Hit http://repository.maemo.org fremantle Release          
Hit https://downloads.maemo.nokia.com ./ Release           
Hit http://repository.maemo.org fremantle-1.3 Release      
Hit https://downloads.maemo.nokia.com ./ Release           
Hit https://downloads.maemo.nokia.com ./ Release           
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-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Get:4 https://downloads.maemo.nokia.com ./ Release [507B]  
Err https://downloads.maemo.nokia.com ./ Release           
  
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
Get:5 https://downloads.maemo.nokia.com ./ Release [507B]  
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
Err https://downloads.maemo.nokia.com ./ 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 https://downloads.maemo.nokia.com ./ Release           
Get:6 https://downloads.maemo.nokia.com ./ Release [507B]  
Ign https://downloads.maemo.nokia.com ./ Release           
Ign https://downloads.maemo.nokia.com ./ Release           
Hit http://repository.maemo.org fremantle/free Packages    
Hit http://repository.maemo.org fremantle/non-free Packages
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages    
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages    
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages    
Hit http://repository.maemo.org fremantle/non-free Packages
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit https://downloads.maemo.nokia.com ./ Packages          
Hit https://downloads.maemo.nokia.com ./ Packages          
Hit https://downloads.maemo.nokia.com ./ Packages          
Fetched 2115B in 13s (152B/s)                              
Reading package lists... Done
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
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: You may want to run apt-get update to correct these problems
~ #
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#4
I can't believe, people keep doing apt-get upgrade. Who tells them to do that? Might as well ask them to double click the exe file in order to install this or that,,,

--------

The only error message I know of the OP is the ldconfig one, that is, AFAIK ldconfig belongs to the libc6 package. The other packages I know, but how they got messed up, no clue.

Apparently packages have been removed before that are needed now. Unless you know what package had files like "install-info" and such, I don't know how to solve it.

Last edited by anthonie; 2013-01-13 at 17:41.
 

The Following 4 Users Say Thank You to anthonie For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#5
Well, I do keep doing "apt-get update" and "apt-get upgrade" in order to update the packages. Sometimes, I use aptitude instead of directly calling apt-get.
And when I need to install something on Windows machine, the steps often are: download, check on virustotal, double-click the exe file.
Since libc6 package has some files lost, "apt-get install libc6" could be attempted. However, since dpkg seems to be unable to work due to these errors, the user might have to unpack libc6 manually, to get ldconfig in the filesystem.
 

The Following 4 Users Say Thank You to Wikiwide For This Useful Post:
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#6
I think what anthonie was referring to, was that apt-get upgrade often does bad things, and or leaves things incomplete. Using apt-get directly in Maemo is only recommended if you know what you're doing, and "knowing what you're doing" isn't the same thing as "knowing what I'm doing if this was exactly like debian or ubuntu".

As for the original issue, things looks very strange indeed. Key programs have gone missing...
 

The Following 6 Users Say Thank You to shadowjk For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#7
OP seems to be from Syria... OP, could it be possible that your ISP is blocking access to Nokia's servers containing repositories?
 

The Following 2 Users Say Thank You to misiak For This Useful Post:
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#8
Well, I do keep doing "apt-get update" and "apt-get upgrade" in order to update the packages. Sometimes, I use aptitude instead of directly calling apt-get.
Thats cool for you, but I believe this advice should always be accompanied by a thick hefty disclaimer. It simply isn't the same as a Debian distro. If I got a euro for every thread here on TMO, where things have gone bad for the OP's N900, and somewhere in the thread apt-get upgrade is being mentioned, I could buy myself another N900 second-hand from ebay.

Every time an uneducated person performs apt-get upgrade on a N900, Minerva chuckles and sighs.

However, since dpkg seems to be unable to work due to these errors, the user might have to unpack libc6 manually, to get ldconfig in the filesystem.
Possibly, at least worth a try. But that's only one problem we were able to identify. Of the others it is quite unclear what manual measures ought to be taken.
 

The Following 4 Users Say Thank You to anthonie For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#9
Originally Posted by Ammar Hamdan View Post
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
As root, type "echo $PATH", and post here the exact output.
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
If this essential package is broken, something went terribly wrong. It might be necessary and faster to backup and reflash.

Nevertheless, you could try 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...
 

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


 
Forum Jump


All times are GMT. The time now is 08:03.