Announcement

Collapse
No announcement yet.

Can't install anything with Shell [SOLVED]

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

    Can't install anything with Shell [SOLVED]

    When I try to install somthing in shell, I always get an errormessage.
    Code:
    sudo apt-get install gstreamer0.8-plugins
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package gstreamer0.8-plugins
    Any idea what could do this?

    #2
    Re: Can't install anything with Shell

    This package is found in the universe repository, and it seems like you don't have this one enabled. Edit your apt sources file as root by typing into the console
    Code:
    kdesu kate /etc/apt/sources.list
    and uncommenting (removing the # from in front of ) any lines that have the word 'universe' in them. Save and close, then type in
    Code:
    sudo apt-get update && sudo apt-get install gstreamer0.8-plugins
    That should do the trick....

    Comment


      #3
      Re: Can't install anything with Shell

      working at some point, but still get lot's of error's anyhow.

      But whta about JAVA support?
      I try to do sudo apt-get install java but same error there.

      Code:
      sudo apt-get install java
      Reading package lists... Done
      Building dependency tree... Done
      E: Couldn't find package java

      Comment


        #4
        Re: Can't install anything with Shell

        As far as I know, there is no package named Java - it's supposed to be j2re1.4; in other words: "couldn't find package" simply means that there is no package of the name (you have) specified ... if you're not sure about a package's name, Synaptic may prove helpful: there you can search for "each and every" package available (from the repositories you have included to your sources.list).

        HTH
        Birdy

        Comment


          #5
          Re: Can't install anything with Shell

          you could also do
          Code:
          sudo apt-get search java
          to accomplish the same thing on the CLI

          Comment


            #6
            Re: Can't install anything with Shell

            Adept has the same thing. Just type in Java in the search, and it shows you. You don't even have to press Enter or Go. Just type it in.
            The Universe is a figment of its own imagination.<br /><br />-Douglas Adams

            Comment


              #7
              Re: Can't install anything with Shell

              The easy way to install java (and many other common programs)
              http://getautomatix.com/wiki/index.p...are_and_Tweaks

              please note that the instructions are different for kubuntu

              Comment


                #8
                Re: Can't install anything with Shell

                the package name for java is sun-java5-jre, which is in the Multiverse repo. if you have the repositories enabled it is even easier to install than using an external script for many things.

                Comment


                  #9
                  Re: Can't install anything with Shell

                  Originally posted by machoo02
                  you could also do
                  Code:
                  sudo apt-get search java
                  to accomplish the same thing on the CLI
                  Well.
                  That's how it work's on my laptop.
                  Code:
                  sudo apt-get search java
                  E: Invalid operation search

                  Comment


                    #10
                    Re: Can't install anything with Shell

                    That's why you use Adept.
                    The Universe is a figment of its own imagination.<br /><br />-Douglas Adams

                    Comment


                      #11
                      Re: Can't install anything with Shell

                      OK, but what do I use from there?
                      I have a lot of possebileties to choose from :S

                      Comment


                        #12
                        Re: Can't install anything with Shell

                        read this to enable extra software repositories:
                        https://help.ubuntu.com/community/Repositories/Kubuntu

                        Then, for example:
                        After running "fetch updates", search for sun-java5-plugin for the firefox java plugin. It will install all the extra required packages, including sun-java5-jdk

                        Comment


                          #13
                          Re: Can't install anything with Shell

                          OK, That work's, but during the install it frose and I had to rebott the computer and after that it say I can't install anything cause of some fault.

                          You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one.
                          What can I do now?

                          Comment


                            #14
                            Re: Can't install anything with Shell

                            When you froze and had to reboot, there was a "lock" file left over that prevents more than 1 package manager from running at the same time.

                            Try removing these files (if they exist):
                            /var/cache/apt/archives/lock, /var/lib/lists/lock, var/lib/dpkg/lock
                            using this command for each:
                            Code:
                             sudo rm /var/cache/apt/archives/lock
                            substituting the filename for each file

                            You may still have a problem with the aborted Adept session, so you may need to
                            try running this command to clear that up:
                            Code:
                            sudo dpkg --configure -a

                            Comment


                              #15
                              Re: Can't install anything with Shell

                              I get error message that some packet could not be resived or it is not working.
                              Somthing like that.

                              Comment

                              Working...
                              X