Hi Martin,

This kind of error happens quite often. Upgrading works if you manually
remove the erroneous symlink. Given that, would removing all the
symlinks in a prerm script be a totally crazy idea?

for lang in $( ls /usr/share/help ); do
    test "$lang" = 'C' && continue
    test -d "/usr/share/help/$lang" || continue
    help_dir="/usr/share/help/$lang"/ubuntu-help
    for link in $( ls "$help_dir" ); do
        test -h "$help_dir/$link" || continue
        rm "$help_dir/$link"
    done
    for link in $( ls "$help_dir/figures" ); do
        test -h "$help_dir/figures/$link" || continue
        rm "$help_dir/figures/$link"
    done
done

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1364642

Title:
  package ubuntu-docs 12.04.6 failed to install/upgrade: symbolic link
  '/usr/share/help/ja/ubuntu-help/music-player-notrecognized.page' size
  has changed from 69 to 4

Status in “ubuntu-docs” package in Ubuntu:
  New

Bug description:
  I cannot install  all updates.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-docs 12.04.6
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic i686
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: i386
  Date: Tue Sep  2 23:39:46 2014
  DuplicateSignature: package:ubuntu-docs:12.04.6:symbolic link 
'/usr/share/help/ja/ubuntu-help/music-player-notrecognized.page' size has 
changed from 69 to 4
  ErrorMessage: symbolic link 
'/usr/share/help/ja/ubuntu-help/music-player-notrecognized.page' size has 
changed from 69 to 4
  InstallationDate: Installed on 2013-12-27 (248 days ago)
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 
(20130213)
  PackageArchitecture: all
  SourcePackage: ubuntu-docs
  Title: package ubuntu-docs 12.04.6 failed to install/upgrade: symbolic link 
'/usr/share/help/ja/ubuntu-help/music-player-notrecognized.page' size has 
changed from 69 to 4
  UpgradeStatus: Upgraded to trusty on 2014-08-12 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1364642/+subscriptions

-- 
Mailing list: https://launchpad.net/~documentation-packages
Post to     : documentation-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~documentation-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to