upgrade lucid to precise has missing candidates

Bug #943638 reported by stop
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Upgrading lucid to precies has the following missing candidates:
No candidate ver: libbind9-50
No candidate ver: libdns53
No candidate ver: libisc50
No candidate ver: libisccc50
No candidate ver: libisccfg50
No candidate ver: libiw29
No candidate ver: liblwres50
No candidate ver: libntfs-3g54
No candidate ver: libossp-uuid15
No candidate ver: libparted1.8-12
No candidate ver: libtalloc1

This was output during do-release-upgrade -d, while testing

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager (not installed)
ProcVersionSignature: Ubuntu 2.6.32-38.83-server 2.6.32.52+drm33.21
Uname: Linux 2.6.32-38-server x86_64
Architecture: amd64
Date: Wed Feb 29 23:25:36 2012
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager

Revision history for this message
stop (whoopwhoop) wrote :
Revision history for this message
RedSingularity (redsingularity) wrote :

Sorry for the delay. Can you confirm whether this is still a problem? It may have been a temporary issue with the mirror. Thanks.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in update-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
stop (whoopwhoop) wrote :

I just tested this on a clone of the server and it is still an issue:
Calculating the changes
  Installing libcurl3 as Depends of curl
No candidate ver: libbind9-50
No candidate ver: libdns53
No candidate ver: libisc50
No candidate ver: libisccc50
No candidate ver: libisccfg50
No candidate ver: libiw29
No candidate ver: liblwres50
No candidate ver: libntfs-3g54
No candidate ver: libossp-uuid15
No candidate ver: libparted1.8-12
No candidate ver: libtalloc1

Do you want to start the upgrade?

3 installed packages are no longer supported by Canonical. You can
still get support from the community.

8 packages are going to be removed. 189 new packages are going to be
installed. 572 packages are going to be upgraded.

You have to download a total of 319 M. This download will take about
4 minutes with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 Continue [yN] Details [d]

Changed in update-manager (Ubuntu):
status: Incomplete → New
Revision history for this message
RedSingularity (redsingularity) wrote :

What is the output of:

apt-cache policy libdns53
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

Do you want this output before upgrade or after (failed) upgrade?
This is after:
libdns53:
  Installed: (none)
  Candidate: (none)
  Version table:
     1:9.6.1.dfsg.P1-3ubuntu0.3 0
        100 /var/lib/dpkg/status
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages)

Revision history for this message
RedSingularity (redsingularity) wrote :

Can you install the package with 'apt-get'?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

Again this is was run from the machine with a failed update:
apt-get install libdns53
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libdns53 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libdns53 has no installation candidate

Revision history for this message
RedSingularity (redsingularity) wrote :

I am interested in what an update will look like. Are there any errors in an apt-get update?

If you want, you can run the command then copy and paste the output to a file, and attach that file here. I do see that duplicate error. We may have to clear that up to fix the issue.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :
Download full text (3.3 KiB)

I did not manually edit source.lst at any time b.t.w.

apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en_US
Get:1 http://archive.ubuntu.com precise Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ precise/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en_US
Hit http://security.ubuntu.com precise-security Release
Ign http://archive.ubuntu.com/ubuntu/ precise/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en_US
Hit http://archive.ubuntu.com precise-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en_US
Get:2 http://archive.ubuntu.com precise Release [49.6kB]
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main Packages
Get:3 http://archive.ubuntu.com precise/main Packages [1,295kB]
Hit http://security.ubuntu.com precise-security/restricted Packages
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Get:4 http://archive.ubuntu.com precise/restricted Packages [8,431B]
Get:5 http://archive.ubuntu.com precise/main Sources [930kB]
Get:6 http://archive.ubuntu.com precise/restricted Sources [5,065B]
Get:7 http://archive.ubuntu.com precise/universe Packages [4,815kB]
Get:8 http://archive.ubuntu.com precise/universe Sources [5,050kB]
Get:9 http://archive.ubuntu.com precise/multiverse Packages [122kB]
Get:10 http://archive.ubuntu.com precise/multiverse Sources [158kB]
Hit http://archive.ubuntu.com precise-updates/main Packages
Hit http://archive.ubuntu.com precise-updates/restricted Packages
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Packages
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Packages
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Fetched 12.4MB in 9s (1,315kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main Packages...

Read more...

Revision history for this message
RedSingularity (redsingularity) wrote :

Run this and then do another update:

sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :
Download full text (4.0 KiB)

sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages
sudo apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en_US
Hit http://security.ubuntu.com precise-security Release
Get:1 http://archive.ubuntu.com precise Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ precise/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en_US
Hit http://archive.ubuntu.com precise-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en_US
Get:2 http://archive.ubuntu.com precise Release [49.6kB]
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main Packages
Hit http://security.ubuntu.com precise-security/restricted Packages
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Packages
Get:3 http://archive.ubuntu.com precise/main Packages [1,291kB]
Hit http://security.ubuntu.com precise-security/multiverse Sources
Get:4 http://archive.ubuntu.com precise/restricted Packages [8,431B]
Get:5 http://archive.ubuntu.com precise/main Sources [930kB]
Get:6 http://archive.ubuntu.com precise/restricted Sources [5,065B]
Get:7 http://archive.ubuntu.com precise/universe Packages [4,807kB]
Get:8 http://archive.ubuntu.com precise/universe Sources [5,051kB]
Get:9 http://archive.ubuntu.com precise/multiverse Packages [122kB]
Get:10 http://archive.ubuntu.com precise/multiverse Sources [158kB]
Get:11 http://archive.ubuntu.com precise-updates/main Packages [14B]
Hit http://archive.ubuntu.com precise-updates/restricted Packages
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-u...

Read more...

Revision history for this message
RedSingularity (redsingularity) wrote :

Lets have a look at your sources.list file.

/etc/apt/sources.list
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release amd64 (20091027.2)]/ karmic main restricted

# deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release amd64 (20091027.2)]/ karmic 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/ precise main restricted
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ precise-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/ precise universe
deb-src http://archive.ubuntu.com/ubuntu/ precise universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://nl.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://nl.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

Revision history for this message
RedSingularity (redsingularity) wrote :

Comment out these 2 lines so it looks like this:

##deb http://archive.ubuntu.com/ubuntu/ precise main restricted
##deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted

They are near the top of the file.

Then run a 'sudo apt-get update' again.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

 cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release amd64 (20091027.2)]/ karmic main restricted

# deb cdrom:[Ubuntu-Server 9.10 _Karmic Koala_ - Release amd64 (20091027.2)]/ karmic 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/ precise main restricted
##deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ precise-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/ precise universe
deb-src http://archive.ubuntu.com/ubuntu/ precise universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://nl.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://nl.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

Revision history for this message
stop (whoopwhoop) wrote :

 apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en_US
Hit http://archive.ubuntu.com precise-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en_US
Hit http://security.ubuntu.com precise-security Release
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en_US
Get:1 http://archive.ubuntu.com precise Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ precise/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en_US
Hit http://archive.ubuntu.com precise-updates Release
Get:2 http://archive.ubuntu.com precise Release [49.6kB]
Hit http://security.ubuntu.com precise-security/main Packages
Hit http://security.ubuntu.com precise-security/restricted Packages
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Packages
Hit http://archive.ubuntu.com precise-updates/main Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://archive.ubuntu.com precise-updates/restricted Packages
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Packages
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Packages
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Get:3 http://archive.ubuntu.com precise/universe Packages [4,812kB]
Get:4 http://archive.ubuntu.com precise/universe Sources [5,052kB]
Get:5 http://archive.ubuntu.com precise/multiverse Packages [122kB]
Get:6 http://archive.ubuntu.com precise/multiverse Sources [158kB]
Fetched 10.2MB in 7s (1,367kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems

Revision history for this message
RedSingularity (redsingularity) wrote :

Sorry, I misread those lines and confused them with 'precise-updates main'. Uncomment them and save the file again. I actually don't see the duplicate in that source file. Attach the directory:

/etc/apt/sources.list.d
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

ls /etc/apt/sources.list.d
prerequists-sources.list prerequists-sources.list.distUpgrade

 cat /etc/apt/sources.list.d/prerequists-sources.list
# sources.list fragment for pre-requists (mirror from sources.list + fallback)
# this is safe to remove after the upgrade

# when this changes from -proposed to -updates, ensure to update
# DistUpgradeController.py:1393 as well
deb http://archive.ubuntu.com/ubuntu/ precise-updates main

cat /etc/apt/sources.list.d/prerequists-sources.list.distUpgrade
# sources.list fragment for pre-requists (mirror from sources.list + fallback)
# this is safe to remove after the upgrade

# when this changes from -proposed to -updates, ensure to update
# DistUpgradeController.py:1393 as well
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main

Revision history for this message
RedSingularity (redsingularity) wrote :

I do see a duplicate in that file.

You can remove the whole thing.

1) sudo rm /etc/apt/sources.list.d/prerequists-sources.list

2) sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages

3) sudo apt-get update
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :
Download full text (3.2 KiB)

apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en_US
Hit http://security.ubuntu.com precise-security Release
Get:1 http://archive.ubuntu.com precise Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ precise/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en_US
Hit http://archive.ubuntu.com precise-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en_US
Get:2 http://archive.ubuntu.com precise Release [49.6kB]
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main Packages
Get:3 http://archive.ubuntu.com precise/main Packages [1,291kB]
Hit http://security.ubuntu.com precise-security/restricted Packages
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Packages
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Get:4 http://archive.ubuntu.com precise/restricted Packages [8,431B]
Get:5 http://archive.ubuntu.com precise/main Sources [930kB]
Get:6 http://archive.ubuntu.com precise/restricted Sources [5,065B]
Get:7 http://archive.ubuntu.com precise/universe Packages [4,812kB]
Get:8 http://archive.ubuntu.com precise/universe Sources [5,052kB]
Get:9 http://archive.ubuntu.com precise/multiverse Packages [122kB]
Get:10 http://archive.ubuntu.com precise/multiverse Sources [158kB]
Get:11 http://archive.ubuntu.com precise-updates/main Packages [14B]
Hit http://archive.ubuntu.com precise-updates/restricted Packages
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Packages
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Packages
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Fetched 12.4MB in 10s (1,215kB/s) ...

Read more...

Revision history for this message
RedSingularity (redsingularity) wrote :

Now what does a 'sudo apt-get dust-upgrade' do?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
RedSingularity (redsingularity) wrote :

Sorry, 'sudo apt-get dist-upgrade' not dust :)
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  odbcinst: Depends: odbcinst1debian2 (>= 2.2.14p2) but it is not installed
  perl: Depends: perl-base (= 5.14.2-6ubuntu1) but 5.10.1-8ubuntu2.1 is installed
  slapd: Depends: libldap-2.4-2 (= 2.4.21-0ubuntu5.7) but 2.4.28-1.1ubuntu3 is installed
  unixodbc: Depends: odbcinst1debian2 (>= 2.2.11-3) but it is not installed
            Depends: libodbc1 (>= 2.2.14p2-3) but it is not installed
E: Unmet dependencies. Try using -f.

Maybe this is caused by the do-release-upgrade failing (a.k.a. we are testing on a broken system)? I could retest this from the begining (as I am using an image of the actual server) if you tell me what alterations I need to do before the do-release-upgrade -d.

Revision history for this message
RedSingularity (redsingularity) wrote :

Well now, if you like, we can clear out the old logs and try a do-release-upgrade again. If it fails you can attach the new logs. I just wanted to get rid of the 'No candidate ver:' errors and they look like they are gone.

If you want to clear out the old logs run:

sudo rm -r /var/log/dist-upgrade/*
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

The release-upgrade does not go well. Isn't it better to try to do a release upgrade from the image before any update to precise? I have the idea that it got borked as I let the upgrade continue with these missing candidates.

                                                                                                          dpkg: dependency problems prevent configuration of libswitch-perl:
 libswitch-perl depends on perl; however:
  Package perl is not configured yet.
dpkg: error processing libswitch-perl (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of perl-modules:
 perl-modules depends on perl (>= 5.14.2-1); however:
  Package perl is not configured yet.
 perl-modules depends on libswitch-perl; however:
  Package libswitch-perl is not configured yet.
dpkg: error processing perl-modules (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of odbcinst:
 odbcinst depends on odbcinst1debian2 (>= 2.2.14p2); however:
  Package odbcinst1debian2 is not installed.
dpkg: error processing odbcinst (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of unixodbc:
 unixodbc depends on odbcinst1debian2 (>= 2.2.11-3); however:
  Package odbcinst1debian2 is not installed.
 unixodbc depends on libodbc1 (>= 2.2.14p2-3); however:
  Package libodbc1 is not installed.
dpkg: error processing unixodbc (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of update-inetd:
 update-inetd depends on libfile-temp-perl; however:
  Package libfile-temp-perl is not installed.
  Package perl-modules which provides libfile-temp-perl is not configured yet.
dpkg: error processing update-inetd (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              ^[[A^[[A^[[A^[[A^[[A^[[AErrors were encountered while processing:
 libapt-pkg4.12
 libapt-inst1.4
 perl
 libswitch-perl
 perl-modules
 odbcinst
 unixodbc
 update-inetd
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
raceback (most recent call last):
  File "/tmp/tmpxrXqCT/precise", line 3, in <module>
    from DistUpgradeMain import main
  File "/tmp/tmpxrXqCT/DistUpgradeMain.py", line 25, in <module>
    import apt
  File "/usr/lib/release-upgrader-python-apt/apt/__init__.py", line 21, in <module>
    import apt_pkg
ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12)

Revision history for this message
RedSingularity (redsingularity) wrote :

Sure, try a fresh one and see if it works.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

Hhmm, I run into trouble... I start with a clean 10.04 server. when I run do-release-upgrade -d I get the missing candidate warnings so I cancel... I then run the commands you provided:

sudo rm /etc/apt/sources.list.d/prerequists-sources.list
sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages

I then run do-release-upgrade -d again but I still get the missing candidates warnings...

Revision history for this message
stop (whoopwhoop) wrote :

Maybe I forgot something or need to do something different?

Revision history for this message
RedSingularity (redsingularity) wrote :

Well you should not get those errors with a fresh install. Is it a "fresh" install or an image from an already installed system?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

I have a server running and when I installed it years ago I also installed an virtualbox image with the same packages... I test updates on this image before updating the actual server...
Recently I was testing a do-release-upgrade on this image and I got these warnings...
I did not install any packages that where not part of the repository

Revision history for this message
RedSingularity (redsingularity) wrote :

Interesting. I am going to try this on my testbed machine and see if I can reproduce it.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

Let me know if you need any more information...

Revision history for this message
RedSingularity (redsingularity) wrote :

Oh yeah, just attach the logs from the most recent upgrade attempt. Thanks. (The one you did after clearing the old logs)
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
RedSingularity (redsingularity) wrote :

Well it seems to be a local error. I have just finished installing a fresh 10.04 and updated to 12.04 without issue. I would suggest opening a thread in the 'Answers' part of launchpad, askubuntu.com, or the ubuntu forums. They may be able to assist in a more timely manner fixing your problem.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

I wouldn't expect the problem to pop up on a freshpa's 10.04 without any additional packages installed. But all the packages on my system are from the repository. No ppa's, deb's or custom compiled software was used...

Revision history for this message
RedSingularity (redsingularity) wrote :

What I find odd it that your getting a duplicate error in the sources file. That should definitely not be the case with a fresh install. Had you release upgraded that machine in the past?

Also attach the most recent logs. (/var/log/dist-upgrade) Looking at your older ones, I didnt see an error in regards to upgrading. I understand you were getting that candidate message but it was not throwing up any error messages in the logs.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :
Revision history for this message
RedSingularity (redsingularity) wrote :

What does the following give you for output?

sudo apt-get install perl
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

apt-get install perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libapt-pkg4.12: Depends: libstdc++6 (>= 4.6) but 4.4.3-4ubuntu5 is to be installed
  odbcinst: Depends: odbcinst1debian2 (>= 2.2.14p2) but it is not going to be installed
  perl: Depends: perl-base (= 5.14.2-6ubuntu1) but 5.10.1-8ubuntu2.1 is to be installed
  slapd: Depends: libldap-2.4-2 (= 2.4.21-0ubuntu5.7) but 2.4.28-1.1ubuntu3 is to be installed
  unixodbc: Depends: odbcinst1debian2 (>= 2.2.11-3) but it is not going to be installed
            Depends: libodbc1 (>= 2.2.14p2-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Revision history for this message
RedSingularity (redsingularity) wrote :

'perl: Depends: perl-base (= 5.14.2-6ubuntu1) but 5.10.1-8ubuntu2.1 is to be installed'

What is the output of: apt-cache policy perl-base
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

apt-cache policy perl-base
perl-base:
  Installed: 5.10.1-8ubuntu2.1
  Candidate: 5.14.2-6ubuntu1
  Version table:
     5.14.2-6ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main Packages
 *** 5.10.1-8ubuntu2.1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
RedSingularity (redsingularity) wrote :

You are running lucid but have precise sources for some reason....

Can you install perl-base by any chance?

How about using the 'sudo apt-get -f install' command to correct all dependencies?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :
Download full text (8.2 KiB)

"You are running lucid but have precise sources for some reason...."
Possibly/probably because the do-release-upgrade -d fails and does not complete... I think this is caused by an ldap upgrade failure:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/943664
 I'm not sure what the relation is with this issue and the missing candidates issue

apt-get install perl-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libapache2-mod-perl2: Depends: perlapi-5.10.1
  libapparmor-perl: Depends: perlapi-5.10.1
  libapt-pkg4.12: Depends: libstdc++6 (>= 4.6) but 4.4.3-4ubuntu5 is to be installed
  libbsd-resource-perl: Depends: perlapi-5.10.1
  libclone-perl: Depends: perlapi-5.10.1
  libcompress-bzip2-perl: Depends: perlapi-5.10.0
  libcrypt-rijndael-perl: Depends: perlapi-5.10.0
  libcrypt-ssleay-perl: Depends: perlapi-5.10.0
  libdatetime-perl: Depends: perlapi-5.10.0
  libdbd-pg-perl: Depends: perlapi-5.10.1
  libdbi-perl: Depends: perlapi-5.10.1
  libdigest-md4-perl: Depends: perlapi-5.10.0
  libdigest-sha1-perl: Depends: perlapi-5.10.1
  libfcgi-perl: Depends: perlapi-5.10.1
  libfilesys-df-perl: Depends: perlapi-5.10.0
  libgd-gd2-perl: Depends: perlapi-5.10.1
  libglib-perl: Depends: perlapi-5.10.0
  libgnome2-gconf-perl: Depends: perlapi-5.10.0
  libhtml-parser-perl: Depends: perlapi-5.10.0
  libio-interface-perl: Depends: perlapi-5.10.0
  libipc-sharelite-perl: Depends: perlapi-5.10.1
  libjson-xs-perl: Depends: perlapi-5.10.1
  liblist-moreutils-perl: Depends: perlapi-5.10.0
  liblocale-gettext-perl: PreDepends: perlapi-5.10.0
  libnet-arp-perl: Depends: perlapi-5.10.0
  libnet-libidn-perl: Depends: perlapi-5.10.0
  libnet-pcap-perl: Depends: perlapi-5.10.0
  libnet-ssleay-perl: Depends: perlapi-5.10.0
  libossp-uuid-perl: Depends: perlapi-5.10.1
  libparams-validate-perl: Depends: perlapi-5.10.0
  libperl5.10: Depends: perl-base (= 5.10.1-8ubuntu2.1) but 5.14.2-6ubuntu1 is to be installed
  libproc-processtable-perl: Depends: perlapi-5.10.0
  libquota-perl: Depends: perlapi-5.10.1
  libreadonly-xs-perl: Depends: perlapi-5.10.0
  librrds-perl: Depends: perlapi-5.10.1
  libsub-name-perl: Depends: perlapi-5.10.1
  libsys-cpu-perl: Depends: perlapi-5.10.0
  libsys-cpuload-perl: Depends: perlapi-5.10.0
  libterm-readkey-perl: Depends: perlapi-5.10.1
  libtext-charwidth-perl: Depends: perlapi-5.10.0
  libtext-iconv-perl: Depends: perlapi-5.10.0
  libunicode-map-perl: Depends: perlapi-5.10.0
  libunicode-map8-perl: Depends: perlapi-5.10.1
  libunicode-string-perl: Depends: perlapi-5.10.1
  libxml-libxml-perl: Depends: perlapi-5.10.0
  libxml-parser-perl: Depends: perlapi-5.10.1
  odbcinst: Depends: odbcinst1debian2 (>= 2.2.14p2) but it is not going to be installed
  slapd: Depends: libldap-2.4-2 (= 2.4.21-0ubuntu5.7) but 2.4.28-1.1ubuntu3 is to be installed
  unixodbc: Depends: odbcinst1debian2 (>= 2.2.11-3) but it is not going to be installed
            Depends: libodbc1 (>= 2.2.14p2-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packa...

Read more...

Revision history for this message
RedSingularity (redsingularity) wrote :

Well you are correct. It looks like sldap is the reason for your problem proceeding.

Errors were encountered while processing:
 /var/cache/apt/archives/slapd_2.4.28-1.1ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I would suggest filing a bug against that package. This report is rather large now so it would not be the best for me to change packages at this point.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
stop (whoopwhoop) wrote :

You mean the one I allready did (https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/943664) or a new one?

Revision history for this message
RedSingularity (redsingularity) wrote :

Oh ok, the one you filed is good. Not sure who works on that package though. If it goes stale over time and no one touches it, pop into #ubuntu-bugs in IRC and just ask someone to have a look. You may want to do that now, i see the last comment was in February.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
dino99 (9d9) wrote :

This version is no more supported

Changed in update-manager (Ubuntu):
status: New → Invalid
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.