Announcement

Collapse
No announcement yet.

I can't start Adept

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

    I can't start Adept

    Hi, I'm nwe user of linux, I try to install adobe flash player folowing the info on diferent sites(64 bit) and all i managed to do is to break my adept administrator by trying to put some repository. Now i get a message that it could not open database and that this may be caused by incorect APT configuration.
    Can I fix this ??

    #2
    Re: I can't start Adept

    Originally posted by waterresistro
    Can I fix this ??
    Yes. There should be a copy of your sources.list in the /etc/apt directory. Open a console (K Menu > System > Konsole) and type:
    Code:
    cd /etc/apt && ls -l sources*
    This will display all the sources files in the directory. You should see sources.list and sources.list~

    While still in the console, type:
    Code:
    sudo mv sources.list sources.list_BAD
    This will rename the file. Then type:
    Code:
    sudo mv sources.list~ sources.list
    This renames the backup file to sources.list

    Type exit to close the console. Perform a normal shutdown and reboot. If in doubt about any of the steps I've given above, post your questions before doing this.
    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


      #3
      Re: I can't start Adept

      Thanks a lot ! it worked althow when i tried the last code it said something that it does'n find the file, or something like that.

      Comment


        #4
        Re: I can't start Adept

        "...last code it said something that it does'n find the file, ..."

        That's something that should be checked. Exactly what sources* files are present in your /etc/apt directory? Open a console and type:
        Code:
        ls -l /etc/apt/sources*
        Copy and paste the output for a review.
        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


          #5
          Re: I can't start Adept

          This is what it shows:
          -rw-r--r-- 1 root root 49 2008-05-03 22:27 /etc/apt/sources.list
          -rw-r--r-- 1 root root 2423 2008-05-03 20:38 /etc/apt/sources.list_bad
          -rw-r--r-- 1 root root 2370 2008-04-13 23:04 /etc/apt/sources.list.save

          /etc/apt/sources.list.d:
          total 12
          -rw-r--r-- 1 root root 91 2008-05-03 22:27 winehq.list
          -rw-r--r-- 1 root root 89 2008-05-03 22:27 winehq.list.distUpgrade
          -rw-r--r-- 1 root root 89 2008-04-13 23:04 winehq.list.save

          and I have to mention that meanwhile I let it upgrae from 7.04 to 7.10.. Any way, first time it was showing me only the first list(without the "list_bad" witch I made after)

          Comment


            #6
            Re: I can't start Adept

            Based on your earlier reply that said:

            "...last code it said something that it does'n find the file, ..."

            and your listing, you didn't have a backup sources.list~ file. It looks like instead, that the backup was called sources.list.save. Your current sources.list file is way to small to have any real content in it (49 byte file size). I'm pretty sure here, that you want to use the sources.list.save file in order to get you back. But, let's look at both of them first.

            Open a console and type:
            Code:
            sudo cat /etc/apt/sources.list
            Copy and paste the output into your reply. Then type:
            Code:
            sudo cat /etc/apt/sources.list.save
            Copy and paste the output as well.

            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