Announcement

Collapse
No announcement yet.

Update failure re list/etc/apt/sources.list (All Sorted - Thanks)

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

    Update failure re list/etc/apt/sources.list (All Sorted - Thanks)

    >

    Hi.

    I was attempting to download a app. which involved command line input. The install failed due to 'deb' not being recognised. I'm not worried about that but now I cannot access Adept or Synaptic to upgrade etc.

    The error messages I got are attached (I hope).

    I've tried editing the file but cannot access it and 'apt-get' apt-update' are not recognised either.

    Any ideas please on this?

    Thanks

    Paul.


    Attached Files
    Celeron CPU G1610@2.60GHz x 2
    GeForce 8400 GS/PCle/SSE2
    Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

    #2
    Re: Update failure re list/etc/apt/sources.list

    I dare say that your (seemingly adapted) version of /etc/apt/sources.list contains a bug of sorts (e.g. a typo). Post it and we'll know

    Comment


      #3
      Re: Update failure re list/etc/apt/sources.list

      Hi.

      I'm on a learning curve and found and used 'cat' to display this file (wonderful thing the internet 'search' feature feeling 'chuffed'!!

      The file is below:

      deb http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted universe
      deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted

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

      deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe
      deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
      # deb http://security.ubuntu.com/ubuntu edgy-security universe
      # deb-src http://security.ubuntu.com/ubuntu edgy-security universe
      “deb http://www.getautomatix.com/apt dapper main”
      homer@homer-desktop:/etc/apt$



      Note the reaction to 'edit':

      homer@homer-desktop:/etc/apt$ sudo edit sources.list
      Warning: unknown mime-type for "sources.list" -- using "application/*"
      Error: no "edit" mailcap rules found for type "application/*"
      homer@homer-desktop:/etc/apt$

      Thanks

      Paul.

      Since doing the above I have found that I can access the list through 'KATE' although I've not tried to do anything with it!
      Celeron CPU G1610@2.60GHz x 2
      GeForce 8400 GS/PCle/SSE2
      Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

      Comment


        #4
        Re: Update failure re list/etc/apt/sources.list

        Remove both double quotes from the last line, then "save and retry"

        Comment


          #5
          Re: Update failure re list/etc/apt/sources.list

          Great!

          That is working fine.

          Can you say why the last line had the " in it as I know I did not type them in (I think )

          Thanks.
          Celeron CPU G1610@2.60GHz x 2
          GeForce 8400 GS/PCle/SSE2
          Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

          Comment


            #6
            Re: Update failure re list/etc/apt/sources.list

            Originally posted by leadwt
            Can you say why the last line had the " in it as I know I did not type them in (I think )
            The process adding this (non-standard) line of code has gone some way too far, I'd say

            Comment


              #7
              Re: Update failure re list/etc/apt/sources.list

              Ok - Thanks VM.

              Paul.
              Celeron CPU G1610@2.60GHz x 2
              GeForce 8400 GS/PCle/SSE2
              Kubuntu 14.04 - 64 bit Linux - KDE 4.13.0

              Comment

              Working...
              X