On Mon, Sep 07, 2009 at 11:10:29PM +0300, Eugene V. Lyubimkin wrote:
> Pierre Habouzit wrote:
> > Package: cupt
> > Version: 0.6.3
> > Severity: grave
> > Justification: renders package unusable
> > 
> > namely:
> > 
> > $ sudo cupt install mktemp
> > Name "Cupt::Cache::Package::o_binary_architecture" used only once: possible 
> > typo at /usr/bin/cupt line 66.
> > E: bad config in file '/etc/apt/apt.conf.d/90debsums'
> > W: skipped configuration file '/etc/apt/apt.conf.d/90debsums'
> > W: attempt to set wrong option 'apt::get::show-upgraded'
> > W: attempt to set wrong option 'apt::get::automaticremove'
> > W: attempt to set wrong option 'apt::get::purge'
> > Building the package cache... E: bad version '2.2.4-47978_Debian_lenny'
> > E: error parsing system status file '/var/lib/dpkg/status'
> > E: error while creating package cache
> > 
> > FWIW the 2.2.4-47978_Debian_lenny comes from:
> Hi Pierre.
> 
> Firstly, 2.2.4-47978_Debian_lenny fails to comply with Debian Policy, however
> Cupt support underscores in version revisions since 0.6.0. Given also with
> very strange message about o_binary_architecture - didn't you run 'sudo cupt
> ...' from a directory with old Cupt sources?

No I didn't have any Cupt checkout.

wrt the version with underscores, I know it's a policy violation, sadly
there are packages out there, and dpkg/apt the reference implementations
work with it fine, so you sadly have to support them ;)

FWIW it still doesn't work in 0.6.4 here:

    $ sudo cupt version
    Name "Cupt::Cache::Package::o_binary_architecture" used only once:
    possible typo at /usr/bin/cupt line 66.
    W: attempt to set wrong option 'apt::get::show-upgraded'
    W: attempt to set wrong option 'apt::get::automaticremove'
    W: attempt to set wrong option 'apt::get::purge'
    E: bad version '2.2.4-47978_Debian_lenny'
    E: error parsing system status file '/var/lib/dpkg/status'
    E: error while creating package cache
    $ which cupt
    /usr/bin/cupt
    $ dpkg-query -W cupt
    cupt 0.6.4


Once I purge virtualbox, this works again:

    $ sudo cupt version
    Name "Cupt::Cache::Package::o_binary_architecture" used only once: possible 
typo at /usr/bin/cupt line 66.
    W: attempt to set wrong option 'apt::get::show-upgraded'
    W: attempt to set wrong option 'apt::get::automaticremove'
    W: attempt to set wrong option 'apt::get::purge'
    cupt: 0.6.4
    libcupt-perl: 0.6.4


-- 
·O·  Pierre Habouzit
··O                                                madco...@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature

Reply via email to