Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just tried an usual update+upgrade today on my beagleboard and it fails as below:

cprov@beagle-one:/var/lib/dpkg$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  udev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/292 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 15481 files and directories currently installed.)
Preparing to replace udev 175-0ubuntu9.1 (using .../udev_175-0ubuntu9.2_armhf.deb) ...
dpkg-divert: error: parsing file '/var/lib/dpkg/status' near line 24 package 'tcpd':
 Configured-Version for package with inappropriate Status
dpkg-divert: error: parsing file '/var/lib/dpkg/status' near line 24 package 'tcpd':
 Configured-Version for package with inappropriate Status
dpkg: error processing /var/cache/apt/archives/udev_175-0ubuntu9.2_armhf.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
dpkg-divert: error: parsing file '/var/lib/dpkg/status' near line 24 package 'tcpd':
 Configured-Version for package with inappropriate Status
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/udev_175-0ubuntu9.2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It looks like the dpkg status file contains an invalid status for udev (all the other files upgraded went through via apt-get -f install). Here is the relevant part of the udev stanza:

Package: udev
Status: install reinstreq half-installed
Multi-Arch: foreign
Priority: important
Section: admin
Installed-Size: 839
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: armhf
Version: 175-0ubuntu9.1
Config-Version: 175-0ubuntu9.1

Mangling the Status to 'install ok installed' did not work.

Has anyone experienced the same problem ? Any other suggestion for fixing this problem ?

Thanks in advance.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.