Announcement

Collapse
No announcement yet.

Adept Problem

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

    Adept Problem

    Hi, totally new guy here...

    I tried to manage the repositories in Adept and must have screwed something up...now i get the folowing error message:

    "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."

    i know how to get to the file mentioned via the text editor, but it will not let me save the modified file...no permission...

    here's what the referenced file looks like:

    ttp://us.archive.ubuntu.com/ubuntu
    deb cdrom:[Kubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


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

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



    help...

    thanks,

    j

    #2
    Re: Adept Problem

    Try
    Code:
    sudo apt-setup
    or
    Code:
    sudo apt-get update
    For an up-to-date sources.list, go here: http://www.psychocats.net/linux/sources.php
    Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

    Comment


      #3
      Re: Adept Problem

      when i do that i get this:

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

      i think i screwed something up trying to add a universal repository...

      Comment


        #4
        Re: Adept Problem

        Originally posted by waldick
        when i do that i get this:

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

        i think i screwed something up trying to add a universal repository...
        Follow these instructions I linked to earlier:
        http://www.psychocats.net/linux/sources.php
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: Adept Problem

          Yeah, it worked...

          I appreciate the help ....

          now, what did i do and why did i do it ?

          i would like to learn as much as i can, that way i won't have to ask stupid questions in the future...

          thanks again,

          j

          Comment


            #6
            Re: Adept Problem

            Glad it all worked out for you, and I'm glad you want to learn stuff. These translations might help.

            Code:
            sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
            Translation: with root privileges, make a copy of this file, and call the copy sources.list_backup.

            Code:
            sudo kwrite /etc/apt/sources.list
            Translation: with root privileges, open the sources.list file with the editor KWrite

            Then the sources.list you paste in there has a list of online repositories from which Adept/Synaptic/apt-get/KPackage or whatever gets both lists of what software's available and the software itself.

            Code:
            sudo apt-get update
            Translation: get the list of what's available from my current sources.list

            Code:
            sudo apt-get install blahblahblah
            Translation: install blahblahblah from the repositories in my sources.list
            Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

            Comment


              #7
              Re: Adept Problem

              also, for more information about sudo and root privelledges try reading: https://wiki.ubuntu.com/RootSudo
              <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

              Comment

              Working...
              X