When I try to update the system I get "failed to download repository information" check internet connection message

Asked by Habeeb Mohamed

I had 12.10 version and had same problem. I think it started when connection was lost suddenly while trying to update GIMP. I upgraded to 14.04 and it was ok. But when I tried to install GIMP the trouble started again. Now whenever I try to update I get the following message
Failed to download repository information
Check your internet connection
Details
E:GPG error: http://glug.nith.ac.in trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
I am not an expert in linux and would require stepwise instructions if terminal is to be used to repair this problem
Dr Habeeb Mohamed

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you upgrade to 13.04 then to 13.10 and then finally to 14.04 online or did you wipe 12.10 off and do a clean install of Trusty?

Thanks

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#2

I upgraded directly from 12.10 to 14.04
On 02-Sep-2014 12:57 PM, "actionparsnip" <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Did you upgrade to 13.04 then to 13.10 and then finally to 14.04 online
> or did you wipe 12.10 off and do a clean install of Trusty?
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Please provide the output of the terminal commands

cat -n /etc/apt/sources.list
sudo apt-get update

(detailed instructions:
open a terminal window, e.g. by simultaneously pressing ctrl-alt-t
have this web page open
select the first command with your mouse that it is shown in reverse color
switch to the terminal window and press the middle mouse button, and press enter to execute the command
do the same with the second command
you will be asked for your password as confirmation, and please note that you will not see anything on screen when typing the password (no echo, not even '*' placeholders)
finally use the terminal window's menu line to select "edit - select all", and "edit - copy" to copy all output, and paste it as new response into this question document).

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Did you "upgrade directly" using the web, or did you wipe 12.10 off and install 14.04 from CD?

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#5

I used usb bootable drive to boot from it and it asked the question whether
12.10 should be wiped out or upgraded. I chose upgraded and it worked and
is still working. i could get some updates also while installing as net was
connected. But when i tried to install GIMP, the trouble started and from
then no more updates

On Tue, Sep 2, 2014 at 3:48 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> actionparsnip requested more information:
> Did you "upgrade directly" using the web, or did you wipe 12.10 off and
> install 14.04 from CD?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#6

Dear Sir,
I did as per the instructions and I am pasting what was copied
zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat-n/etc/apt/source.list
bash: cat-n/etc/apt/source.list: No such file or directory
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
[sudo] password for zaisha:
Err http://archive.canonical.com trusty
InRelease

Err http://extras.ubuntu.com trusty
InRelease

Err http://security.ubuntu.com trusty-security
InRelease

Err http://in.archive.ubuntu.com trusty-backports
InRelease

Err http://glug.nith.ac.in trusty
InRelease

Err http://in.archive.ubuntu.com trusty
InRelease

Err http://archive.canonical.com trusty
Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://extras.ubuntu.com trusty
Release.gpg
  Temporary failure resolving 'extras.ubuntu.com'
Err http://security.ubuntu.com trusty-security
Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://glug.nith.ac.in trusty-updates
InRelease

Err http://glug.nith.ac.in trusty-security InRelease

Err http://in.archive.ubuntu.com trusty-updates InRelease

Err http://glug.nith.ac.in trusty-backports InRelease

Err http://in.archive.ubuntu.com trusty-proposed InRelease

Err http://glug.nith.ac.in trusty Release.gpg
  Temporary failure resolving 'glug.nith.ac.in'
Err http://in.archive.ubuntu.com trusty-backports Release.gpg
  Temporary failure resolving 'in.archive.ubuntu.com'
Err http://glug.nith.ac.in trusty-updates Release.gpg
  Temporary failure resolving 'glug.nith.ac.in'
Err http://in.archive.ubuntu.com trusty Release.gpg
  Temporary failure resolving 'in.archive.ubuntu.com'
Err http://glug.nith.ac.in trusty-security Release.gpg
  Temporary failure resolving 'glug.nith.ac.in'
Err http://in.archive.ubuntu.com trusty-updates Release.gpg
  Temporary failure resolving 'in.archive.ubuntu.com'
Err http://glug.nith.ac.in trusty-backports Release.gpg
  Temporary failure resolving 'glug.nith.ac.in'
Err http://in.archive.ubuntu.com trusty-proposed Release.gpg
  Temporary failure resolving 'in.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty/InRelease

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-updates/InRelease

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch
http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-security/InRelease

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-backports/InRelease

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/InRelease

W: Failed to fetch
http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Temporary
failure resolving 'archive.canonical.com'

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Temporary failure resolving 'extras.ubuntu.com'

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg
Temporary failure resolving 'security.ubuntu.com'

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty/Release.gpg Temporary
failure resolving 'glug.nith.ac.in'

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Temporary
failure resolving 'in.archive.ubuntu.com'

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-updates/Release.gpg
Temporary failure resolving 'glug.nith.ac.in'

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-security/Release.gpg
Temporary failure resolving 'glug.nith.ac.in'

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'

W: Failed to fetch
http://glug.nith.ac.in/ubuntu/archives/dists/trusty-backports/Release.gpg
Temporary failure resolving 'glug.nith.ac.in'

W: Failed to fetch
http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones
used instead.
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/
trusty/partner i386 Packages
(/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://extras.ubuntu.com/ubuntu/
trusty/main i386 Packages
(/var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_trusty_main_binary-i386_Packages)
zaisha@zaisha-Presario-C700-Notebook-PC:~$
Hope this would help you solve the problem
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 3:33 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please provide the output of the terminal commands
>
> cat -n /etc/apt/sources.list
> sudo apt-get update
>
> (detailed instructions:
> open a terminal window, e.g. by simultaneously pressing ctrl-alt-t
> have this web page open
> select the first command with your mouse that it is shown in reverse color
> switch to the terminal window and press the middle mouse button, and press
> enter to execute the command
> do the same with the second command
> you will be asked for your password as confirmation, and please note that
> you will not see anything on screen when typing the password (no echo, not
> even '*' placeholders)
> finally use the terminal window's menu line to select "edit - select all",
> and "edit - copy" to copy all output, and paste it as new response into
> this question document).
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#7

Dear Sir,
I am sorry that I made a small mistake in my first attempt. I typed out the
first command
This time i tried copying and pasting from your mail and the following
output was got

zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386
(20140722.2)]/ trusty main restricted
     2 # deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386
(20110211.1)]/ trusty main restricted
     3 # deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386
(20110211.1)]/nvidiadrivers/ /
     4 # deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386
(20121017.2)]/ quantal main restricted
     5 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
     6 # newer versions of the distribution.
     7
     8 deb http://glug.nith.ac.in/ubuntu/archives/ trusty main restricted
     9 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty main
restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates main
restricted
    14 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
main restricted
    15
    16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    17 ## team. Also, please note that software in universe WILL NOT
receive any
    18 ## review or updates from the Ubuntu security team.
    19 deb http://glug.nith.ac.in/ubuntu/archives/ trusty universe
    20 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty universe
    21 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
universe
    22 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
universe
    23
    24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    25 ## team, and may not be under a free licence. Please satisfy
yourself as to
    26 ## your rights to use the software. Also, please note that
software in
    27 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
    28 ## security team.
    29 deb http://glug.nith.ac.in/ubuntu/archives/ trusty multiverse
    30 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty multiverse
    31 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
multiverse
    32 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
multiverse
    33
    34 ## Uncomment the following two lines to add software from the
'backports'
    35 ## repository.
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it
includes
    38 ## newer versions of some applications which may provide useful
features.
    39 ## Also, please note that software in backports WILL NOT receive
any review
    40 ## or updates from the Ubuntu security team.
    41 deb http://in.archive.ubuntu.com/ubuntu/ trusty-backports main
restricted universe multiverse
    42 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-backports
main restricted universe multiverse
    43
    44 ## Uncomment the following two lines to add software from
Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by
Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 deb http://archive.canonical.com/ubuntu trusty partner
    49 deb-src http://archive.canonical.com/ubuntu trusty partner
    50
    51 ## Uncomment the following two lines to add software from Ubuntu's
    52 ## 'extras' repository.
    53 ## This software is not part of Ubuntu, but is offered by
third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu trusty main
    56 deb-src http://extras.ubuntu.com/ubuntu trusty main
    57
    58 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security main
restricted
    59 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
main restricted
    60 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security
universe
    61 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
universe
    62 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security
multiverse
    63 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
multiverse
    64
    65 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
    66 # newer versions of the distribution.
    67
    68 ## Major bug fix updates produced after the final release of the
    69 ## distribution.
    70
    71 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    72 ## team. Also, please note that software in universe WILL NOT
receive any
    73 ## review or updates from the Ubuntu security team.
    74
    75 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    76 ## team, and may not be under a free licence. Please satisfy
yourself as to
    77 ## your rights to use the software. Also, please note that
software in
    78 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
    79 ## security team.
    80
    81 ## N.B. software from this repository may not have been tested as
    82 ## extensively as that contained in the main release, although it
includes
    83 ## newer versions of some applications which may provide useful
features.
    84 ## Also, please note that software in backports WILL NOT receive
any review
    85 ## or updates from the Ubuntu security team.
    86 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-backports main
restricted universe multiverse
    87 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-backports
main restricted universe multiverse
    88
    89
    90 ## Uncomment the following two lines to add software from
Canonical's
    91 ## 'partner' repository.
    92 ## This software is not part of Ubuntu, but is offered by
Canonical and the
    93 ## respective vendors as a service to Ubuntu users.
    94 deb http://archive.canonical.com/ubuntu trusty partner
    95 deb-src http://archive.canonical.com/ubuntu trusty partner
    96
    97 ## This software is not part of Ubuntu, but is offered by
third-party
    98 ## developers who want to ship their latest software.
    99 deb http://extras.ubuntu.com/ubuntu trusty main
   100 deb http://glug.nith.ac.in/ubuntu/archives/ trusty restricted
main multiverse universe
   101 deb-src http://extras.ubuntu.com/ubuntu trusty main
   102
   103 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
   104 # newer versions of the distribution.
   105 deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
   106 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted
   107
   108 ## Major bug fix updates produced after the final release of the
   109 ## distribution.
   110 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
   111 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
   112
   113 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
   114 ## team. Also, please note that software in universe WILL NOT
receive any
   115 ## review or updates from the Ubuntu security team.
   116 deb http://in.archive.ubuntu.com/ubuntu/ trusty universe
   117 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty universe
   118 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe
   119 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates
universe
   120
   121 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
   122 ## team, and may not be under a free licence. Please satisfy
yourself as to
   123 ## your rights to use the software. Also, please note that
software in
   124 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
   125 ## security team.
   126 deb http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
   127 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
   128 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
   129 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates
multiverse
   130
   131 ## N.B. software from this repository may not have been tested as
   132 ## extensively as that contained in the main release, although it
includes
   133 ## newer versions of some applications which may provide useful
features.
   134 ## Also, please note that software in backports WILL NOT receive
any review
   135 ## or updates from the Ubuntu security team.
   136
   137 deb http://security.ubuntu.com/ubuntu trusty-security main
restricted
   138 deb-src http://security.ubuntu.com/ubuntu trusty-security main
restricted
   139 deb http://security.ubuntu.com/ubuntu trusty-security universe
   140 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
   141 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
   142 deb-src http://security.ubuntu.com/ubuntu trusty-security
multiverse
   143
   144 ## Uncomment the following two lines to add software from
Canonical's
   145 ## 'partner' repository.
   146 ## This software is not part of Ubuntu, but is offered by
Canonical and the
   147 ## respective vendors as a service to Ubuntu users.
   148 # deb http://archive.canonical.com/ubuntu trusty partner
   149 # deb-src http://archive.canonical.com/ubuntu trusty partner
   150
   151 ## This software is not part of Ubuntu, but is offered by
third-party
   152 deb http://in.archive.ubuntu.com/ubuntu/ trusty-proposed
multiverse main restricted universe
   153 ## developers who want to ship their latest software.
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
[sudo] password for zaisha:
Ign http://archive.canonical.com trusty
InRelease
Ign http://security.ubuntu.com trusty-security
InRelease
Ign http://in.archive.ubuntu.com trusty-backports
InRelease
Ign http://extras.ubuntu.com trusty
InRelease
Hit http://archive.canonical.com trusty
Release.gpg
Hit http://security.ubuntu.com trusty-security
Release.gpg
Ign http://in.archive.ubuntu.com trusty
InRelease
Hit http://extras.ubuntu.com trusty
Release.gpg
Hit http://archive.canonical.com trusty
Release
Hit http://security.ubuntu.com trusty-security
Release
Ign http://in.archive.ubuntu.com trusty-updates
InRelease
Hit http://extras.ubuntu.com trusty
Release
Ign http://in.archive.ubuntu.com trusty-proposed
InRelease
Hit http://archive.canonical.com trusty/partner
Sources
Hit http://extras.ubuntu.com trusty/main
Sources
Hit http://security.ubuntu.com trusty-security/main
Sources
Get:1 http://glug.nith.ac.in trusty
InRelease
Get:2 http://in.archive.ubuntu.com trusty-backports Release.gpg [933
B]
Hit http://archive.canonical.com trusty/partner i386
Packages
Hit http://extras.ubuntu.com trusty/main i386
Packages
Hit http://security.ubuntu.com trusty-security/restricted
Sources
100% [1 InRelease gpgv 10.0 kB] [Waiting for headers] [Waiting for headers]
[WaSplitting up /var/lib/apt/lists/partial/glug.nith.ac.in_ubuntu_Ign
http://glug.nith.ac.in trusty InRelease
E: GPG error: http://glug.nith.ac.in trusty InRelease: Clearsigned file
isn't valid, got 'NODATA' (does the network require authentication?)
zaisha@zaisha-Presario-C700-Notebook-PC:~$

Hope it would be of help for you to solve my problem
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 3:33 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please provide the output of the terminal commands
>
> cat -n /etc/apt/sources.list
> sudo apt-get update
>
> (detailed instructions:
> open a terminal window, e.g. by simultaneously pressing ctrl-alt-t
> have this web page open
> select the first command with your mouse that it is shown in reverse color
> switch to the terminal window and press the middle mouse button, and press
> enter to execute the command
> do the same with the second command
> you will be asked for your password as confirmation, and please note that
> you will not see anything on screen when typing the password (no echo, not
> even '*' placeholders)
> finally use the terminal window's menu line to select "edit - select all",
> and "edit - copy" to copy all output, and paste it as new response into
> this question document).
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Some of the entries in your sources.list configuration file are wrong (especially all those related to http://glug.nith.ac.in and that repository seems to be dead anyhow).

I recommend that you do the following:

Open a terminal and issue the command

sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

This should ask for your password as confirmation, but produce no further output.

Then issue the command

sudo gedit /etc/aot/sources.list

This will open an editor with the sources.list configuration file loaded.

I recommend that you delete all contents of that file, and insert the following contents (with copy/paste)

------- START OF TEXT TO COPY ---------

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

------- END OF TEXT TO COPY ---------
(don't include the "start" and "end" lines!).

Finally save the file and close the editor, and then re-issue the terminal commands

cat -n /etc/apt/sources.list
sudo apt-get update

and copy/paste all output into this question document as done before.

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#9

Dear Sir,
The text editor has no contents
So I copy and paste the list given by you
But when I try to save it the following error is shown
Could not find the file "/etc/aot/sources.list".
please check that you typed the location correctly and try again
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 5:53 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Some of the entries in your sources.list configuration file are wrong
> (especially all those related to http://glug.nith.ac.in and that
> repository seems to be dead anyhow).
>
> I recommend that you do the following:
>
> Open a terminal and issue the command
>
> sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
>
> This should ask for your password as confirmation, but produce no
> further output.
>
> Then issue the command
>
> sudo gedit /etc/aot/sources.list
>
> This will open an editor with the sources.list configuration file
> loaded.
>
> I recommend that you delete all contents of that file, and insert the
> following contents (with copy/paste)
>
> ------- START OF TEXT TO COPY ---------
>
> #############################################################
> ################### OFFICIAL UBUNTU REPOS ###################
> #############################################################
>
> ###### Ubuntu Main Repos
> deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe
> multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
> universe multiverse
>
> ###### Ubuntu Update Repos
> deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted
> universe multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
> restricted universe multiverse
> deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
> universe multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
> restricted universe multiverse
>
> ###### Ubuntu Partner Repo
> deb http://archive.canonical.com/ubuntu trusty partner
> deb-src http://archive.canonical.com/ubuntu trusty partner
>
> ###### Ubuntu Extras Repo
> deb http://extras.ubuntu.com/ubuntu trusty main
>
> ------- END OF TEXT TO COPY ---------
> (don't include the "start" and "end" lines!).
>
> Finally save the file and close the editor, and then re-issue the
> terminal commands
>
> cat -n /etc/apt/sources.list
> sudo apt-get update
>
> and copy/paste all output into this question document as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#10

Dear Sir
I am attaching the output of the terminal also when i did what i was told

zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo cp /etc/apt/sources.list
/etc/apt/sources.list.old
[sudo] password for zaisha:
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/aot/sources.list

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
cat -n /etc/apt/sources.list
sudo apt-get update

the last two commands gave no output
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 6:33 PM, Dr.Habeeb Mohamed <email address hidden>
wrote:

> Dear Sir,
> The text editor has no contents
> So I copy and paste the list given by you
> But when I try to save it the following error is shown
> Could not find the file "/etc/aot/sources.list".
> please check that you typed the location correctly and try again
> Dr Habeeb Mohamed
>
>
> On Tue, Sep 2, 2014 at 5:53 PM, Manfred Hampl <
> <email address hidden>> wrote:
>
>> Your question #253938 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/253938
>>
>> Status: Open => Answered
>>
>> Manfred Hampl proposed the following answer:
>> Some of the entries in your sources.list configuration file are wrong
>> (especially all those related to http://glug.nith.ac.in and that
>> repository seems to be dead anyhow).
>>
>> I recommend that you do the following:
>>
>> Open a terminal and issue the command
>>
>> sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
>>
>> This should ask for your password as confirmation, but produce no
>> further output.
>>
>> Then issue the command
>>
>> sudo gedit /etc/aot/sources.list
>>
>> This will open an editor with the sources.list configuration file
>> loaded.
>>
>> I recommend that you delete all contents of that file, and insert the
>> following contents (with copy/paste)
>>
>> ------- START OF TEXT TO COPY ---------
>>
>> #############################################################
>> ################### OFFICIAL UBUNTU REPOS ###################
>> #############################################################
>>
>> ###### Ubuntu Main Repos
>> deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe
>> multiverse
>> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
>> universe multiverse
>>
>> ###### Ubuntu Update Repos
>> deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted
>> universe multiverse
>> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
>> restricted universe multiverse
>> deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
>> universe multiverse
>> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
>> restricted universe multiverse
>>
>> ###### Ubuntu Partner Repo
>> deb http://archive.canonical.com/ubuntu trusty partner
>> deb-src http://archive.canonical.com/ubuntu trusty partner
>>
>> ###### Ubuntu Extras Repo
>> deb http://extras.ubuntu.com/ubuntu trusty main
>>
>> ------- END OF TEXT TO COPY ---------
>> (don't include the "start" and "end" lines!).
>>
>> Finally save the file and close the editor, and then re-issue the
>> terminal commands
>>
>> cat -n /etc/apt/sources.list
>> sudo apt-get update
>>
>> and copy/paste all output into this question document as done before.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=7
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+question/253938
>>
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

sudo gedit /etc/apt/sources.list

There is a typo.

I suggest you reinstall. You have upgraded in a non-supported way which is why I asked the method in the first place. You cannot leapfrog releases unless you jump from LTS to LTS.

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#12

Dear Sir,
When I checked the terminal, I found the following output

zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo cp /etc/apt/sources.list
/etc/apt/sources.list.old
[sudo] password for zaisha:
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/aot/sources.list

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
cat -n /etc/apt/sources.list
sudo apt-get update

zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386
(20140722.2)]/ trusty main restricted
     2 # deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386
(20110211.1)]/ trusty main restricted
     3 # deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386
(20110211.1)]/nvidiadrivers/ /
     4 # deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386
(20121017.2)]/ quantal main restricted
     5 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
     6 # newer versions of the distribution.
     7
     8 deb http://glug.nith.ac.in/ubuntu/archives/ trusty main restricted
     9 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty main
restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates main
restricted
    14 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
main restricted
    15
    16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    17 ## team. Also, please note that software in universe WILL NOT
receive any
    18 ## review or updates from the Ubuntu security team.
    19 deb http://glug.nith.ac.in/ubuntu/archives/ trusty universe
    20 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty universe
    21 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
universe
    22 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
universe
    23
    24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    25 ## team, and may not be under a free licence. Please satisfy
yourself as to
    26 ## your rights to use the software. Also, please note that
software in
    27 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
    28 ## security team.
    29 deb http://glug.nith.ac.in/ubuntu/archives/ trusty multiverse
    30 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty multiverse
    31 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
multiverse
    32 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-updates
multiverse
    33
    34 ## Uncomment the following two lines to add software from the
'backports'
    35 ## repository.
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it
includes
    38 ## newer versions of some applications which may provide useful
features.
    39 ## Also, please note that software in backports WILL NOT receive
any review
    40 ## or updates from the Ubuntu security team.
    41 deb http://in.archive.ubuntu.com/ubuntu/ trusty-backports main
restricted universe multiverse
    42 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-backports
main restricted universe multiverse
    43
    44 ## Uncomment the following two lines to add software from
Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by
Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 deb http://archive.canonical.com/ubuntu trusty partner
    49 deb-src http://archive.canonical.com/ubuntu trusty partner
    50
    51 ## Uncomment the following two lines to add software from Ubuntu's
    52 ## 'extras' repository.
    53 ## This software is not part of Ubuntu, but is offered by
third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu trusty main
    56 deb-src http://extras.ubuntu.com/ubuntu trusty main
    57
    58 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security main
restricted
    59 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
main restricted
    60 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security
universe
    61 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
universe
    62 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-security
multiverse
    63 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-security
multiverse
    64
    65 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
    66 # newer versions of the distribution.
    67
    68 ## Major bug fix updates produced after the final release of the
    69 ## distribution.
    70
    71 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    72 ## team. Also, please note that software in universe WILL NOT
receive any
    73 ## review or updates from the Ubuntu security team.
    74
    75 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
    76 ## team, and may not be under a free licence. Please satisfy
yourself as to
    77 ## your rights to use the software. Also, please note that
software in
    78 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
    79 ## security team.
    80
    81 ## N.B. software from this repository may not have been tested as
    82 ## extensively as that contained in the main release, although it
includes
    83 ## newer versions of some applications which may provide useful
features.
    84 ## Also, please note that software in backports WILL NOT receive
any review
    85 ## or updates from the Ubuntu security team.
    86 deb http://glug.nith.ac.in/ubuntu/archives/ trusty-backports main
restricted universe multiverse
    87 deb-src http://glug.nith.ac.in/ubuntu/archives/ trusty-backports
main restricted universe multiverse
    88
    89
    90 ## Uncomment the following two lines to add software from
Canonical's
    91 ## 'partner' repository.
    92 ## This software is not part of Ubuntu, but is offered by
Canonical and the
    93 ## respective vendors as a service to Ubuntu users.
    94 deb http://archive.canonical.com/ubuntu trusty partner
    95 deb-src http://archive.canonical.com/ubuntu trusty partner
    96
    97 ## This software is not part of Ubuntu, but is offered by
third-party
    98 ## developers who want to ship their latest software.
    99 deb http://extras.ubuntu.com/ubuntu trusty main
   100 deb http://glug.nith.ac.in/ubuntu/archives/ trusty restricted
main multiverse universe
   101 deb-src http://extras.ubuntu.com/ubuntu trusty main
   102
   103 # See http://help.ubuntu.com/community/UpgradeNotes for how to
upgrade to
   104 # newer versions of the distribution.
   105 deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
   106 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted
   107
   108 ## Major bug fix updates produced after the final release of the
   109 ## distribution.
   110 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
   111 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
   112
   113 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
   114 ## team. Also, please note that software in universe WILL NOT
receive any
   115 ## review or updates from the Ubuntu security team.
   116 deb http://in.archive.ubuntu.com/ubuntu/ trusty universe
   117 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty universe
   118 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe
   119 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates
universe
   120
   121 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by
the Ubuntu
   122 ## team, and may not be under a free licence. Please satisfy
yourself as to
   123 ## your rights to use the software. Also, please note that
software in
   124 ## multiverse WILL NOT receive any review or updates from the
Ubuntu
   125 ## security team.
   126 deb http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
   127 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
   128 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
   129 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates
multiverse
   130
   131 ## N.B. software from this repository may not have been tested as
   132 ## extensively as that contained in the main release, although it
includes
   133 ## newer versions of some applications which may provide useful
features.
   134 ## Also, please note that software in backports WILL NOT receive
any review
   135 ## or updates from the Ubuntu security team.
   136
   137 deb http://security.ubuntu.com/ubuntu trusty-security main
restricted
   138 deb-src http://security.ubuntu.com/ubuntu trusty-security main
restricted
   139 deb http://security.ubuntu.com/ubuntu trusty-security universe
   140 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
   141 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
   142 deb-src http://security.ubuntu.com/ubuntu trusty-security
multiverse
   143
   144 ## Uncomment the following two lines to add software from
Canonical's
   145 ## 'partner' repository.
   146 ## This software is not part of Ubuntu, but is offered by
Canonical and the
   147 ## respective vendors as a service to Ubuntu users.
   148 # deb http://archive.canonical.com/ubuntu trusty partner
   149 # deb-src http://archive.canonical.com/ubuntu trusty partner
   150
   151 ## This software is not part of Ubuntu, but is offered by
third-party
   152 deb http://in.archive.ubuntu.com/ubuntu/ trusty-proposed
multiverse main restricted universe
   153 ## developers who want to ship their latest software.
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
Ign http://extras.ubuntu.com trusty
InRelease
Ign http://security.ubuntu.com trusty-security
InRelease
Ign http://archive.canonical.com trusty
InRelease
Ign http://in.archive.ubuntu.com trusty-backports
InRelease
Hit http://extras.ubuntu.com trusty
Release.gpg
Hit http://security.ubuntu.com trusty-security
Release.gpg
Ign http://in.archive.ubuntu.com trusty
InRelease
Hit http://archive.canonical.com trusty
Release.gpg
Hit http://extras.ubuntu.com trusty
Release
Hit http://security.ubuntu.com trusty-security
Release
Ign http://in.archive.ubuntu.com trusty-updates
InRelease
Get:1 http://glug.nith.ac.in trusty
InRelease
Hit http://archive.canonical.com trusty
Release
Hit http://extras.ubuntu.com trusty/main
Sources
100% [1 InRelease gpgv 10.0 kB] [Waiting for headers] [Waiting for headers]
[WaSplitting up /var/lib/apt/lists/partial/glug.nith.ac.in_ubuntu_Ign
http://in.archive.ubuntu.com trusty-proposed InRelease
Ign http://glug.nith.ac.in trusty
InRelease
E: GPG error: http://glug.nith.ac.in trusty InRelease: Clearsigned file
isn't valid, got 'NODATA' (does the network require authentication?)
zaisha@zaisha-Presario-C700-Notebook-PC:~$
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
Ign http://extras.ubuntu.com trusty
InRelease
Ign http://security.ubuntu.com trusty-security
InRelease
Ign http://in.archive.ubuntu.com trusty-backports
InRelease
Ign http://archive.canonical.com trusty
InRelease
Hit http://extras.ubuntu.com trusty
Release.gpg
Hit http://security.ubuntu.com trusty-security
Release.gpg
Ign http://in.archive.ubuntu.com trusty
InRelease
Hit http://archive.canonical.com trusty
Release.gpg
Hit http://extras.ubuntu.com trusty
Release
Hit http://security.ubuntu.com trusty-security
Release
Hit http://archive.canonical.com trusty
Release
Ign http://in.archive.ubuntu.com trusty-updates
InRelease
Get:1 http://glug.nith.ac.in trusty
InRelease
Hit http://extras.ubuntu.com trusty/main
Sources
100% [1 InRelease gpgv 10.0 kB] [Waiting for headers] [Waiting for headers]
[WaSplitting up /var/lib/apt/lists/partial/glug.nith.ac.in_ubuntu_Ign
http://glug.nith.ac.in trusty InRelease
E: GPG error: http://glug.nith.ac.in trusty InRelease: Clearsigned file
isn't valid, got 'NODATA' (does the network require authentication?)
zaisha@zaisha-Presario-C700-Notebook-PC:~$

Hope this would be useful
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 6:42 PM, Habeeb Mohamed <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You gave more information on the question:
> Dear Sir
> I am attaching the output of the terminal also when i did what i was told
>
> zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo cp /etc/apt/sources.list
> /etc/apt/sources.list.old
> [sudo] password for zaisha:
> zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit
> /etc/aot/sources.list
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
>
> (gedit:2453): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.gnome.SessionManager was not provided by any .service files
> cat -n /etc/apt/sources.list
> sudo apt-get update
>
>
> the last two commands gave no output
> Dr Habeeb Mohamed
>
>
> On Tue, Sep 2, 2014 at 6:33 PM, Dr.Habeeb Mohamed <email address hidden>
> wrote:
>
> > Dear Sir,
> > The text editor has no contents
> > So I copy and paste the list given by you
> > But when I try to save it the following error is shown
> > Could not find the file "/etc/aot/sources.list".
> > please check that you typed the location correctly and try again
> > Dr Habeeb Mohamed
> >
> >
> > On Tue, Sep 2, 2014 at 5:53 PM, Manfred Hampl <
> > <email address hidden>> wrote:
> >
> >> Your question #253938 on Ubuntu changed:
> >> https://answers.launchpad.net/ubuntu/+question/253938
> >>
> >> Status: Open => Answered
> >>
> >> Manfred Hampl proposed the following answer:
> >> Some of the entries in your sources.list configuration file are wrong
> >> (especially all those related to http://glug.nith.ac.in and that
> >> repository seems to be dead anyhow).
> >>
> >> I recommend that you do the following:
> >>
> >> Open a terminal and issue the command
> >>
> >> sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
> >>
> >> This should ask for your password as confirmation, but produce no
> >> further output.
> >>
> >> Then issue the command
> >>
> >> sudo gedit /etc/aot/sources.list
> >>
> >> This will open an editor with the sources.list configuration file
> >> loaded.
> >>
> >> I recommend that you delete all contents of that file, and insert the
> >> following contents (with copy/paste)
> >>
> >> ------- START OF TEXT TO COPY ---------
> >>
> >> #############################################################
> >> ################### OFFICIAL UBUNTU REPOS ###################
> >> #############################################################
> >>
> >> ###### Ubuntu Main Repos
> >> deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
> universe
> >> multiverse
> >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
> >> universe multiverse
> >>
> >> ###### Ubuntu Update Repos
> >> deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main
> restricted
> >> universe multiverse
> >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
> >> restricted universe multiverse
> >> deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
> >> universe multiverse
> >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
> >> restricted universe multiverse
> >>
> >> ###### Ubuntu Partner Repo
> >> deb http://archive.canonical.com/ubuntu trusty partner
> >> deb-src http://archive.canonical.com/ubuntu trusty partner
> >>
> >> ###### Ubuntu Extras Repo
> >> deb http://extras.ubuntu.com/ubuntu trusty main
> >>
> >> ------- END OF TEXT TO COPY ---------
> >> (don't include the "start" and "end" lines!).
> >>
> >> Finally save the file and close the editor, and then re-issue the
> >> terminal commands
> >>
> >> cat -n /etc/apt/sources.list
> >> sudo apt-get update
> >>
> >> and copy/paste all output into this question document as done before.
> >>
> >> --
> >> If this answers your question, please go to the following page to let us
> >> know that it is solved:
> >>
> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=7
> >>
> >> If you still need help, you can reply to this email or go to the
> >> following page to enter your feedback:
> >> https://answers.launchpad.net/ubuntu/+question/253938
> >>
> >> You received this question notification because you asked the question.
> >>
> >
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#13

Dear Sir,
How can I reinstall now that I have the latest version
The 14.04 I have in my thumb drive is older than the version present as i
could get updates till i attempted to install GIMP
I am not an expert in Linux so please give step by step instructions
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 6:42 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo gedit /etc/apt/sources.list
>
> There is a typo.
>
> I suggest you reinstall. You have upgraded in a non-supported way which
> is why I asked the method in the first place. You cannot leapfrog
> releases unless you jump from LTS to LTS.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=10
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

Sorry, I made a typo error. The correct command should have been

sudo gedit /etc/apt/sources.list

Please try repeating the steps as described in https://answers.launchpad.net/ubuntu/+question/253938 posting #8 with that corrected file name.

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#15

Dear Sir
I have succeeded in editing the list but then it is not being read
I tried by deleting the symbols in the front but got stuck at universe
i am attaching the terminal output

zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/apt/sources.list
[sudo] password for zaisha:

(gedit:2682): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2682): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat -n /etc/apt/sources.list
     1 #############################################################
     2 >> ################### OFFICIAL UBUNTU REPOS ###################
     3 >> #############################################################
     4 >>
     5 >> ###### Ubuntu Main Repos
     6 >> deb http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted universe
     7 >> multiverse
     8 >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted
     9 >> universe multiverse
    10 >>
    11 >> ###### Ubuntu Update Repos
    12 >> deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main
restricted
    13 >> universe multiverse
    14 >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security
main
    15 >> restricted universe multiverse
    16 >> deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
    17 >> universe multiverse
    18 >> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates
main
    19 >> restricted universe multiverse
    20 >>
    21 >> ###### Ubuntu Partner Repo
    22 >> deb http://archive.canonical.com/ubuntu trusty partner
    23 >> deb-src http://archive.canonical.com/ubuntu trusty partner
    24 >>
    25 >> ###### Ubuntu Extras Repo
    26 >> deb http://extras.ubuntu.com/ubuntu trusty main
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
E: Type '>>' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/apt/sources.list

(gedit:2747): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2747): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
E: Type 'multiverse' is not known on line 7 in source list
/etc/apt/sources.list
E: The list of sources could not be read.
zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat -n /etc/apt/sources.list
     1 #############################################################
     2 ################### OFFICIAL UBUNTU REPOS ###################
     3 #############################################################
     4
     5 ###### Ubuntu Main Repos
     6 deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
universe
     7 multiverse
     8 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted
     9 universe multiverse
    10
    11 ###### Ubuntu Update Repos
    12 deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main
restricted
    13 universe multiverse
    14 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
    15 restricted universe multiverse
    16 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted
    17 universe multiverse
    18 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
    19 restricted universe multiverse
    20
    21 ###### Ubuntu Partner Repo
    22 deb http://archive.canonical.com/ubuntu trusty partner
    23 deb-src http://archive.canonical.com/ubuntu trusty partner
    24
    25 ###### Ubuntu Extras Repo
    26 deb http://extras.ubuntu.com/ubuntu trusty main
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/apt/sources.list

(gedit:2782): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:2782): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
E: Type 'universe' is not known on line 8 in source list
/etc/apt/sources.list
E: The list of sources could not be read.
zaisha@zaisha-Presario-C700-Notebook-PC:~$

As I am a beginner may be the exact wordings, spacing etc need to be given
Dr Habeeb Mohamed

On Tue, Sep 2, 2014 at 7:32 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Sorry, I made a typo error. The correct command should have been
>
> sudo gedit /etc/apt/sources.list
>
> Please try repeating the steps as described in
> https://answers.launchpad.net/ubuntu/+question/253938 posting #8 with
> that corrected file name.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=13
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

You have already made steps in the right direction. The problem is that there line breaks in the sources.list file where they should not be.

Please try again:

open a terminal and issue the command

sudo gedit /etc/apt/sources.list

and replace all contents by the following lines.

It is important that you do not copy these lines from your e-mail system, but from the last message block in the web page

https://answers.launchpad.net/ubuntu/+question/253938

------- START OF TEXT TO COPY ---------

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

------- END OF TEXT TO COPY ---------
(don't include the "start" and "end" lines!).

Save the file and close the editor, and then re-issue the terminal commands

cat -n /etc/apt/sources.list
sudo apt-get update

and copy/paste all output into this question document as done before.

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#17

Dear Sir
I think the problem is somewhat solved
I am attaching the output
Please instruct me whether to do anything using terminal or just update
using updater

zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo gedit /etc/apt/sources.list
[sudo] password for zaisha:

(gedit:3254): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(gedit:3254): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
zaisha@zaisha-Presario-C700-Notebook-PC:~$ cat -n /etc/apt/sources.list
     1 ###### Ubuntu Main Repos
     2 deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
universe multiverse
     3 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
restricted universe multiverse
     4
     5 ###### Ubuntu Update Repos
     6 deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main
restricted universe multiverse
     7 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
restricted universe multiverse
     8 deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted universe multiverse
     9 deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
restricted universe multiverse
    10
    11 ###### Ubuntu Partner Repo
    12 deb http://archive.canonical.com/ubuntu trusty partner
    13 deb-src http://archive.canonical.com/ubuntu trusty partner
    14
    15 ###### Ubuntu Extras Repo
    16 deb http://extras.ubuntu.com/ubuntu trusty main
    17 deb-src http://extras.ubuntu.com/ubuntu trusty main
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get update
Ign http://archive.canonical.com trusty
InRelease
Ign http://in.archive.ubuntu.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Ign http://in.archive.ubuntu.com trusty-security InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://archive.canonical.com trusty Release
Ign http://in.archive.ubuntu.com trusty-updates InRelease
Hit http://extras.ubuntu.com trusty Release
Get:1 http://in.archive.ubuntu.com trusty Release.gpg [933 B]
Hit http://archive.canonical.com trusty/partner
Sources
Hit http://extras.ubuntu.com trusty/main Sources
Get:2 http://in.archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://archive.canonical.com trusty/partner i386
Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Get:3 http://in.archive.ubuntu.com trusty-updates Release.gpg [933
B]
Hit http://in.archive.ubuntu.com trusty
Release
Get:4 http://in.archive.ubuntu.com trusty-security Release [59.7
kB]
Ign http://archive.canonical.com trusty/partner
Translation-en_IN
Ign http://extras.ubuntu.com trusty/main
Translation-en_IN
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:5 http://in.archive.ubuntu.com trusty-security Release [59.7 kB]
Get:6 http://in.archive.ubuntu.com trusty-updates Release [59.7
kB]
Hit http://in.archive.ubuntu.com trusty/main
Sources
Hit http://in.archive.ubuntu.com trusty/restricted
Sources
Hit http://in.archive.ubuntu.com trusty/universe
Sources
Hit http://in.archive.ubuntu.com trusty/multiverse
Sources
Hit http://in.archive.ubuntu.com trusty/main i386
Packages
Hit http://in.archive.ubuntu.com trusty/restricted i386
Packages
Hit http://in.archive.ubuntu.com trusty/universe i386
Packages
Hit http://in.archive.ubuntu.com trusty/multiverse i386
Packages
Hit http://in.archive.ubuntu.com trusty/main
Translation-en
Hit http://in.archive.ubuntu.com trusty/multiverse
Translation-en
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty/universe Translation-en
Get:7 http://in.archive.ubuntu.com trusty-security/main Sources [43.2 kB]
Get:8 http://in.archive.ubuntu.com trusty-security/restricted Sources [14
B]
Get:9 http://in.archive.ubuntu.com trusty-security/universe Sources [10.8
kB]
Get:10 http://in.archive.ubuntu.com trusty-security/multiverse Sources [699
B]
Get:11 http://in.archive.ubuntu.com trusty-security/main i386 Packages [132
kB]
Get:12 http://in.archive.ubuntu.com trusty-security/restricted i386
Packages [14 B]
Get:13 http://in.archive.ubuntu.com trusty-security/universe i386 Packages
[47.2 kB]
Get:14 http://in.archive.ubuntu.com trusty-security/multiverse i386
Packages [1,398 B]
Get:15 http://in.archive.ubuntu.com trusty-security/main Translation-en
[66.3 kB]
Get:16 http://in.archive.ubuntu.com trusty-security/multiverse
Translation-en [587 B]
Get:17 http://in.archive.ubuntu.com trusty-security/restricted
Translation-en [14 B]
Get:18 http://in.archive.ubuntu.com trusty-security/universe Translation-en
[27.0 kB]
Get:19 http://in.archive.ubuntu.com trusty-updates/main Sources [115
kB]
Get:20 http://in.archive.ubuntu.com trusty-updates/restricted Sources
[1,408 B]
Get:21 http://in.archive.ubuntu.com trusty-updates/universe Sources [81.5
kB]
Get:22 http://in.archive.ubuntu.com trusty-updates/multiverse Sources
[3,230 B]
Get:23 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [302
kB]
Get:24 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [302
kB]
Get:25 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [302
kB]
Get:26 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [302
kB]
Get:27 http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
[5,820 B]
Get:28 http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
[197 kB]
Get:29 http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
[8,437 B]
Get:30 http://in.archive.ubuntu.com trusty-updates/main Translation-en [137
kB]
Hit http://in.archive.ubuntu.com trusty-updates/multiverse
Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted
Translation-en
Get:31 http://in.archive.ubuntu.com trusty-updates/universe Translation-en
[97.6 kB]
Ign http://in.archive.ubuntu.com trusty/main
Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Fetched 1,219 kB in 16min 27s (1,235 B/s)
Reading package lists... Done
zaisha@zaisha-Presario-C700-Notebook-PC:~$

Thanking you in advance hoping the problem is solved
Dr Habeeb Mohamed

On Wed, Sep 3, 2014 at 12:03 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You have already made steps in the right direction. The problem is that
> there line breaks in the sources.list file where they should not be.
>
> Please try again:
>
> open a terminal and issue the command
>
> sudo gedit /etc/apt/sources.list
>
> and replace all contents by the following lines.
>
> It is important that you do not copy these lines from your e-mail
> system, but from the last message block in the web page
>
> https://answers.launchpad.net/ubuntu/+question/253938
>
> ------- START OF TEXT TO COPY ---------
>
> #############################################################
> ################### OFFICIAL UBUNTU REPOS ###################
> #############################################################
>
> ###### Ubuntu Main Repos
> deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe
> multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
> universe multiverse
>
> ###### Ubuntu Update Repos
> deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted
> universe multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-security main
> restricted universe multiverse
> deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
> universe multiverse
> deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
> restricted universe multiverse
>
> ###### Ubuntu Partner Repo
> deb http://archive.canonical.com/ubuntu trusty partner
> deb-src http://archive.canonical.com/ubuntu trusty partner
>
> ###### Ubuntu Extras Repo
> deb http://extras.ubuntu.com/ubuntu trusty main
> deb-src http://extras.ubuntu.com/ubuntu trusty main
>
> ------- END OF TEXT TO COPY ---------
> (don't include the "start" and "end" lines!).
>
> Save the file and close the editor, and then re-issue the terminal
> commands
>
> cat -n /etc/apt/sources.list
> sudo apt-get update
>
> and copy/paste all output into this question document as done before.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/253938/+confirm?answer_id=15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Ok, the results look fine so far.

You should be able to use update-manager for updating your installation.

Just to verify whether the package management system really works well now, please provide the output of the following terminal commands:

dpkg --configure -a
sudo apt-get dist-upgrade

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

Sorry, I lost a part of one of the commands in the previous message. Please provide the output of

sudo dpkg --configure -a
sudo apt-get dist-upgrade

Revision history for this message
Habeeb Mohamed (habimohamed) said :
#20

Dear Sir,
I think the problem has been solved
I could update the system without any problem
i had given the commands that you have suggested and got the following
output

zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo dpkg --configure -a
[sudo] password for zaisha:
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo dpkg --configure -a
zaisha@zaisha-Presario-C700-Notebook-PC:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
  linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
zaisha@zaisha-Presario-C700-Notebook-PC:~$

I hope everything is OK
Thank you very much for your help
Dr Habeeb Mohamed

On Fri, Sep 5, 2014 at 12:08 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #253938 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> Manfred Hampl requested more information:
> Sorry, I lost a part of one of the commands in the previous message.
> Please provide the output of
>
> sudo dpkg --configure -a
> sudo apt-get dist-upgrade
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/253938
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#21

sudo apt-get --purge autoremove

Will clear up the packages.

Can you help with this problem?

Provide an answer of your own, or ask Habeeb Mohamed for more information if necessary.

To post a message you must log in.