Announcement

Collapse
No announcement yet.

can't install any package (solved)

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

    can't install any package (solved)

    I've tried and tried, but I can't get any thing to install in kubuntu I'm a total noob but have managed to enable the universe repository.  It now shows me all the games and other packages in the add/ remove programs, but most of them are greyed out, and the one that aren't give me an error when i try to install them saying that they can't commit.  when I try going to the adept manager, and request install it always says (break) install

    #2
    Re: can't install any package

    That seems to indicate there is a problem with the repositories, could you post:

    1. The contents of your /etc/apt/sources.list file

    2. The output of
    Code:
    sudo apt-get update
    from konsole

    Comment


      #3
      Re: can't install any package

      Sorry about the delay, I reinstalled with the dvd this time, same problem! anyway...

      sources.list :
      Line commented out by installer because it failed to verify:
      # deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
      # Line commented out by installer because it failed to verify:
      # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

      ## Major bug fix updates produced after the final release of the
      ## distribution.
      # Line commented out by installer because it failed to verify:
      # deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
      # Line commented out by installer because it failed to verify:
      # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

      ## Uncomment the following two lines to add software from the 'universe'
      ## repository.
      ## 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 http://us.archive.ubuntu.com/ubuntu/ dapper universe
      deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe

      ## 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 http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
      # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

      deb http://security.ubuntu.com/ubuntu dapper-security main
      deb-src http://security.ubuntu.com/ubuntu dapper-security main
      deb http://security.ubuntu.com/ubuntu dapper-security universe
      deb-src http://security.ubuntu.com/ubuntu dapper-security universe

      update:
      Get:1 http://security.ubuntu.com dapper-security Release.gpg [189B]
      Get:2 http://security.ubuntu.com dapper-security Release [30.9kB]
      Get:3 http://security.ubuntu.com dapper-security/main Packages [44.2kB]
      Get:4 http://security.ubuntu.com dapper-security/main Sources [10.6kB]
      Get:5 http://security.ubuntu.com dapper-security/universe Packages [10.6kB]
      Get:6 http://security.ubuntu.com dapper-security/universe Sources [1290B]
      Err http://us.archive.ubuntu.com dapper Release.gpg
      Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
      Fetched 97.8kB in 2m0s (813B/s)
      Failed to fetch http://us.archive.ubuntu.com/ubuntu/...er/Release.gpg Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
      Reading package lists... Done
      W: Some index files failed to download, they have been ignored, or old ones used instead.


      thanks for your help.

      Comment


        #4
        Re: can't install any package

        You basically have all you repositories disabled, except the universe repository.

        Uncomment the following lines:

        deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

        deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

        deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

        deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

        Those are the most important repositories.

        Hope that helps!
        Jucato's Data Core

        Comment


          #5
          Re: can't install any package

          I've uncommented the 4 us.archive.ubuntu.com/ubuntu lines and tried to fetch updates, but the connection times out.

          Comment


            #6
            Re: can't install any package

            sorry, i may have jumped the gun, after about 3 trys i managed to connect.
            but I still get the (break) install in adept package manager, and add/remove doesn't show me any games, azureus ,wine...etc I just want to be able to use this like i did windows.

            Comment


              #7
              Re: can't install any package

              Well, first of all, I found Add/Remove Programs to be quite unreliable, that's why I'd stick to the original Adept in the mean time.

              Second, could you tell us what you were trying to install that gives you the "break" message?
              Jucato's Data Core

              Comment


                #8
                Re: can't install any package

                It's happened with gimp, firefox and a few others. It didn't happen with azuerus so i installed it, it went through the motions, but there is no trace of azureus on my computer, and it is no longer in the list...arghhhh >

                as for firefox when i press details, it shows latex-xft-fonts, libthai0, libatk1.0-0 >= 1.9.0, libgtk2.0-0 >= 2.8.0, and libpango1.0-0 >= 1.12.2
                package relationships are all greyed. And when i press apply i get an error bos saying "there was an error commiting changes. possibly there was a problem downloading some packages or the commit would break packages."




                Comment


                  #9
                  Re: can't install any package

                  Ok, I'm out of ideas. Your sources.list looks perfectly fine to me. The only possible reason that I could think of is that, since Fetch Updates (sudo apt-get update) failed at some lines, your repositories are not updated and seem to be causing the conflict.

                  Can you run sudo apt-get update and post whatever comes out, error message or not?
                  Jucato's Data Core

                  Comment


                    #10
                    Re: can't install any package

                    apt-get update:
                    Get:1 http://security.ubuntu.com dapper-security Release.gpg [189B]
                    Hit http://security.ubuntu.com dapper-security Release
                    Hit http://security.ubuntu.com dapper-security/main Packages
                    Hit http://security.ubuntu.com dapper-security/main Sources
                    Hit http://security.ubuntu.com dapper-security/universe Packages
                    Hit http://security.ubuntu.com dapper-security/universe Sources
                    Err http://us.archive.ubuntu.com dapper Release.gpg
                      Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                    Err http://us.archive.ubuntu.com dapper-updates Release.gpg
                      Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                    Fetched 1B in 4m0s (0B/s)
                    Failed to fetch http://us.archive.ubuntu.com/ubuntu/.../Release.gpg  Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                    Failed to fetch http://us.archive.ubuntu.com/ubuntu/.../Release.gpg  Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
                    Reading package lists... Done
                    W: Some index files failed to download, they have been ignored, or old ones used instead.

                    it never seems to connect to the US archive, is it possible that the server at that location is down or something similar, I've notice others having problems that seem to revolve around the same repository, i ask this because i noticed you are not in the US and perhaps your sources.list has a different location?  just an idea?.

                    Comment


                      #11
                      Re: can't install any package

                      I'm guessing that's really the 2nd source of the problem. (the first one being main and restricted repositories disabled).

                      You can try editing your sources.list again, and this time removing the "us." from the repositories, leaving you only with "archive.ubuntu.com". This, I think, will make you connect to the central repositories (wherever they are...)
                      Jucato's Data Core

                      Comment


                        #12
                        Re: can't install any package

                        Hey, thanks for your Help! It worked!

                        I removed the us prefix from each of the repositorys and run sudo apt-get update, every worked great, when i looked at my destop adept did it's job perfectly. things are looking up!

                        I wonder if this is a server issue or something and if we should consider reporting it to the developers.

                        thanks again!

                        Comment


                          #13
                          Re: can't install any package (solved)

                          Finally! Glad it finally got fixed.

                          I think it might be a server issue. But I can't be certain.

                          Now that that's over, have fun!!
                          Jucato's Data Core

                          Comment

                          Working...
                          X