![]() |
Problem in Terminal
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) |
Re: Problem in Terminal
Bumping...
What happens if you run 'apt-get update'? |
Re: Problem in Terminal
apt-get update:
Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) |
Re: Problem in Terminal
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. |
Re: Problem in Terminal
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. |
Re: Problem in Terminal
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... |
Re: Problem in Terminal
OP seems to be from Syria... OP, could it be possible that your ISP is blocking access to Nokia's servers containing repositories?
|
Re: Problem in Terminal
Quote:
Every time an uneducated person performs apt-get upgrade on a N900, Minerva chuckles and sighs. :D Quote:
|
Re: Problem in Terminal
Quote:
|
Re: Problem in Terminal
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 |
Re: Problem in Terminal
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 |
Re: Problem in Terminal
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). |
Re: Problem in Terminal
Never, but never use dist-upgrade in maemo 5!
|
Re: Problem in Terminal
Quote:
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. |
Re: Problem in Terminal
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 :) |
Re: Problem in Terminal
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). |
Re: Problem in Terminal
At first thx guys 4 ur replies :)
Quote:
Code:
~ # echo $PATH |
Re: Problem in Terminal
Quote:
Code:
WARNING: The following packages cannot be authenticated! |
Re: Problem in Terminal
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:
Code:
Ign https://downloads.maemo.nokia.com ./ Packages |
Re: Problem in Terminal
@unexpected : Here you are http://talk.maemo.org/showpost.php?p...55&postcount=4
|
Re: Problem in Terminal
@Ammar Hamdan
The warning is expected since the keys are expired, blame Nokia. Try using force-yes option to get the package to your N900 Code:
apt-get install --reinstall --force-yes -dy libc6 |
Re: Problem in Terminal
Quote:
heres the output of first command: Code:
BusyBox v1.20.2 (Debian 1.20.2power5+thumb0) built-in shell (ash) can u please simply give me codes & i'll put them on terminal :) thanx again |
Re: Problem in Terminal
Close HAM!
|
Re: Problem in Terminal
unexpected:
as root, do Code:
cp /var/lib/dpkg/lock /var/lib/dpkg/lock.backup Code:
rm /var/lib/dpkg/lock |
Re: Problem in Terminal
@unexpected
Would be easier to take your problem to the dedicated thread, not everyone likes to switch to this thread to look up the commands... |
Re: Problem in Terminal
@dzano HAM was closed
@anthonie heres the output: 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:~# cp /var/lib/dpkg/lock /var/lib/dpkg/lock.backup Nokia-N900:~# rm /var/lib/dpkg/lock Nokia-N900:~# apt-get purge libwrt-api1 qtwrt wrt wrt-api wr t-api-experimental Reading package lists... Done Building dependency tree Reading state information... Done Package wrt-api-experimental is not installed, so not removed 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 going to be installed Depends: wrt-api-experimental (= 1.1tp-3) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Nokia-N900:~# also tried apt-get -f install but same error |
Re: Problem in Terminal
@michaaa62
posted there :) |
Re: Problem in Terminal
Quote:
My (root) PATH has /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 Please (again as root), type "cat /root/.profile" Mine has (typing by hand): Code:
if [ -f ~/.bashrc ]; then |
Re: Problem in Terminal
Quote:
|
All times are GMT. The time now is 23:54. |
vBulletin® Version 3.8.8