Announcement

Collapse
No announcement yet.

Package breakdown - SOLVED

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

    Package breakdown - SOLVED

    If I use Synaptic Package Manager, I get the following error message:

    E: Type 'http://archive.ubuntu.com/ubuntu' is not known on line 55 in source list /etc/apt/sources.list
    E: The list of sources could not be read.
    Go to the repository dialog to correct the problem.
    E: _cache->open() failed, please report.


    If I go to /etc/apt/sources.list I get the dialogue box but following in line 55 of /etc/apt/sources.list.save:

    deb-src http://packages.medibuntu.org/ intrepid free non-free

    I think I've seen something on this somewhere, but am at a loss. In plain English, what do I do because I can no longer update Kubuntu or download packages. Delete the line?

    This is in Kubuntu Intrepid Ibex.

    The whole file reads:

    # deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.1)]/ intrepid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://au.archive.ubuntu.com/ubuntu/ intrepid main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://au.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://au.archive.ubuntu.com/ubuntu/ intrepid universe
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid universe
    deb http://au.archive.ubuntu.com/ubuntu/ intrepid-updates universe
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-updates 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://au.archive.ubuntu.com/ubuntu/ intrepid multiverse
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid multiverse
    deb http://au.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
    deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-updates 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://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    # deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    deb http://archive.canonical.com/ubuntu intrepid partner
    deb-src http://archive.canonical.com/ubuntu intrepid partner

    deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
    deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
    deb http://security.ubuntu.com/ubuntu intrepid-security universe
    deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
    deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
    deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
    deb-src http://packages.medibuntu.org/ intrepid free non-free

    I don't think the problem started with medibuntu. I think it might have started when I went to backports, but I just do not know.

    I cannot use other package managers either.

    Thanks in advance.

    Jim

    #2
    Re: Package breakdown

    ...But have you got the GPG key?..

    If you look at https://help.ubuntu.com/community/Medibuntu you will see that there are 2 stages

    1) Add the repository in Synaptic
    2) Add the key in a Terminal
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: Package breakdown

      I've seen that page when I was trying to solve the problem. But, I accessed medibuntu and downloaded the program I wanted - Skype - which is up and working. There was no request for a key and the fact that I have Skype - downloaded through the package manager [ because I can't work out how to install programs direct from the origin]. So the key doesn't make sense to me. The thing is, I can't load any packages from anywhere.

      When I entered the key in Terminal I got the following:

      E: Type 'http://archive.ubuntu.com/ubuntu' is not known on line 55 in source list /etc/apt/sources.list


      Thanks,

      Jim

      Comment


        #4
        Re: Package breakdown

        So when I copy and paste your sources list into Kate it says there are 54 lines not 55.

        Try opening a terminal and input:
        sudo apt-get update
        then
        sudo apt-get upgrade
        and see it this shakes things loose
        "A problem well stated is a problem half solved." --Charles F. Kettering
        "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

        Comment


          #5
          Re: Package breakdown

          And if arochester's suggestion doesn't work, also try
          Code:
          sudo dpkg --configure -a

          Comment


            #6
            Re: Package breakdown

            Thanks arochester,

            When I typed sudo apt-get update I got the old line 55 message:

            E: Type 'http://archive.ubuntu.com/ubuntu' is not known on line 55 in source list /etc/apt/sources.list

            I tried the upgrade option: sudo apt-get upgrade with the outcome:

            E: Type 'http://archive.ubuntu.com/ubuntu' is not known on line 55 in source list /etc/apt/sources.list
            E: The list of sources could not be read.

            dibl,

            Your solution also left me with the same reply, as did sudo apt-get install dselect

            So, thanks for trying to sort this out, but I'm still lost. My knowledge is very limited though: I'm just an end user. One thing I will say is that there is a level of explanation even in terminal, which DOS never had! If only I could understand it all!!

            Cheers,

            Jim



            Comment


              #7
              Re: Package breakdown

              Personally, I'd edit your sources.list and remove the last line:
              deb-src http://packages.medibuntu.org/ intrepid free non-free
              Then, follow my HOWTO: Add the Medibuntu Repository and GPG Key

              You might have to run the "add the GPG Key:" more than once - their site isn't always 'up' to get the key from. This HOWTO does work. It will add the Medibuntu repository as a separate sources list (medibuntu.list) in the sources.list.d directory under /etc/apt. This is the preferred way to add 'third-party' sources into Kubuntu.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: Package breakdown

                Thanks snohog [summer is heating up here!]

                The medibuntu list is already in sources.list.d

                The file contains the following only:

                ## Medibuntu - Ubuntu 8.10 "intrepid ibex"
                ## Please report any bug on https://bugs.launchpad.net/medibuntu/
                deb http://packages.medibuntu.org/ intrepid free non-free
                deb-src http://packages.medibuntu.org/ intrepid free non-free

                Cheers

                Jim

                Comment


                  #9
                  Re: Package breakdown

                  Did you remove it from the /etc/apt/sources.list file? Given that you already have the medibuntu.list in /etc/apt/sources.list.d you should not have the line in the sources.list file.

                  After making sure that is the case, re-run:
                  Code:
                  sudo apt-get update
                  You shouldn't get any errors.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: Package breakdown

                    Thank you guys for being patient with me.

                    I removed the instances of medibuntu from the dialogue window in the source.list file and then got an error message related to the new last line in the file:

                    E: Type 'http://archive.ubuntu.com/ubuntu' is not known on line 53 in source list /etc/apt/sources.list

                    Cheers

                    Comment


                      #11
                      Re: Package breakdown

                      No problem. Open a console and type:
                      Code:
                      sudo apt-get clean
                      sudo apt-get autoclean
                      sudo apt-get autoremove
                      Then try running sudo apt-get update and report again.
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Re: Package breakdown

                        All that left me with the same message about line 53.

                        I removed everything from the third party repository list [big mistake?] When I did this, as I had done previously, with the medibuntu entries I got the message:

                        The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

                        Comment


                          #13
                          Re: Package breakdown

                          Based on your sources.list entries, you are in, or are using, repositories in Europe (Austria ?). You can edit the list and replace all occurrences of http://au. with (say) http://us. and rerun the update command and see if you get the same error.
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Re: Package breakdown

                            OK, Snowhog, I have to go now, but I'll try that later in the day. I have actually downloaded from an Australian mirror.

                            Cheers,

                            Jim

                            Comment


                              #15
                              Re: Package breakdown

                              From 'The Land Down Under' to 'The Last Frontier' - can't get much farther away than that! It snowed yesterday - a lot. Enjoy your warm weather!
                              Windows no longer obstructs my view.
                              Using Kubuntu Linux since March 23, 2007.
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment

                              Working...
                              X