[pacman-dev] pacman test-o-rama

Dan McGee dpmcgee at gmail.com
Wed Mar 21 09:32:56 EDT 2007


On 3/21/07, Andi Clemens <andi.clemens at gmx.net> wrote:
> On Wednesday 21 March 2007 12:10:03 Roman Kyrylych wrote:
> > 2007/3/21, Andi Clemens <andi.clemens at gmx.net>:
> > > > It happened to me before, but it was due to corrupted db by pacman2 or
> > > > one of early pacman3 versions.
> > > >
> > > > Can you reproduce it after this?:
> > > > rm -rf /var/pacman/lib/{current,extra}
> > > > pacman -Sy
> > >
> > > I guess you mean /var/lib/pacman/.... ?
> > >
> > > Is it safe to delete all directories within that dir?
> > > I will make a copy and try it out...
> >
> > Yes, /var/lib/pacman.
> > No, it's not safe do delete _all_ directories there. DO NOT delete
> > /var/lib/pacman/local !!!
>
> Ok, still the same issue:
>
> [root at laptop pacman]# pacman -S twisted
> resolving dependencies... done.
> looking for inter-conflicts... done.
>
> Targets: pycrypto-2.0.1-2  zope-interface-3.3.0-2  twisted-2.5.0-2
>
> Total Package Size:   13.70 MB
>
> Proceed with installation? [Y/n]
> checking package integrity... done.
> cleaning up... done.
> (3/3) checking for file conflicts
> [###########################################################################################]
> 100%
> (1/3) installing pycrypto
> [###########################################################################################]
> 100%
> (2/3) installing zope-interface
> [###########################################################################################]
> 100%
> (3/3) installing twisted
> [###########################################################################################]
> 100%
>
> ---------------------------------------------------------------------------
>
> [root at laptop pacman]# pacman -Rscn twisted
> checking dependencies... done.
>
> Targets: twisted  zope-interface  pycrypto
>
> Do you want to remove these packages? [Y/n]
>
> (1/3) removing twisted
> [###########################################################################################]
> 100%
>
>
>
> It's not working, I can only reinstall all these packages and then remove them
> one by one:
>
> pacman -R twisted
> pacman -R zope-interface
> pacman -R pycrypto

I think this was fixed in CVS? Can you confirm, Aaron? But according
to the logs, this was fixed in RC2. (lib/libalpm/deps.c)

* Fixed an error with 'cascade' removal due to creation of a new pmpkg_t struct
  (and thus not copying pertinent data w.r.t. reading package files)

And guys, when you tell us a bug- PLEASE tell us what version you are
using as best you can. RC1, RC2, CVS compiled on this date,etc.

-Dan




More information about the pacman-dev mailing list