misc/cloc - can't update with partmaster/pkgng

Anton Shterenlikht mexas at bristol.ac.uk
Tue May 15 10:38:52 UTC 2012


On Tue, May 15, 2012 at 06:29:08PM +0800, Martin Wilke wrote:
> On May 15, 2012, at 18:24, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
> 
> > I get:
> > 
> > 
> > Script started on Tue May 15 11:20:19 2012
> > portmaster cloc
> > ]0;portmaster: cloc-1.56
> > ===>>> Currently installed version: cloc-1.56
> > ===>>> Port directory: /usr/ports/misc/cloc
> > 
> > ===>>> Gathering distinfo list for installed ports
> > 
> > ===>>> Launching 'make checksum' for misc/cloc in background
> > ===>>> Gathering dependency list for misc/cloc from ports
> > ===>>> Initial dependency check complete for misc/cloc
> > ]0;portmaster: cloc-1.56
> > ===>>> Starting build for misc/cloc <<<===
> > 
> > ===>>> All dependencies are up to date
> > 
> > ===>  Cleaning for cloc-1.56
> > 
> > ===>  License check disabled, port has not defined LICENSE
> > ===>   cloc-1.56 depends on file: /usr/local/sbin/pkg - found
> > ===>  Extracting for cloc-1.56
> > => SHA256 Checksum OK for cloc-1.56.pl.
> > ===>  Patching for cloc-1.56
> > ===>  Configuring for cloc-1.56
> > 
> > ===>>> Creating a backup package for old version cloc-1.56
> > Creating package for cloc-1.56
> > pkg: sqlite: database is locked
> > ===>  Installing for cloc-1.56
> > ===>   Generating temporary packing list
> > ===>  Checking if misc/cloc already installed
> > ===>   cloc-1.56 is already installed
> >      You may wish to ``make deinstall'' and install this port again
> >      by ``make reinstall'' to upgrade it properly.
> >      If you really wish to overwrite the old port of misc/cloc
> >      without deleting it first, set the variable "FORCE_PKG_REGISTER"
> >      in your environment or the "make install" command line.
> > *** Error code 1
> > 
> > Stop in /usr/ports/misc/cloc.
> > 
> > ===>>> A backup package for cloc-1.56 should
> >       be located in /usr/ports/packages/portmaster-backup
> > 
> > ===>>> Installation of cloc-1.56 (misc/cloc) failed
> > ===>>> Aborting update
> > 
> > Terminated
> > 
> > ===>>> You can restart from the point of failure with this command line:
> >       portmaster <flags> misc/cloc 
> > 
> > 
> > Script done on Tue May 15 11:20:34 2012
> > 
> > I can do a manual deinstall/reinstall,
> > but I wonder why portmaster/pkgng will
> > not do it.
> > 
> Sounds for me a bug in portmaster? U use the pkgng portmaster patch as well?

sure

Since I started using pkgng, this
is the first problem port.
 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-ports mailing list