After update from 14.04 to 16.04 software sources are being ignored at update/upgrade

Asked by Willem Hobers

I upgraded from 14.04 to 16.04. when I now run update-manager all software sources are ignored.

If I try apt-get update/upgrade I get:

W: The repository 'http://archive.canonical.com/ubuntu True Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://nl.archive.ubuntu.com/ubuntu True Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://nl.archive.ubuntu.com/ubuntu True-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://nl.archive.ubuntu.com/ubuntu True-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://security.ubuntu.com/ubuntu True-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/True/partner/source/Sources 404 Not Found [IP: 91.189.92.191 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/True/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.191 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/main/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/restricted/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/universe/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/multiverse/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/main/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True/restricted/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/main/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/restricted/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/universe/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/multiverse/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/main/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-updates/restricted/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/main/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/restricted/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/universe/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/multiverse/source/Sources 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/main/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/True-backports/restricted/binary-i386/Packages 404 Not Found [IP: 213.136.12.213 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/main/source/Sources 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/restricted/source/Sources 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/universe/source/Sources 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/multiverse/source/Sources 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/True-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.88.152 80]
E: Ophalen van sommige indexbestanden is mislukt. Deze zijn of genegeerd, of er zijn oudere versies van gebruikt.

What am I doing wrong?

Question information

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

I assume that your sources.list configuration file has wrong contents.

Please provide the output of the commands

uname -a
lsb_release -crid
cat -n /etc/apt/sources.list

Revision history for this message
Willem Hobers (whobers) said :
#2

manfred, thanks.

Here's the output:

willem@willem-EL1352:~$ uname -a
Linux willem-EL1352 4.4.0-4-generic #19-Ubuntu SMP Fri Feb 5 17:38:10 UTC 2016 i686 athlon i686 GNU/Linux

willem@willem-EL1352:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Codename: xenial

willem@willem-EL1352:~$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Xubuntu 16.04 LTS _Xenial Xerus_ - Alpha i386 (20160211)]/ xenial main multiverse restricted universe
     2 # deb cdrom:[Xubuntu 14.04.3 LTS _Trusty Tahr_ - Beta i386 (20150805)]/ trusty main multiverse restricted universe
     3
     4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     5 # newer versions of the distribution.
     6 deb http://nl.archive.ubuntu.com/ubuntu/ True main restricted
     7 deb-src http://nl.archive.ubuntu.com/ubuntu/ True main restricted
     8
     9 ## Major bug fix updates produced after the final release of the
    10 ## distribution.
    11 deb http://nl.archive.ubuntu.com/ubuntu/ True-updates main restricted
    12 deb-src http://nl.archive.ubuntu.com/ubuntu/ True-updates main restricted
    13
    14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15 ## team. Also, please note that software in universe WILL NOT receive any
    16 ## review or updates from the Ubuntu security team.
    17 deb http://nl.archive.ubuntu.com/ubuntu/ True universe
    18 deb-src http://nl.archive.ubuntu.com/ubuntu/ True universe
    19 deb http://nl.archive.ubuntu.com/ubuntu/ True-updates universe
    20 deb-src http://nl.archive.ubuntu.com/ubuntu/ True-updates universe
    21
    22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    23 ## team, and may not be under a free licence. Please satisfy yourself as to
    24 ## your rights to use the software. Also, please note that software in
    25 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    26 ## security team.
    27 deb http://nl.archive.ubuntu.com/ubuntu/ True multiverse
    28 deb-src http://nl.archive.ubuntu.com/ubuntu/ True multiverse
    29 deb http://nl.archive.ubuntu.com/ubuntu/ True-updates multiverse
    30 deb-src http://nl.archive.ubuntu.com/ubuntu/ True-updates multiverse
    31
    32 ## N.B. software from this repository may not have been tested as
    33 ## extensively as that contained in the main release, although it includes
    34 ## newer versions of some applications which may provide useful features.
    35 ## Also, please note that software in backports WILL NOT receive any review
    36 ## or updates from the Ubuntu security team.
    37 deb http://nl.archive.ubuntu.com/ubuntu/ True-backports main restricted universe multiverse
    38 deb-src http://nl.archive.ubuntu.com/ubuntu/ True-backports main restricted universe multiverse
    39
    40 deb http://security.ubuntu.com/ubuntu True-security main restricted
    41 deb-src http://security.ubuntu.com/ubuntu True-security main restricted
    42 deb http://security.ubuntu.com/ubuntu True-security universe
    43 deb-src http://security.ubuntu.com/ubuntu True-security universe
    44 deb http://security.ubuntu.com/ubuntu True-security multiverse
    45 deb-src http://security.ubuntu.com/ubuntu True-security multiverse
    46
    47 ## Uncomment the following two lines to add software from Canonical's
    48 ## 'partner' repository.
    49 ## This software is not part of Ubuntu, but is offered by Canonical and the
    50 ## respective vendors as a service to Ubuntu users.
    51 deb http://archive.canonical.com/ubuntu True partner
    52 deb-src http://archive.canonical.com/ubuntu True partner
    53
    54
    55 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    56 # newer versions of the distribution.
    57 deb http://nl.archive.ubuntu.com/ubuntu/ xenial main restricted
    58 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial main restricted
    59
    60 ## Major bug fix updates produced after the final release of the
    61 ## distribution.
    62 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    63 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    64
    65 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    66 ## team, and may not be under a free licence. Please satisfy yourself as to
    67 ## your rights to use the software. Also, please note that software in
    68 ## universe WILL NOT receive any review or updates from the Ubuntu security
    69 ## team.
    70 deb http://nl.archive.ubuntu.com/ubuntu/ xenial universe
    71 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial universe
    72 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-updates universe
    73 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-updates universe
    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 deb http://nl.archive.ubuntu.com/ubuntu/ xenial multiverse
    81 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial multiverse
    82 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    83 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    84
    85 ## N.B. software from this repository may not have been tested as
    86 ## extensively as that contained in the main release, although it includes
    87 ## newer versions of some applications which may provide useful features.
    88 ## Also, please note that software in backports WILL NOT receive any review
    89 ## or updates from the Ubuntu security team.
    90 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    91 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    92
    93 ## Uncomment the following two lines to add software from Canonical's
    94 ## 'partner' repository.
    95 ## This software is not part of Ubuntu, but is offered by Canonical and the
    96 ## respective vendors as a service to Ubuntu users.
    97 # deb http://archive.canonical.com/ubuntu xenial partner
    98 # deb-src http://archive.canonical.com/ubuntu xenial partner
    99
   100 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-security main restricted
   101 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-security main restricted
   102 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-security universe
   103 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-security universe
   104 deb http://nl.archive.ubuntu.com/ubuntu/ xenial-security multiverse
   105 deb-src http://nl.archive.ubuntu.com/ubuntu/ xenial-security multiverse

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

What the hell is "True"

did you upgrade to Xenial by editing sources.list by hand by any chance?

Revision history for this message
Willem Hobers (whobers) said :
#4

No, I did not.
I upgraded by using a usb-stick.

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

Change the word:
True

To:
xenial

Save the new file, close gedit and run:

sudo apt-get update

Is it now smooth?

Revision history for this message
Willem Hobers (whobers) said :
#6

Thank!

I did as you suggested.

It was not smooth after that: the update did find the repos (is that the
right word?) this time, but complained that a lof of the entries were
appearing more than once.

In sources.list I commented-out the ones that were double.
Then the update was smooth.

Thanks!

Op 11-02-16 om 18:07 schreef actionparsnip:
> Your question #285072 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/285072
>
> actionparsnip requested more information:
> Change the word:
> True
>
> To:
> xenial
>
> Save the new file, close gedit and run:
>
> sudo apt-get update
>
> Is it now smooth?
>

Revision history for this message
Willem Hobers (whobers) said :
#7

I have no idea how the "True" was inserted in the sources.list.
Should I nevertheless mark this issue as solved?

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

If the output of:

sudo apt-get update

Is smooth, then yes. Otherwise please paste the output and we can analyse.

Revision history for this message
Willem Hobers (whobers) said :
#9

Thanks. The update now Is smooth.

Revision history for this message
Willem Hobers (whobers) said :
#10

Thanks. The update now Is smooth.

Revision history for this message
chmick (chmick) said :
#11

Hi all

For information :

I installed from an iso into a virtual computer the new 16.04 :

here is a copy of my sources.list :
[size=9]

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Alpha amd64 (20160205)]/ xenial main restricted
deb http://archive.ubuntu.com/ubuntu/ True main restricted
deb http://security.ubuntu.com/ubuntu/ True-security main restricted
deb http://archive.ubuntu.com/ubuntu/ True-updates main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted

## 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://archive.ubuntu.com/ubuntu xenial universe
deb-src http://archive.ubuntu.com/ubuntu xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
deb-src http://archive.ubuntu.com/ubuntu xenial-updates universe

## 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
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu xenial multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates multiverse

## 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://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
deb-src http://archive.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security multiverse
[/size]

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

There is still a wrong release code "True" in the first three lines. These lines should be deleted.

Revision history for this message
Aman Verma (amansinghverma) said :
#13

Hi all. Here's the copy of my sources.list :

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe

## 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
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu xenial multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## 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-src http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

Like it is mentioned in previous comment's. I don't have true instead of xenial on my list. Still I'm getting the error.
Thnk you

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

@Aman Verma:
Please do not piggyback on somebody else's question, but create a new question of your own.
There is no possibility to follow-up the status of your problem in a question document that has already been marked as "solved".

Revision history for this message
Chowdhury Masum (saydulk) said :
#15

deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

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

@Chowdhury Masum:
The same:
Please do not piggyback on somebody else's question, but create a new question document of your own.
There is no possibility to follow-up the status of your problem in a question document that has already been marked as "solved".