Announcement

Collapse
No announcement yet.

Adept crashed, please help

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adept crashed, please help

    OK, I'm newbie in Kubuntu and I have a problem. I tried to install java with Adept manager, but I didn't know that during installation, when dialog box apears about Terms, that I need to scroll down to the end and then I'll see checkbox "I agree". So I just clicked Next and installation could not be finished, I've got the message "There was an error commiting changes. Possibly there was a problem downloading some packages or the commit would break packages." Since then every time I run Adept manager I get the message that some other program is using the packaging system database. So I deleted the lock file
    Code:
    /var/lib/dpkg/lock
    but again when I run Adept manager nothing happens, he's only loading and suddenly quit (he doesn't even ask me for a password). And then he makes, again, the lock file and if I run him he would show me the same message as before. But I fixed that in console with command
    Code:
    sudo dpkg --configure -a
    Now I can start Adept manager but when I request something to install and when I click on Apply changes the following screen appears only 0.0000001 second.

    http://img444.imageshack.us/my.php?i...7424965nz0.jpg

    And this is happening for any package I try to install (including java). And now I can start Adept but I can't install anything. Please help me how to fix this.

    #2
    Re: Adept crashed, please help

    i gotta leave in a minute, so if my suggestion doesn't work, i hope someone else picks this up...
    have a go with the following command:
    Code:
    sudo apt-get install --fix-broken
    hth
    gnu/linux is not windoze

    Comment


      #3
      Re: Adept crashed, please help

      OK this solved a problem above (I mean it doesn't bring me the error as soon as I click the Apply changes) but now when I click on Apply changes download isn't starting. It only says "Waiting for headers" and after some time it displays the same error as above.

      Comment


        #4
        Re: Adept crashed, please help

        Originally posted by UMF
        OK this solved a problem above (I mean it doesn't bring me the error as soon as I click the Apply changes) but now when I click on Apply changes download isn't starting. It only says "Waiting for headers" and after some time it displays the same error as above.
        allright, let's forget about adept for a while (or do like i did: remove it )
        let's work from command line, so that we know exactly what's going on...
        first off, pls, post the result of the following:
        Code:
        cat /etc/apt/sources.list
        then...
        did the java packages eventually install or not?
        pls, post the result of the following:
        Code:
        sudo dpkg-query -l 'sun-java*' | grep -v ^un
        eventually, let's try and install something and see what happens...
        pls, post the the result of
        Code:
        sudo apt-get update
        sudo apt-get install synaptic
        synaptic is the tool i use in place of adept...
        gnu/linux is not windoze

        Comment


          #5
          Re: Adept crashed, please help

          First sorry for late reply.

          Code:
          first off, pls, post the result of the following:
          cat /etc/apt/sources.list
          This is the result:
          Code:
          # See [url]http://help.ubuntu.com/community/UpgradeNotes[/url] for how to upgrade to
          # newer versions of the distribution.
          
          deb [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty main restricted
          deb-src [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty main restricted
          
          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty-updates main restricted
          deb-src [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty-updates main restricted
          
          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## universe WILL NOT receive any review or updates from the Ubuntu security
          ## team.
          deb [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty universe
          deb-src [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty universe
          
          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## multiverse WILL NOT receive any review or updates from the Ubuntu
          ## security team.
          deb [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty multiverse
          deb-src [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty multiverse
          
          ## Uncomment the following two lines to add software from the 'backports'
          ## repository.
          ## N.B. software from this repository may not have been tested as
          ## extensively as that contained in the main release, although it includes
          ## newer versions of some applications which may provide useful features.
          ## Also, please note that software in backports WILL NOT receive any review
          ## or updates from the Ubuntu security team.
          # deb [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty-backports main restricted universe multiverse
          # deb-src [url]http://rs.archive.ubuntu.com/ubuntu/[/url] feisty-backports main restricted universe multiverse
          
          deb [url]http://security.ubuntu.com/ubuntu[/url] feisty-security main restricted
          deb-src [url]http://security.ubuntu.com/ubuntu[/url] feisty-security main restricted
          deb [url]http://security.ubuntu.com/ubuntu[/url] feisty-security universe
          deb-src [url]http://security.ubuntu.com/ubuntu[/url] feisty-security universe
          deb [url]http://security.ubuntu.com/ubuntu[/url] feisty-security multiverse
          deb-src [url]http://security.ubuntu.com/ubuntu[/url] feisty-security multiverse
          Code:
          did the java packages eventually install or not?
          pls, post the result of the following:
          sudo dpkg-query -l 'sun-java*' | grep -v ^un
          This is the result:
          Code:
          Desired=Unknown/Install/Remove/Purge/Hold
          | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
          |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
          ||/ Name       Version      Description
          +++-================-=================-=========================================================================
          ii sun-java5-bin  1.5.0-11-1ubuntu2 Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
          ii sun-java5-jre  1.5.0-11-1ubuntu2 Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent file
          Code:
          eventually, let's try and install something and see what happens...
          pls, post the the result of:
          sudo apt-get update
          sudo apt-get install synaptic
          This is the result for apt-get update:
          Code:
          Get:1 [url]http://rs.archive.ubuntu.com[/url] feisty Release.gpg [191B]
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty/main Translation-en_US
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty/restricted Translation-en_US
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty/universe Translation-en_US
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty/multiverse Translation-en_US
          Get:2 [url]http://rs.archive.ubuntu.com[/url] feisty-updates Release.gpg [191B]
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty-updates/main Translation-en_US
          Ign [url]http://rs.archive.ubuntu.com[/url] feisty-updates/restricted Translation-en_US
          Get:3 [url]http://security.ubuntu.com[/url] feisty-security Release.gpg [191B]
          Ign [url]http://security.ubuntu.com[/url] feisty-security/main Translation-en_US
          Ign [url]http://security.ubuntu.com[/url] feisty-security/restricted Translation-en_US
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty Release
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty-updates Release
          Ign [url]http://security.ubuntu.com[/url] feisty-security/universe Translation-en_US
          Ign [url]http://security.ubuntu.com[/url] feisty-security/multiverse Translation-en_US
          Hit [url]http://security.ubuntu.com[/url] feisty-security Release
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/main Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/restricted Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/main Sources
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/restricted Sources
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/universe Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/universe Sources
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/multiverse Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty/multiverse Sources
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty-updates/main Packages
          Hit [url]http://security.ubuntu.com[/url] feisty-security/main Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty-updates/restricted Packages
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty-updates/main Sources
          Hit [url]http://rs.archive.ubuntu.com[/url] feisty-updates/restricted Sources
          Hit [url]http://security.ubuntu.com[/url] feisty-security/restricted Packages
          Hit [url]http://security.ubuntu.com[/url] feisty-security/main Sources
          Hit [url]http://security.ubuntu.com[/url] feisty-security/restricted Sources
          Hit [url]http://security.ubuntu.com[/url] feisty-security/universe Packages
          Hit [url]http://security.ubuntu.com[/url] feisty-security/universe Sources
          Hit [url]http://security.ubuntu.com[/url] feisty-security/multiverse Packages
          Hit [url]http://security.ubuntu.com[/url] feisty-security/multiverse Sources
          This is the result of apt-get install synaptic:
          Code:
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following extra packages will be installed:
           docbook-xml liblaunchpad-integration0 libscrollkeeper0 libvte-common libvte9 scrollkeeper sgml-data
          Suggested packages:
           docbook docbook-doc docbook-dsssl docbook-xsl perlsgml doc-html-w3 opensp libxml2-utils dwww
          Recommended packages:
           gksu deborphan libgnome2-perl
          The following NEW packages will be installed:
           docbook-xml liblaunchpad-integration0 libscrollkeeper0 libvte-common libvte9 scrollkeeper sgml-data synaptic
          0 upgraded, 8 newly installed, 0 to remove and 24 not upgraded.
          Need to get 3036kB of archives.
          After unpacking 18.3MB of additional disk space will be used.
          Do you want to continue [Y/n]? Y
          Get:1 [url]http://rs.archive.ubuntu.com[/url] feisty/main sgml-data 2.0.3 [279kB]
          Get:2 [url]http://rs.archive.ubuntu.com[/url] feisty/main docbook-xml 4.4-5 [338kB]
          Get:3 [url]http://rs.archive.ubuntu.com[/url] feisty/main liblaunchpad-integration0 0.1.13 [13.3kB]
          Get:4 [url]http://rs.archive.ubuntu.com[/url] feisty/main libscrollkeeper0 0.3.14-11ubuntu7 [49.7kB]
          Get:5 [url]http://rs.archive.ubuntu.com[/url] feisty/main libvte-common 1:0.16.1-0ubuntu1 [122kB]
          Get:6 [url]http://rs.archive.ubuntu.com[/url] feisty/main libvte9 1:0.16.1-0ubuntu1 [736kB]
          Get:7 [url]http://rs.archive.ubuntu.com[/url] feisty/main scrollkeeper 0.3.14-11ubuntu7 [187kB]
          Get:8 [url]http://rs.archive.ubuntu.com[/url] feisty/main synaptic 0.57.11.1ubuntu14 [1310kB]
          Fetched 3036kB in 1m38s (30.8kB/s)
          Selecting previously deselected package sgml-data.
          (Reading database ... 79395 files and directories currently installed.)
          Unpacking sgml-data (from .../sgml-data_2.0.3_all.deb) ...
          Selecting previously deselected package docbook-xml.
          Unpacking docbook-xml (from .../docbook-xml_4.4-5_all.deb) ...
          Selecting previously deselected package liblaunchpad-integration0.
          Unpacking liblaunchpad-integration0 (from .../liblaunchpad-integration0_0.1.13_i386.deb) ...
          Selecting previously deselected package libscrollkeeper0.
          Unpacking libscrollkeeper0 (from .../libscrollkeeper0_0.3.14-11ubuntu7_i386.deb) ...
          Selecting previously deselected package libvte-common.
          Unpacking libvte-common (from .../libvte-common_1%3a0.16.1-0ubuntu1_all.deb) ...
          Selecting previously deselected package libvte9.
          Unpacking libvte9 (from .../libvte9_1%3a0.16.1-0ubuntu1_i386.deb) ...
          Selecting previously deselected package scrollkeeper.
          Unpacking scrollkeeper (from .../scrollkeeper_0.3.14-11ubuntu7_i386.deb) ...
          Selecting previously deselected package synaptic.
          Unpacking synaptic (from .../synaptic_0.57.11.1ubuntu14_i386.deb) ...
          Setting up sgml-data (2.0.3) ...
          
          Setting up docbook-xml (4.4-5) ...
          
          Setting up liblaunchpad-integration0 (0.1.13) ...
          
          Setting up libscrollkeeper0 (0.3.14-11ubuntu7) ...
          
          Setting up libvte-common (0.16.1-0ubuntu1) ...
          Setting up libvte9 (0.16.1-0ubuntu1) ...
          
          Setting up scrollkeeper (0.3.14-11ubuntu7) ...
          Rebuilding the database. This may take some time.
          
          Setting up synaptic (0.57.11.1ubuntu14) ...
          
          aleksandar@UMF:~$

          Comment


            #6
            Re: Adept crashed, please help

            everything seems to be working fine, actually.
            i don't see any errors or anything...
            your apt looks good.
            so, it's either adept itself, or something funny with the java packages.
            try and remove them with apt and then try install them again with adept...
            Code:
            sudo apt-get remove sun-java5-bin sun-java5-jre --purge
            if you still have troubles, have a go with synaptic and see what that says.
            i'd ditch the bloody adept, anyway, though...
            gnu/linux is not windoze

            Comment


              #7
              Re: Adept crashed, please help

              You know I tried to install some package yesterday and it worked fine, so thanks for the help.
              I know that this question doesn't belong here, but which codecs I need to install, so I can watch movies, and which player should I install (which is the best)?

              Comment


                #8
                Re: Adept crashed, please help

                i personally do the following...
                i use synaptic (or apt, from command line) for all the linux specific stuff.
                then i use automatix for all the non linux specific stuff.
                which includes codecs.
                have a go.
                it should be easy.
                automatix will add some repositories to you /etc/apt/sources.list file.
                and it uses apt, of course.
                so the working principles is the same as adept, synaptic...
                it just makes it easier to install all the most popular (non linux specific) applications.

                as for which is the best player...
                for music i use amarok, which drives my ipod, interacts with last.fm, ...
                for video there's mplayer (with different front-end guis), vlc, ...
                i use the xine movie player (though, watching dvds on my pc is something i rarely do).

                hth
                cheers
                gnu/linux is not windoze

                Comment

                Working...
                X