Announcement

Collapse
No announcement yet.

I broke my Adept....SOLVED

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

    I broke my Adept....SOLVED

    After trying to add new sources to my atp list, adept wont work anymore. I get the error message; "The APT Database could not be opened! This may be caused by incorrect APT configuration or some similar problem. Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem."

    What can I have done wrong, and how do I fix it?

    #2
    Re: I broke my Adept....

    no worries.
    we should be able to fix this.

    please, start a konsole and post back here the result of:
    Code:
    cat /etc/apt/sources.list
    this is the main apt configuration file.
    we can thus look for syntactical issues or anything...

    and also the result of:
    Code:
    ls -l /etc/apt/sources.list.d
    this is the directory listing of possible additional repositories files.
    if there's any files in here, we will later need their content as well.

    cheers
    gnu/linux is not windoze

    Comment


      #3
      Re: I broke my Adept....

      mads@Mads-laptop:~$ cat /etc/apt/sources.list
      deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Beta i386 (20080318.1)]/ hardy main restricted
      # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
      # newer versions of the distribution.

      deb http://no.archive.ubuntu.com/ubuntu/ hardy main restricted
      deb-src http://no.archive.ubuntu.com/ubuntu/ hardy main restricted

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

      deb http://security.ubuntu.com/ubuntu hardy-security main restricted
      deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
      deb http://security.ubuntu.com/ubuntu hardy-security universe
      deb-src http://security.ubuntu.com/ubuntu hardy-security universe
      deb http://security.ubuntu.com/ubuntu hardy-security multiverse
      deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
      http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main

      Comment


        #4
        Re: I broke my Adept....

        ~$ ls -l /etc/apt/sources.list.d
        total 28
        -rw-r--r-- 1 root root 1117 2008-06-26 11:33 index.html
        -rw-r--r-- 1 root root 227 2008-06-26 09:56 medibuntu.list
        -rw-r--r-- 1 root root 226 2008-06-26 09:56 medibuntu.list.save
        -rw-r--r-- 1 root root 192 2008-06-26 09:56 playonlinux.list
        -rw-r--r-- 1 root root 192 2008-06-26 09:56 playonlinux.list.save
        -rw-r--r-- 1 root root 181 2008-06-26 09:56 winehq.list
        -rw-r--r-- 1 root root 180 2008-06-26 09:56 winehq.list.save

        Comment


          #5
          Re: I broke my Adept....

          "http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main"

          I believe this line could be what causes the problem, as that was the one I added just prior to the problem starting. Is there any way to remove it in konsole?

          Comment


            #6
            Re: I broke my Adept....

            that line should read:
            Code:
            deb [url]http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu[/url] hardy main
            it seems you simply need to prefix it with "deb " to fix the problem.

            you can edit /etc/apt/sources.list just like any other file.
            start a konsole.
            enter:
            Code:
            sudo nano /etc/apt/sources.list
            scroll down to the relevant line.
            prefix it with "deb ".
            then hit ctrl-x and y to save and exit.

            now try again with adept.

            hth


            EDIT:
            or remove it...
            gnu/linux is not windoze

            Comment


              #7
              Re: I broke my Adept....SOLVED

              Problem solved, using the method you suggested. Thanks a lot.

              Comment


                #8
                Re: I broke my Adept....SOLVED

                But it seems removing it was really the correct solution, as the system WILL NOT upgrade my kde 4.0 to 4.1beta2 without breaking kdeutls, and causing hang-ups and crashes all around.

                I have had to resort to sudo dpkg --configure -a several times in the process, and have now unchecked the launchpad repo from adept.

                Comment


                  #9
                  Re: I broke my Adept....SOLVED

                  dependency hell is a different issue
                  gnu/linux is not windoze

                  Comment

                  Working...
                  X