Announcement

Collapse
No announcement yet.

adept errors

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

    adept errors

    i have recently installed kubuntu and run into a few problems with adept. it was working fine and then something went wrong. everytime i start it, it tells me there was an error and to run apt-setup or apt-get update. neither work and report that it is not a command. i also try sudo before them and it doesn't work. with this problem i can't easily install anything like firefox and such. thanks for the help.

    -thomas

    #2
    Re: adept errors

    Can you post the exact (not summarized) output of this command?
    Code:
    sudo aptitude update
    Just copy and paste everything from the terminal to a post in this thread.
    Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

    Comment


      #3
      Re: adept errors

      thanks for the quick response. here is the adept error: "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."

      and here is the terminal:
      thomasvanwart@tomsmachine:~$ sudo aptitude update
      Password:
      E: Type 'https://help.ubuntu.com/community/RestrictedFormats' is not known on line 1 in source list /etc/apt/sources.list
      E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
      E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
      E: Type 'https://help.ubuntu.com/community/RestrictedFormats' is not known on line 1 in source list /etc/apt/sources.list
      E: The list of sources could not be read.

      and thats that. and if i do apt-setup, or sudo apt-setup:

      thomasvanwart@tomsmachine:~$ apt-get update
      E: Type 'https://help.ubuntu.com/community/RestrictedFormats' is not known on line 1 in source list /etc/apt/sources.list
      thomasvanwart@tomsmachine:~$ apt-setup
      bash: apt-setup: command not found
      thomasvanwart@tomsmachine:~$ sudo apt-setup
      sudo: apt-setup: command not found

      thanks for the help.

      Comment


        #4
        Re: adept errors

        sounds like a missformated line in your sources.list file. Can you post your

        /etc/apt/sources.list so we can check it for you.

        Also do you have anything else running while running adept for eg are you running a terminal with apt-get in the background or the updater?

        Comment


          #5
          Re: adept errors

          i don't know how to get that...is this not right?

          thomasvanwart@tomsmachine:~$ /etc/apt/sources.list
          bash: /etc/apt/sources.list: Permission denied
          thomasvanwart@tomsmachine:~$ sudo /etc/apt/sources.list
          Password:
          sudo: /etc/apt/sources.list: command not found
          thomasvanwart@tomsmachine:~$

          Comment


            #6
            Re: adept errors

            Hi, Thomas

            Try this in the console

            kdesu kwrite /etc/apt/sources.list

            After you type in your password, it should bring up kwrite with the sources.list in it. You can then copy and paste the reply here.

            Hope this helps

            Lowey
            I wish I was the man my dog thinks I am.<br /><br />Registered Linux User No. 402825

            Comment


              #7
              Re: adept errors

              here you go.

              https://help.ubuntu.com/community/RestrictedFormats

              # Line commented out by installer because it failed to verify:
              # deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
              # Line commented out by installer because it failed to verify:
              # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

              ## Major bug fix updates produced after the final release of the
              ## distribution.
              # Line commented out by installer because it failed to verify:
              # deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
              # Line commented out by installer because it failed to verify:
              # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-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 http://us.archive.ubuntu.com/ubuntu/ dapper universe
              deb-src http://us.archive.ubuntu.com/ubuntu/ dapper 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://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
              # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

              # Line commented out by installer because it failed to verify:
              # deb http://security.ubuntu.com/ubuntu dapper-security main
              # Line commented out by installer because it failed to verify:
              # deb-src http://security.ubuntu.com/ubuntu dapper-security main
              # deb http://security.ubuntu.com/ubuntu dapper-security universe
              # deb-src http://security.ubuntu.com/ubuntu dapper-security universe


              thanks again.

              Comment


                #8
                Re: adept errors

                Right,

                1. delete the line
                https://help.ubuntu.com/community/RestrictedFormats
                (that's not a repository, it's a webpage)

                2. remove the '#'s from the lines that start with
                # deb
                (Those are the actual software repositories, as it says they have been disabled by the installer because they couldn't be connected to when you installed...probably because your network wasn't connected)

                Save the file and you should be ok

                Comment


                  #9
                  Re: adept errors

                  thanks. that allows me to open adept again. but if you guys don't mind i have a couple other questions. it says that i have firefox installed, but it doesnt work. it won't let me request removal either. somthing about downloading error couldn't commit changes. also, i need to get drivers for my soung card. i have a soundblaster card. thanks.

                  Comment

                  Working...
                  X