[Bug 573598] Re: do-release-upgrade fails on large LTS (Hardy->Lucid) upgrades
Bug Watch Updater
573598 at bugs.launchpad.net
Thu Dec 15 20:50:50 UTC 2011
** Changed in: update-manager
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/573598
Title:
do-release-upgrade fails on large LTS (Hardy->Lucid) upgrades
Status in Update Manager:
Fix Released
Status in “update-manager” package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/update-manager/+bug/573598/+subscriptions
More information about the foundations-bugs
mailing list