nfs mirror not handled correctly?

Bug #1576933 reported by Seth Arnold
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The do-release-upgrade -d from trusty to xenial looked funny on my laptop with a local mirror mounted over nfs:

Reading state information... Done
Building data structures... Done

Updating repository information

No valid mirror found

While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'trusty' to 'xenial' entries.
If you select 'No' the upgrade will cancel.

Continue [yN] y
Get:1 file: xenial InRelease [247 kB]
Get:2 file: xenial-updates InRelease [93.3 kB]
Get:3 file: xenial-security InRelease [92.2 kB]
Get:4 http://security.ubuntu.com xenial-security InRelease [92.2 kB]
Get:5 http://security.ubuntu.com xenial-security/main Sources [5,220 B]
Get:6 http://security.ubuntu.com xenial-security/restricted Sources [64 B]
Get:7 http://security.ubuntu.com xenial-security/universe Sources [920 B]
Get:8 http://security.ubuntu.com xenial-security/multiverse Sources [64 B]
Get:9 http://security.ubuntu.com xenial-security/main amd64 Packages [26.0 kB]
Get:10 http://security.ubuntu.com xenial-security/restricted amd64 Packages [64 B]
Get:11 http://security.ubuntu.com xenial-security/universe amd64 Packages [3,932 B]
Get:12 http://security.ubuntu.com xenial-security/multiverse amd64 Packages [64 B]
Get:13 http://security.ubuntu.com xenial-security/main i386 Packages [26.0 kB]
Get:14 http://security.ubuntu.com xenial-security/restricted i386 Packages [64 B]
Get:15 http://security.ubuntu.com xenial-security/universe i386 Packages [3,920 B]
Get:16 http://security.ubuntu.com xenial-security/multiverse i386 Packages [64 B]
Get:17 http://security.ubuntu.com xenial-security/main Translation-en [8,448 B]
Get:18 http://security.ubuntu.com xenial-security/multiverse Translation-en [64 B]
Get:19 http://security.ubuntu.com xenial-security/restricted Translation-en [64 B]
Get:20 http://security.ubuntu.com xenial-security/universe Translation-en [2,328 B]
Fetched 170 kB in 0s (0 B/s)
Unknown Multi-Arch type 'no' for package 'compiz-core'
Unknown Multi-Arch type 'no' for package 'compiz-gnome'
Unknown Multi-Arch type 'no' for package 'libxapian-dev'
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
Unknown Multi-Arch type 'no' for package 'kwin'
Unknown Multi-Arch type 'no' for package 'kwin-dev'
Unknown Multi-Arch type 'no' for package 'kwin-wayland'
Unknown Multi-Arch type 'no' for package 'kwin-x11'
Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
Ignoring Provides line with DepCompareOp for package php-seclib
Ignoring Provides line with DepCompareOp for package php-sabre-http
Ignoring Provides line with DepCompareOp for package php-math-biginteger
Ignoring Provides line with DepCompareOp for package pypy-cffi
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
Unknown Multi-Arch type 'no' for package 'compiz-core'
Unknown Multi-Arch type 'no' for package 'compiz-gnome'
Unknown Multi-Arch type 'no' for package 'libxapian-dev'
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
Unknown Multi-Arch type 'no' for package 'kwin-dev'
Unknown Multi-Arch type 'no' for package 'kwin-wayland'
Unknown Multi-Arch type 'no' for package 'kwin-x11'
Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
Ignoring Provides line with DepCompareOp for package pypy-cffi
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
You may want to run apt-get update to correct these problems

I'm surprised about the "no mirror information" mention. Here's what it looks like while the tool is waiting patiently for me to return:

$ head /etc/apt/sources.list
deb file:/mnt/ubuntu/ xenial main restricted universe multiverse
deb file:/mnt/ubuntu/ xenial-updates main restricted universe multiverse
deb file:/mnt/ubuntu/ xenial-security main restricted universe multiverse
deb-src file:/mnt/ubuntu/ xenial main restricted universe multiverse
deb-src file:/mnt/ubuntu/ xenial-updates main restricted universe multiverse
deb-src file:/mnt/ubuntu/ xenial-security main restricted universe multiverse

$ ls -l /mnt/ubuntu/dists/xenial/
total 65177
drwxr-xr-x 3 998 998 3 Apr 14 14:16 by-hash
-rw-rw-r-- 1 998 998 33251183 Apr 20 23:04 Contents-amd64.gz
-rw-rw-r-- 1 998 998 33251130 Apr 20 23:54 Contents-i386.gz
-rw-r--r-- 1 998 998 246846 Apr 21 16:24 InRelease
drwxr-xr-x 12 998 998 12 Feb 3 07:04 main
drwxr-xr-x 8 998 998 8 Feb 3 07:04 multiverse
-rw-r--r-- 1 998 998 245864 Apr 21 16:24 Release
-rw-r--r-- 1 998 998 933 Apr 21 16:24 Release.gpg
drwxr-xr-x 8 998 998 8 Feb 3 07:04 restricted
drwxr-xr-x 8 998 998 8 Feb 3 07:04 universe

(The sources.list previously said 'trusty', since it is running trusty.. but the information to see that xenial is there, and alive, is surely visible.)

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.8
ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32
Uname: Linux 3.13.0-77-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Fri Apr 29 23:39:56 2016
InstallationDate: Installed on 2012-10-18 (1290 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2016-04-30 (0 days ago)

Revision history for this message
Seth Arnold (seth-arnold) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

(Is it usual for e.g. trusty machines to already have xenial lines in their apt sources? Is that what this language is expecting?)

Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
tags: added: trusty2xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.