Public bug reported:

Binary package hint: update-manager-core

Please work around or fix a bug in libdpkg-ruby/hardy
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552125 which lets do-
release-upgrade fails on Hardy->Lucid upgrades when the package regular
expression list is too big (>3000 Packages separated with a '|').

I got something very similar to this (or the same):
/usr/lib/ruby/1.8/debian.rb:905:in `initialize': regular expression too big: 
(a long list of packages, separated with "|", then)


(RegexpError)
        from /usr/lib/ruby/1.8/debian.rb:905:in `new'
        from /usr/lib/ruby/1.8/debian.rb:905:in `initialize'
        from /usr/sbin/apt-listbugs:995:in `new'
        from /usr/sbin/apt-listbugs:995:in `create'
        from /usr/sbin/apt-listbugs:1375
E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code 
(10)
E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
A package failed to install.  Trying to recover:

I disabled temporarily apt-list-bugs:
sudo sed -i -e 's/DPkg\:/\/\/DPkg\:/g'  /etc/apt/apt.conf.d/10apt-listbugs
and repeated do-release-upgrade -d -m desktop

~$ apt-cache policy update-manager-core
update-manager-core:
  Installed: 1:0.87.31
  Candidate: 1:0.134.7
  Version table:
     1:0.134.7 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
 *** 1:0.87.31 0
        100 /var/lib/dpkg/status

~$ apt-cache policy libdpkg-ruby1.8
libdpkg-ruby1.8:
  Installed: 0.3.2
  Candidate: 0.3.6
  Version table:
     0.3.6 0
        500 http://de.archive.ubuntu.com lucid/universe Packages
 *** 0.3.2 0
        100 /var/lib/dpkg/status

~$ apt-cache policy apt-listbugs
apt-listbugs:
  Installed: 0.0.84
  Candidate: 0.0.84
  Version table:
 *** 0.0.84 0
        100 /var/lib/dpkg/status

** Affects: update-manager-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
do-release-upgrade fails on large LTS (Hardy->Lucid) upgrades
https://bugs.launchpad.net/bugs/573598
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to