Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Problem in Terminal

    Reply
    Page 2 of 3 | Prev |   1   2   3   | Next
    anthonie | # 11 | 2013-01-14, 12:50 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to anthonie For This Useful Post:
    ArchiMark, Wikiwide

     
    sulu | # 12 | 2013-01-14, 14:04 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to sulu For This Useful Post:
    ArchiMark, Sourav.dubey, Wikiwide

     
    mr_pingu | # 13 | 2013-01-14, 14:07 | Report

    Never, but never use dist-upgrade in maemo 5!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to mr_pingu For This Useful Post:
    anthonie, crni_labud, michaaa62, misiak, sixwheeledbeast, Wikiwide

     
    sulu | # 14 | 2013-01-14, 15:02 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to sulu For This Useful Post:
    reinob, Wikiwide

     
    shadowjk | # 15 | 2013-01-14, 15:41 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to shadowjk For This Useful Post:
    anthonie, mr_pingu, sixwheeledbeast, Wikiwide

     
    sulu | # 16 | 2013-01-14, 16:14 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to sulu For This Useful Post:
    Wikiwide

     
    Ammar Hamdan | # 17 | 2013-01-14, 17:18 | Report

    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
    ~ #

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Ammar Hamdan For This Useful Post:
    Wikiwide

     
    Ammar Hamdan | # 18 | 2013-01-14, 17:29 | Report

    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 #

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Ammar Hamdan For This Useful Post:
    Wikiwide

     
    unexpected | # 19 | 2013-01-14, 18:48 | Report

    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:~#

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to unexpected For This Useful Post:
    Wikiwide

     
    michaaa62 | # 20 | 2013-01-14, 18:58 | Report

    @unexpected : Here you are http://talk.maemo.org/showpost.php?p...55&postcount=4

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to michaaa62 For This Useful Post:
    unexpected, Wikiwide

     
    Page 2 of 3 | Prev |   1   2   3   | Next
vBulletin® Version 3.8.8
Normal Logout