Announcement

Collapse
No announcement yet.

Added repositories- Adept crashed and won't open anymore!!!

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

    Added repositories- Adept crashed and won't open anymore!!!

    Okay, picture this: my first session on Kubuntu.

    First I fetched automatix and used it to install some stuff, wine, codecs etc. (took ages) Then, I decided to add some repositories which I found on this page: http://easylinux.info/wiki/Ubuntu#Ho...a_repositories

    I pasted the stuff into adept packagemanager, pressed add, and when finished, I think I clicked on update or something.

    Adept crashed, and when I try to reopen it- this pops up:

    Could not open cache- Adept

    The APT Database could not be opened! This may be caused by incorrect APT configuration or something similar. Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem.


    So I type in apt-get update in console: (translating from norwegian) apt-get update
    E: Error on 47 i the source list /etc/apt/sources.list (dist interpretation)



    I would be most thankful if anybody could help me back on track, get my repositories back up again, (so I can get a player for my Zen micro) hopefully without having to reinstall everything!! Argh!  >

    Edit: modified the italic

    #2
    Re: Added repositories- Adept crashed and won't open anymore!!!

    First of all, don't panic.
    Second, please post the contents of this file:
    /etc/apt/sources.list
    You can open it with Kate, Kwrite, or whatever text editor you choose. Post it here then maybe we can help you.
    Jucato's Data Core

    Comment


      #3
      Re: Added repositories- Adept crashed and won't open anymore!!!

      Hi! Thanks for the fast reply- I just had to sleep a few hours.. diff time zone, heh. 

      Okay, I browsed to the etc/apt/ in terminal, and first of all; here is what is listed there:

      me@hostname:/etc/apt$ ls
      apt.conf.d    sources.list_backup_200602140033  trusted.gpg
      secring.gpg   sources.list_backup_arnie         trusted.gpg~
      sources.list  trustdb.gpg
      me@hostname:/etc/apt$

      So I open the sources.list from Konqueror in Kate:

      deb http://security.ubuntu.com/ubuntu breezy-security main restricted
      deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
      deb http://security.ubuntu.com/ubuntu breezy-security universe
      deb-src http://security.ubuntu.com/ubuntu breezy-security universe
      deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
      deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
      deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
      deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted
      deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
      deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
      deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
      deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free
      deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

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

      deb http://security.ubuntu.com/ubuntu breezy-security main restricted
      deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

      deb http://security.ubuntu.com/ubuntu breezy-security universe
      deb-src http://security.ubuntu.com/ubuntu breezy-security universe

      deb http://archive.ubuntu.com/ubuntu/ breezy universe main restricted multiverse

      deb http://wine.sourceforge.net/apt/ binary/

      deb ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ breezy free non-free
      deb-src ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ breezy free non-free

      deb http://deb.opera.com/opera/ etch non-free

      deb http://kubuntu.org/packages/kde351 breezy main

      deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

      deb http://koti.mbnet.fi/~ots/ubuntu/ breezy/
      deb-src http://koti.mbnet.fi/~ots/ubuntu/ breezy/

      ## created by arnieamuleadded



      Okay, I think my changes were those at the top. Do I have to manually erase those with the text editor? Or should I just make a copy and rename another source.list?

      And another n00b q: I found those repositories from an ubuntu guide (link above). Have searched a little, and found no proper: how to add repositories with adept.. Kinda obvious I failed to do that right, huh? Perhaps you have a link to someplace showing me how to do it without crashing the damn thing..

      Thanks 4 helping me out guys/girls!

      Comment


        #4
        Re: Added repositories- Adept crashed and won't open anymore!!!

        Hope you had a nice sleep. Now get ready for a bit of Repository 101. Just a bit. I'm no expert.

        First of all, delete all those repositories you added on top. Why? I don't know if you've noticed, but they're all duplicates. every one of them. Except for these last 3:

        deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
        deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free
        deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

        So delete everything above those. There are two ways you can do this.Either manually edit them using a text editor (do it as root) or through Adept. I'm going to teach you the first one.

        1. Backup your sources.list, just in case:
        Code:
        sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
        2. edit your sources.list in a text editor (as root)
        Code:
        kdesu kate /etc/apt/sources.list
        3. save up, close Kate and the terminal.


        Secondly, there is a guide to adding repositories. It's found on the ubuntu wiki: https://wiki.ubuntu.com/AddingRepositoriesHowto
        Towards the end of that page, there is a section for Adept.

        Thirdly, there's a difference between adding repositories and enabling/disabling them. See the wiki link I gave for some explanations and come back if you have further questions.

        Anyway, try these out for a while andlet's see what happens.
        Jucato's Data Core

        Comment


          #5
          Re: Added repositories- Adept crashed and won't open anymore!!!

          I opened kate, using your superuser do- line in terminal, and then I just deleted the repositories which were double-listed (already listed by default) Obviously, Adept got a lil angry with me for duplicate-entering repositories..

          Well, working fine now. Got a camera and a printer to get up and running, the zen micro is already fixed with adept.

          Thanx a lot Fenyx. Beautifully n00b step-by-step explained.

          Comment


            #6
            Re: Added repositories- Adept crashed and won't open anymore!!!

            This repository list you got is crap!

            Ubuntu/Kubuntu has maybe the best official documentation around, through the wiki and forums. Please do not refer to unofficial stuff when you can prevent it.

            Fenyx gave you a link to the wiki. Follow this one (see the end of the page, where it's explained how to use adept). Remove the unofficial repositories (the freecontrib ones), the backports and the kde 3.5 ones. They can be used, but I recommend you seriously know about apt-get and how to deal with repositories before using unofficial sources, that break more often.

            As long as you don't master sources.list yet, adding repositories through adept instead of manually will make you sure you don't break things.

            Comment

            Working...
            X