Announcement

Collapse
No announcement yet.

Trouble installing debug packages: apt-get rejects my ddebs.list

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

    Trouble installing debug packages: apt-get rejects my ddebs.list

    Hello.

    I am running Kubuntu 9.10.

    Kile is crashing, so I want to create a good backtrace. To do this I have to install debug packages. There is no "kile-dbg", so as far as I understand I have to do it the hard way, as described here on the Ubuntu Wiki.

    I have created the file "ddebs.list" containing the six lines given in the walkthrough that I linked to above.

    Code:
    echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs) main restricted universe multiverse" |
    sudo tee -a /etc/apt/sources.list.d/ddebs.list
    echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-updates main restricted universe multiverse 
    deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-security main restricted universe multiverse
    deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-proposed main restricted universe multiverse" |
    sudo tee -a /etc/apt/sources.list.d/ddebs.list
    But apt-get is not accepting the file:

    Code:
    ore@ore-desktop:~$ sudo apt-get update
    
    E: Type 'echo' is not known on line 1 in source list /etc/apt/sources.list.d/ddebs.list
    Am I doing something wrong? Or should be doing something else entirely and I not be following the linked tutorial?

    Thanks in advance.

    #2
    Re: Trouble installing debug packages: apt-get rejects my ddebs.list

    The howto is a bit misleading.

    you should run the commands (lines) in a shell (konsole) and they will write the necessary lines to a ddebs.list file.
    1. run
    Code:
    sudo rm -i /etc/apt/sources.list.d/ddebs.list
    (removes the existing file)
    2. then run
    Code:
    echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
    3. then run
    Code:
    echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-updates main restricted universe multiverse 
    deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-security main restricted universe multiverse
    deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-proposed main restricted universe multiverse" |
    sudo tee -a /etc/apt/sources.list.d/ddebs.list
    The commands will create and write the correct lines into the ddebs.list file, which should look like this:
    deb http://ddebs.ubuntu.com karmic main restricted universe multiverse
    deb http://ddebs.ubuntu.com karmic-updates main restricted universe multiverse
    deb http://ddebs.ubuntu.com karmic-security main restricted universe multiverse
    deb http://ddebs.ubuntu.com karmic-proposed main restricted universe multiverse

    Comment


      #3
      Re: Trouble installing debug packages: apt-get rejects my ddebs.list

      Originally posted by kubicle
      The howto is a bit misleading.

      you should run the commands (lines) in a shell (konsole) and they will write the necessary lines to a ddebs.list file.
      1. run
      Code:
      sudo rm -i /etc/apt/sources.list.d/ddebs.list
      (removes the existing file)
      2. then run
      Code:
      echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
      3. then run
      Code:
      echo "deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-updates main restricted universe multiverse 
      deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-security main restricted universe multiverse
      deb [url]http://ddebs.ubuntu.com[/url] $(lsb_release -cs)-proposed main restricted universe multiverse" |
      sudo tee -a /etc/apt/sources.list.d/ddebs.list
      The commands will create and write the correct lines into the ddebs.list file, which should look like this:
      deb http://ddebs.ubuntu.com karmic main restricted universe multiverse
      deb http://ddebs.ubuntu.com karmic-updates main restricted universe multiverse
      deb http://ddebs.ubuntu.com karmic-security main restricted universe multiverse
      deb http://ddebs.ubuntu.com karmic-proposed main restricted universe multiverse
      Thanks. This makes much more sense. It works now.

      Comment


        #4
        Re: Trouble installing debug packages: apt-get rejects my ddebs.list

        @kubicle -

        I'm assuming that the warnings after running sudo apt-get update:
        W: GPG error: http://ddebs.ubuntu.com karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
        W: GPG error: http://ddebs.ubuntu.com karmic-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
        W: GPG error: http://ddebs.ubuntu.com karmic-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
        W: GPG error: http://ddebs.ubuntu.com karmic-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
        are 'normal' in this case?
        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: Trouble installing debug packages: apt-get rejects my ddebs.list

          Originally posted by Snowhog
          @kubicle -

          I'm assuming that the warnings after running sudo apt-get update:
          W: GPG error: http://ddebs.ubuntu.com karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
          W: GPG error: http://ddebs.ubuntu.com karmic-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
          W: GPG error: http://ddebs.ubuntu.com karmic-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
          W: GPG error: http://ddebs.ubuntu.com karmic-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ECDCAD72428D7C01
          are 'normal' in this case?
          Yes...but the howto includes the instructions to get the signing key (to verify packages):
          Import the debug symbol archive signing key:
          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01 5E0577F2

          Comment


            #6
            Re: Trouble installing debug packages: apt-get rejects my ddebs.list

            Originally posted by kubicle
            Yes...but the howto includes the instructions to get the signing key (to verify packages):
            You mean I was supposed to read the howto?
            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