Announcement

Collapse
No announcement yet.

Update issues, Apt-get not working, apt-install things are greyed out etc.

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

    Update issues, Apt-get not working, apt-install things are greyed out etc.

    Hello! I'm new to kubuntuforums, and hopefully I'll settle in nicely and learn a lot.

    To the point though, I'm having trouble updating anything. Before Sept, my laptop (Acer Aspire 5630, Intel core 2, T5500 1.66GHz, 1GB of RAM) had Vista on one partition and Kubuntu 7.04 on the other. Everything worked fine at home, no problems. I removed Vista through frustration at not being able to play any of the games I wanted to. However by this time I had moved to university halls. The newly XP and Kubuntu seemed to work fine. Except I couldn't update anything in Kubuntu. I had to plug into the internet, and browse using this http proxy http://www.staffs.ac.uk/proxy.config. This is what happened when I tried to install firefox

    ror@ror-laptop:~$ sudo apt-get install firefox
    Password:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package firefox is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package firefox has no installation candidate
    ror@ror-laptop:~$
    I tried to look at apt-install, and the majority of programs were greyed out, not able to click on them.

    I've been told I need to add this code

    Acquire { http { Proxy "http://my.proxyort/";
    No-Cache "false";
    Max-Age "86400";
    No-Store "false";
    };
    };
    to /etc/apt/apt.conf.d/70debconf, but when I did that and tried to apt-get firefox again, I get a "404 not found" message in terminal. I think it might have something to do with the proxy, but the first time I started up kubuntu, all the apt-install items were greyed out to begin with. Can anyone think what's happening, please?

    #2
    Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

    Open a console and then type:
    Code:
    cat /etc/apt/sources.list
    Then check for a medibuntu.list file with
    Code:
    cat /etc/apt/sources.list.d/medibuntu.list
    copy and paste the results of both to a reply. Note: If you don't have a medibuntu.list, the cat /etc/apt/sources.list.d/medibuntu.list won't work. If that is the case, let us know that also. I'm on Gutsy at the moment, and don't remember if Feisty uses this for the medibuntu repository.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

      Hey, this is the result of the first command
      ror@ror-laptop:~$ cat /etc/apt/sources.list
      # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
      # newer versions of the distribution.

      deb http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted
      deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted

      ## Major bug fix updates produced after the final release of the
      ## distribution.
      deb http://gb.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
      deb-src http://gb.archive.ubuntu.com/ubuntu/ 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 http://gb.archive.ubuntu.com/ubuntu/ feisty universe
      deb-src http://gb.archive.ubuntu.com/ubuntu/ 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 http://gb.archive.ubuntu.com/ubuntu/ feisty multiverse
      deb-src http://gb.archive.ubuntu.com/ubuntu/ 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 http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
      # deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

      deb http://security.ubuntu.com/ubuntu feisty-security main restricted
      deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
      deb http://security.ubuntu.com/ubuntu feisty-security universe
      deb-src http://security.ubuntu.com/ubuntu feisty-security universe
      deb http://security.ubuntu.com/ubuntu feisty-security multiverse
      deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
      ror@ror-laptop:~$
      But the cat /etc/apt/sources.list.d/medibuntu.list didn't work, said there was no such file or directory.

      Comment


        #4
        Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

        Don't worry about the second command not finding anything. Feisty incorporates all repositories in the one /etc/apt/sources.list file. Your sources.list looks fine. Nothing I can see that is wrong or unexpected.

        Are you using the K Menu | Add/Remove Programs or K Menu | System | Adept Manager
        If you are using the former, don't. Use the latter. See if that doesn't make a difference for you.
        Using Kubuntu Linux since March 23, 2007
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

          I tried using adept manager, but the updates weren't working. And it said firefox was installed. So I tried it in konsole and got this:

          ror@ror-laptop:~$ firefox
          The program 'firefox' is currently not installed. You can install it by typing:
          sudo apt-get install firefox
          bash: firefox: command not found
          ror@ror-laptop:~$
          My problem seems fairly complex

          Comment


            #6
            Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

            If it is installed, it should be in K Menu | Internet. If you don't see the application there, then launching it from a console should be with ff not firefox (if memory serves me).
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

              Originally posted by ror87
              I've been told I need to add this code

              Acquire { http { Proxy "http://my.proxyort/";
              No-Cache "false";
              Max-Age "86400";
              No-Store "false";
              };
              };
              to /etc/apt/apt.conf.d/70debconf, but when I did that and tried to apt-get firefox again, I get a "404 not found" message in terminal. I think it might have something to do with the proxy, but the first time I started up kubuntu, all the apt-install items were greyed out to begin with. Can anyone think what's happening, please?
              Just to be sure, you did change "http://my.proxyort/" to the actual URLort number of your proxy?

              Comment


                #8
                Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

                Hm, firefox isn't in the k menu -> internet. Nor does "ff" work.

                And the proxyort I've entered is "http:www.staffs.ac.uk/proxy.config:80" I don't actually know if that's the port for sure, as I didn't know how to find ports out. I asked my brother and he told me http ports are usually 80. I tried just the proxy, the proxy and port and can't find any differences.

                Comment


                  #9
                  Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

                  Open Adept Manager (K Menu | System | Adept Manager) and search for firefox. If it is not identified, then the repository for it is not in your sources list or not activated.

                  If firefox is not listed in Adept Manager, then open Adept Manager, click on Adept and Manage Repositories. You want to uncomment the
                  # deb http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
                  # deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
                  items. Tell Adept to Fetch Updates (if it doesn't do it automatically) and search for firefox again.

                  This Repositories/Kubuntu link explains very well how to manage repositories.
                  Using Kubuntu Linux since March 23, 2007
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

                    I had a look in Adept Manager, and it says "mozilla-firefox-locale-en-gb" the status is installed. I downloaded firefox from the website, and tried following the instructions, and got
                    ror@ror-laptop:~/firefox$ ~/firefox/firefox
                    /home/ror/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
                    I think I need to "sudo apt-get install build-essentials" (can't remember exactly) for the libstdc++ libraries. Which unfortunately I can't.
                    Thanks for the link, I'll have a read.

                    Comment


                      #11
                      Re: Update issues, Apt-get not working, apt-install things are greyed out etc.

                      If you activate those repositories and fetch updates, I think that the firefox package will be available from Adept Manager for installation. Firefox is available for me within Adept Manager.
                      Using Kubuntu Linux since March 23, 2007
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment

                      Working...
                      X