Unable to download repository information

Asked by Rich.b

New PC PC Spec:-
ATX case with 500Watt PSU
Gigabyte Socket 1150 Micro ATX Motherboard - GA-H81M-S2H
Intel Pentium G3220 3.0GHz - BX80646G3220
8GB DDR3 1600MHz DIMM - PC3-12800
128GB SATA-III Solid State Drive - Kingston V300
500GB HDD Seagate Barracuda SATA3 - ST500DM002
Internal SATA Multi-format DVD Writer – SH2-244DB
Multi Card Reader – CR005V4
Windows 7 Professional – 64 Bit

Running Ubuntu 15.10 64bit OS

Failed to download repository information.

Check your internet connection.

Details:-

W:Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)/dists/wily/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)/dists/wily/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)/dists/wily/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)/dists/wily/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Please could anyone help me with problem

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Open a terminal and issue the command

sudo gedit /etc/apt/sources.list

This will ask for your password as conformation for an administrative action and will then open an edit with your sources.list configuration file loaded.

If the first line(s) start with

deb cdrom:[Ubuntu ... Wily ...

you have to put a '#' sign in front of these line(s) to make it

# deb cdrom:[Ubuntu ... Wily ...

Save the file, close the editor and issue the command

sudo apt-get update

Do you still see warnings or errors?

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

You can do the same in Software Centre. You have the install media marked as a source of packages.

Revision history for this message
Rich.b (aybi30) said :
#3

richard@richard-H81M-S2H:~$ sudo gedit /etc/apt/sources.list
[sudo] password for richard:

(gedit:3545): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
richard@richard-H81M-S2H:~$
.
I did get the above error in terminal, but was able to do as you said. All seems OK.

Revision history for this message
Rich.b (aybi30) said :
#4

You can do the same in Software Centre. You have the install media marked as a source of packages.

Didn't follow this, please could you explain more.

Richard

Revision history for this message
Rich.b (aybi30) said :
#5

Thank you Manfred and Andrew for help.

Richard

Revision history for this message
Rich.b (aybi30) said :
#6

There is not update option as there was with Ubuntu 12.04 at the window (top right hand corner) where I would normally shut down.

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

What is the output of:

cat -n /etc/apt/sources.list

Thanks

Revision history for this message
Rich.b (aybi30) said :
#8

richard@richard-H81M-S2H:~$ cat -n /etc/apt/sources.list
     1 #deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu wily main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu wily main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu wily-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu wily-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu wily universe
    17 deb-src http://archive.ubuntu.com/ubuntu wily universe
    18 deb http://archive.ubuntu.com/ubuntu wily-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu wily-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://archive.ubuntu.com/ubuntu wily multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu wily multiverse
    28 deb http://archive.ubuntu.com/ubuntu wily-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu wily-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://archive.ubuntu.com/ubuntu wily-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu wily-backports main restricted universe multiverse
    38
    39 deb http://archive.ubuntu.com/ubuntu wily-security main restricted
    40 deb-src http://archive.ubuntu.com/ubuntu wily-security main restricted
    41 deb http://archive.ubuntu.com/ubuntu wily-security universe
    42 deb-src http://archive.ubuntu.com/ubuntu wily-security universe
    43 deb http://archive.ubuntu.com/ubuntu wily-security multiverse
    44 deb-src http://archive.ubuntu.com/ubuntu wily-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 # deb http://archive.canonical.com/ubuntu wily partner
    51 # deb-src http://archive.canonical.com/ubuntu wily partner
richard@richard-H81M-S2H:~$

Revision history for this message
Rich.b (aybi30) said :
#9

I am now download updates which all looks OK.

Installing update as I write this.

Richard

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

Cools. Please mark as solved.

Revision history for this message
Rich.b (aybi30) said :
#11

Andrew please could give more information:-

You can do the same in Software Centre. You have the install media marked as a source of packages.

Didn't follow this, please could you explain more.

Richard

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

There is the option to do what you did in the text file in software centre because people like pretty GUI stuff when often the fix is a simple file edit.

If you flick around in software centre you will find the option but you don't need it as you have resolved the issue

Revision history for this message
Rich.b (aybi30) said :
#13

Thanks actionparsnip, that solved my question.