package libcupt-perl tags 535514 fixed-upstream thanks Steve Cotton wrote: > Package: libcupt-perl > Version: 0.2.3 > Severity: minor > > Hi Eugene, Hi Steve,
> > I have debtorrent version "svn412+svg4" installed. While this > version number is invalid (hence "minor" severity), I'm probably > not the only admin to have such a locally-created package. Apt > and Aptitude work with it, I think any Apt replacement needs to > be able to too. Generally, Debian Policy is not allow such versions string... libapt and company just don't perform a number of sanity checks. > In Cupt this is handled gracefully but fatally, at > /usr/share/perl5/Cupt/System/State.pm line 122. > > st...@tsunami:~$ cupt show cupt > E: bad version 'svn412+svg4' > E: error parsing system status file '/var/lib/dpkg/status' > E: error while creating package cache > > > (Treating it as a fatal error is currently correct to guard the > rest of the code. Changing the "mydie" to a "mywarn" causes cupt > to crash for many actions, as later use of the > version_string_regex fails). > Indeed. Well, this case is fortunate because this particular rule (starting with a number) can be avoided without technical drawbacks, and I've just committed a workaround for it (if you can, please verify it, I haven't bad versions installed to test on). -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Maintainer
signature.asc
Description: OpenPGP digital signature