upgrade from kubuntu 13.10 to Kubunu 14.10 doesn't work"

Asked by Emilie

W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.153 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.153 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.153 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.88.153 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.91.14 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubuntu-release-upgrader Edit question
Assignee:
No assignee Edit question
Solved by:
Emilie
Solved:
Last query:
Last reply:
Revision history for this message
Brian Murray (brian-murray) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

Revision history for this message
michael (yellupcm-gmail) said :
#2

Please check this site.

https://wiki.ubuntu.com/Releases

Did you upgrade to Kubuntu 14.04 Trusty Tahr or Kubuntu Utopic Unicorn 14.10? 14.10 is in your question, 14.04 is in the results you posted. The procedure to go from 13.10 to 14.04 or 13.10 to 14.10 is very different. Please explain how you upgraded.

Revision history for this message
Emilie (emieguy) said :
#3

Hi thanks for your reply.
I just used the upgrader tool, as I am seeing notifications. It tries to update to Kubuntu 14.04.
Should I try 14.10 instead ?

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

There seem to be wrong repository servers in your sources.list configuration files.

The "normal" repository servers countrycode.archive.ubuntu.com have only packages for i386 and amd64 architecture.
If your system is based on the armhf architecture, you have to use the ports.ubuntu.com repository server.

What is the output of the following terminal commands:

uname -a
lsb_release -a
dpkg --print-architecture
dpkg --print-foreign-architectures
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

And in any case, you cannot leapfrog releases in an upgrade, so you have to go from 13.10 to 14.04 and cannot directly go to 14.10.

Revision history for this message
Emilie (emieguy) said :
#5

The results of the commands is the following:

-------------------------------------------------------------------------
guy@chewbacca:/opt/google/chrome$ uname -a
Linux chewbacca 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
guy@chewbacca:/opt/google/chrome$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
guy@chewbacca:/opt/google/chrome$ dpkg --print-architecture
amd64
guy@chewbacca:/opt/google/chrome$ dpkg --print-foreign-architectures
i386
armhf
guy@chewbacca:/opt/google/chrome$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/kazam-team-stable-series-saucy.list

     1 deb http://ppa.launchpad.net/kazam-team/stable-series/ubuntu saucy main
     2 # deb-src http://ppa.launchpad.net/kazam-team/stable-series/ubuntu saucy main

/etc/apt/sources.list.d/cuda.list

     1 deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1304/x86_64 /

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list

     1 # deb cdrom:[Kubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main multiverse restricted universe
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted
     6 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    11 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy universe
    17 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy universe
    18 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates universe
    19 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy multiverse
    27 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy multiverse
    28 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
    29 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    37 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu saucy-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
    41 deb http://security.ubuntu.com/ubuntu saucy-security universe
    42 deb-src http://security.ubuntu.com/ubuntu saucy-security universe
    43 deb http://security.ubuntu.com/ubuntu saucy-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu saucy-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 saucy partner
    51 # deb-src http://archive.canonical.com/ubuntu saucy partner
    52
    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 saucy main
    56 deb-src http://extras.ubuntu.com/ubuntu saucy main

/etc/apt/sources_copy_20_nov_201.list

     1 # deb cdrom:[Kubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main multiverse restricted universe
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted
     6 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    11 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy universe
    17 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy universe
    18 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates universe
    19 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy multiverse
    27 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy multiverse
    28 deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
    29 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-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://fr.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    37 deb-src http://fr.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu saucy-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
    41 deb http://security.ubuntu.com/ubuntu saucy-security universe
    42 deb-src http://security.ubuntu.com/ubuntu saucy-security universe
    43 deb http://security.ubuntu.com/ubuntu saucy-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu saucy-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 saucy partner
    51 # deb-src http://archive.canonical.com/ubuntu saucy partner
    52
    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 saucy main
    56 deb-src http://extras.ubuntu.com/ubuntu saucy main
---------------------------------------------------------------------------------------------------

Do I have to change the repository server because of the foreign architecture ? if yes how ?

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

According to the output of "uname -a", you are running a kernel for "x86_64" also known as "amd64" architecture, that is the 64 bit version for Intel and AMD CPUs.
Due to the fact that some packages are only provided in a 32 bit variant, such system needs "i386" as foreign architecture.
You package management system, however, has also "armhf" as foreign architecture. Is there a specific reason for this? In my humble opinion this is nonsense, because I am not aware of any CPU that would be capable of using the i386/amd64 and the armhf instruction set at the same time.

I assume that the solution for you must be to remove the definition of armhf as foreign architecture with the command
sudo dpkg --remove-architecture armhf

Then the upgrade to 14.04 should work without problems.

Revision history for this message
Emilie (emieguy) said :
#7

Thanks a lot. I follow your advice and remove armhf.
The upgrade worked perfectly.

Thanks !