Bug#559340: Can't call method installed_size when calling “cupt purge”
Package: cupt Version: 1.3.1 Severity: important Hi, after a failed “stop” call when removing binfmt-support, I tried to call “cupt purge binfmt-support” to see whether the removal worked, or whether I'd have to tweak the *rm scripts, and I then got: | k...@kbsd:~$ sudo cupt purge binfmt-support | Building the package cache... [done] | Initializing package resolver and worker... [done] | Scheduling requested actions... [done] | Resolving possible unmet dependencies... Can't call method installed_size on an undefined value at /usr/share/perl5/Cupt/System/Worker.pm line 385, $fh line 12873. | at /usr/share/perl5/Cupt/System/Worker.pm line 385 | Cupt::System::Worker::get_unpacked_sizes_preview('Cupt::System::Worker=ARRAY(0x8b83338)', 'HASH(0x878)') called at /usr/bin/cupt line 1101 | main::__ANON__('HASH(0x8bf9f80)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 820 | Cupt::System::Resolvers::Native::_propose_solution('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'Cupt::System::Resolvers::Native::Solution=ARRAY(0x9ef7e40)', 'CODE(0x8a8a1f0)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 1165 | Cupt::System::Resolvers::Native::_resolve('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'CODE(0x8a8a1f0)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 1251 | Cupt::System::Resolvers::Native::resolve('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'CODE(0x8a8a1f0)') called at /usr/bin/cupt line 1679 | main::manage_packages('purge') called at /usr/bin/cupt line 126 | main::__ANON__() called at /usr/bin/cupt line 143 | eval {...} called at /usr/bin/cupt line 142 | main::main() called at /usr/bin/cupt line 157 | at /usr/share/perl5/Cupt/Core.pm line 110 | Cupt::Core::mycatch() called at /usr/bin/cupt line 145 | main::main() called at /usr/bin/cupt line 157 Package status: | k...@kbsd:~$ dpkg --status binfmt-support|grep ^Status | Status: deinstall ok config-files (I guess it doesn't mean anything, but that's (again) on my kfreebsd-i386 porter box.) I can try any patch from a git branch anytime. Mraw, KiBi. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#559340: Can't call method installed_size when calling “cupt purge”
package cupt libcupt-perl reassign 559340 libcupt-perl tags 559340 + confirmed pending thanks Cyril Brulebois wrote: Package: cupt Version: 1.3.1 Severity: important Hi, after a failed “stop” call when removing binfmt-support, I tried to call “cupt purge binfmt-support” to see whether the removal worked, or whether I'd have to tweak the *rm scripts, and I then got: | k...@kbsd:~$ sudo cupt purge binfmt-support | Building the package cache... [done] | Initializing package resolver and worker... [done] | Scheduling requested actions... [done] | Resolving possible unmet dependencies... Can't call method installed_size on an undefined value at /usr/share/perl5/Cupt/System/Worker.pm line 385, $fh line 12873. | at /usr/share/perl5/Cupt/System/Worker.pm line 385 | Cupt::System::Worker::get_unpacked_sizes_preview('Cupt::System::Worker=ARRAY(0x8b83338)', 'HASH(0x878)') called at /usr/bin/cupt line 1101 | main::__ANON__('HASH(0x8bf9f80)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 820 | Cupt::System::Resolvers::Native::_propose_solution('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'Cupt::System::Resolvers::Native::Solution=ARRAY(0x9ef7e40)', 'CODE(0x8a8a1f0)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 1165 | Cupt::System::Resolvers::Native::_resolve('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'CODE(0x8a8a1f0)') called at /usr/share/perl5/Cupt/System/Resolvers/Native.pm line 1251 | Cupt::System::Resolvers::Native::resolve('Cupt::System::Resolvers::Native=ARRAY(0x8845ba0)', 'CODE(0x8a8a1f0)') called at /usr/bin/cupt line 1679 | main::manage_packages('purge') called at /usr/bin/cupt line 126 | main::__ANON__() called at /usr/bin/cupt line 143 | eval {...} called at /usr/bin/cupt line 142 | main::main() called at /usr/bin/cupt line 157 | at /usr/share/perl5/Cupt/Core.pm line 110 | Cupt::Core::mycatch() called at /usr/bin/cupt line 145 | main::main() called at /usr/bin/cupt line 157 Package status: | k...@kbsd:~$ dpkg --status binfmt-support|grep ^Status | Status: deinstall ok config-files Confirmed, another silly one. Should be fixed in master branch now. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer signature.asc Description: OpenPGP digital signature
Bug#559340: Can't call method installed_size when calling “cupt purge”
Eugene V. Lyubimkin jackyf.de...@gmail.com (03/12/2009): Confirmed, another silly one. Should be fixed in master branch now. Yes, that's fixed, thanks. :) Mraw, KiBi. signature.asc Description: Digital signature