Package broken w3c-markup-validator

Asked by Warren Hill

Since upgrading from 10.04 to 11.04.

Package manager reports one broken package w3c-markup-validator

I have followed the package manager Trouble shooting procedure a full dump of the terminal output follows:

warren@warren-desktop:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for warren:
Sorry, try again.
[sudo] password for warren:
warren@warren-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
warren@warren-desktop:~$ uname -a
Linux warren-desktop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
warren@warren-desktop:~$ sudo rm /var/lib/apt/lists/lock
warren@warren-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

warren@warren-desktop:~$
warren@warren-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
warren@warren-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
warren@warren-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
warren@warren-desktop:~$ sudo rm -rf /var/lib/apt/lists
warren@warren-desktop:~$ sudo rm /var/cache/apt/*.bin
warren@warren-desktop:~$ sudo mkdir /var/lib/apt/lists
warren@warren-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
warren@warren-desktop:~$ LANG=C;sudo apt-get clean
warren@warren-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
warren@warren-desktop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
warren@warren-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Get:1 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:2 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Get:4 http://archive.ubuntu.com natty Release [39.8 kB]
Get:5 http://archive.ubuntu.com natty-updates Release [27.2 kB]
Get:6 http://archive.ubuntu.com natty-security Release [27.2 kB]
Get:7 http://archive.ubuntu.com natty/main Sources [862 kB]
Get:8 http://archive.ubuntu.com natty/restricted Sources [4104 B]
Get:9 http://archive.ubuntu.com natty/universe Sources [4380 kB]
Ign http://extras.ubuntu.com natty InRelease
Get:10 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:11 http://extras.ubuntu.com natty Release [9753 B]
Get:12 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Get:13 http://archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:14 http://archive.ubuntu.com natty/main i386 Packages [1550 kB]
Get:15 http://archive.ubuntu.com natty/restricted i386 Packages [8986 B]
Get:16 http://archive.ubuntu.com natty/universe i386 Packages [6021 kB]
Get:17 http://archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Get:18 http://archive.ubuntu.com natty-updates/main Sources [89.1 kB]
Get:19 http://archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:20 http://archive.ubuntu.com natty-updates/universe Sources [16.2 kB]
Get:21 http://archive.ubuntu.com natty-updates/multiverse Sources [1891 B]
Get:22 http://archive.ubuntu.com natty-updates/main i386 Packages [261 kB]
Get:23 http://archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
Get:24 http://archive.ubuntu.com natty-updates/universe i386 Packages [65.0 kB]
Get:25 http://archive.ubuntu.com natty-updates/multiverse i386 Packages [4270 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:26 http://archive.ubuntu.com natty-security/main Sources [57.2 kB]
Get:27 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:28 http://archive.ubuntu.com natty-security/universe Sources [6102 B]
Get:29 http://archive.ubuntu.com natty-security/multiverse Sources [649 B]
Get:30 http://archive.ubuntu.com natty-security/main i386 Packages [146 kB]
Get:31 http://archive.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:32 http://archive.ubuntu.com natty-security/universe i386 Packages [20.7 kB]
Get:33 http://archive.ubuntu.com natty-security/multiverse i386 Packages [2065 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 13.9 MB in 29s (467 kB/s)
Reading package lists... Done
warren@warren-desktop:~$ sudo dpkg --clear-avail
warren@warren-desktop:~$ sudo dpkg --configure -a
warren@warren-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
warren@warren-desktop:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
warren@warren-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://archive.ubuntu.com natty-security Release.gpg
Hit http://extras.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty Release
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/universe Sources
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Ign http://extras.ubuntu.com natty/main Translation-en
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://archive.ubuntu.com natty-security/main Sources
Hit http://archive.ubuntu.com natty-security/restricted Sources
Hit http://archive.ubuntu.com natty-security/universe Sources
Hit http://archive.ubuntu.com natty-security/multiverse Sources
Hit http://archive.ubuntu.com natty-security/main i386 Packages
Hit http://archive.ubuntu.com natty-security/restricted i386 Packages
Hit http://archive.ubuntu.com natty-security/universe i386 Packages
Hit http://archive.ubuntu.com natty-security/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  w3c-markup-validator
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
warren@warren-desktop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu w3c-markup-validator Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Pascal Fares (pfares) said :
#1

Make this try

apt-get purge w3c-markup-validator
then
apt-get install w3c-markup-validator

did you tried apt-get upgrade (not dist-upgrade)

Revision history for this message
Warren Hill (warren-hill) said :
#2

apt-get purge w3c-markup-validator

appeared to successfully remove the package however when I tried to re-install I get the following.

warren@warren-desktop:~$ sudo apt-get install w3c-markup-validator
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 w3c-markup-validator : Depends: w3c-sgml-lib but it is not installable
E: Broken packages
warren@warren-desktop:~$

running apt-get upgrade I get

warren@warren-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I can live with this but I would like to use the markup validator if possible

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

This appears to be due to a bug in w3c-markup-validator (which I have just reported as bug 803127). It looks like that package depends on the package w3c-sgml-lib, which does not exist in Natty. Please reply with the output of

apt-get -s install w3c-sgml-lib

to verify that the condition you're experiencing is the same as the condition I am experiencing.

Revision history for this message
Warren Hill (warren-hill) said :
#4

I think we have the same problem. Output is as follows.

warren@warren-desktop:~$ sudo apt-get -s install w3c-sgml-lib.
[sudo] password for warren:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package w3c-sgml-lib 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 'w3c-sgml-lib' has no installation candidate
warren@warren-desktop:~$

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#5

In bug 803127, I have suggested a workaround for this problem, to use until the bug is fixed.

Revision history for this message
Warren Hill (warren-hill) said :
#6

Thanks Eliah,
Successfully installed w3c-sgml-lib from Oneiric followed by by w3c-markup-validator from natty. No problems with install a bit of playing with the apache and validator configuration files.

Can now confirm that no only is it installed but working.

Thanks very much

Revision history for this message
Warren Hill (warren-hill) said :
#7

Thanks Eliah Kagan, that solved my question.