You are not logged in.

#1 2006-05-02 20:41:15

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

[solved] perl modules update?

I did a system update this morning, and pacman wants to update a bunch of perl modules I have installed.  When I proceeded with the upgrade, a series of errors occurred because the files already exist in the file system (see below for exace error message.

In investigating this further, it seems that these packages haven't been updated at all.  For example, perlxml-2.34-3 is a target.  According to http://archlinux.org/packages.php?id=4302 this package hasen't been updated since april 29. 2004.  I changed my mirrors and got the same error.  Any ideas what's up?

pmorris@arch:/etc/pacman.d $ sudo pacman -Syu
:: Synchronizing package databases... 
 current                  [################] 100%      66K   353.1K/s  00:00:00
 extra                    [################] 100%     248K   510.2K/s  00:00:00
 community                [################] 100%      74K   374.0K/s  00:00:00

Targets: perlxml-2.34-3 perl-uri-1.35-1 perl-html-tagset-3.10-1
         perl-html-parser-3.50-1 perl-libwww-5.805-1 perl-mime-lite-3.01-1
         perl-crypt-ssleay-0.51-1 perl-net-ssleay-1.25-1
         perl-io-socket-ssl-0.97-1 perl-soap-lite-0.67-1

Total Package Size:   1.3 MB

Proceed with upgrade? [Y/n] 

checking package integrity... done.
loading package data... done.
checking for file conflicts... 
error: the following file conflicts were found:
  perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm: exists in filesystem

And this continues for what appears to be seven of the perl modules.

Offline

#2 2006-05-02 20:54:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [solved] perl modules update?

What's the output of:

pacman -Qo /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm

Offline

#3 2006-05-02 21:02:06

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: [solved] perl modules update?

pmorris@arch:~ $ pacman -Qo /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm
No package owns /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm

I have several perl modules I installed directly via CPAN, this could be one of them.  If that is the case, then why would pacman want to upgrade it?  It shouldn't even know it is installed.

Offline

#4 2006-05-02 21:32:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [solved] perl modules update?

pmo6022 wrote:
pmorris@arch:~ $ pacman -Qo /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm
No package owns /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm

I have several perl modules I installed directly via CPAN, this could be one of them.  If that is the case, then why would pacman want to upgrade it?  It shouldn't even know it is installed.

They are probably dependencies for packages you have installed. You can force the install with the -f option:

sudo pacman -Syuf

Offline

#5 2006-05-03 01:10:55

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: [solved] perl modules update?

Snowman wrote:

They are probably dependencies for packages you have installed.

How could I have installed a package that has these perl modules as depencencies without pacman knowing the modules were installed?  I looked back through my /var/log/pacman.log  In the last few days the only things I've done have been upgrades:several xorg packages on 4/30/06, and gaim and imagemagick on 5/1/06.

edit:
I've tracked this down.  the perl-soap-lite package was added to community yesterday.  I had previously installed it via the aur.  In the interim, the package was upgraded, and it included all these other packages as dependencies.  I didn't see the update until it was added to the community repo.  Alright, I guess this is what I get for not making pkgbuilds for all my cpan modules.  It is just so much easier to let the cpan shell handle the dependencies rather than tracking them down myself.  Thanks for your help, snowman.

Offline

Board footer

Powered by FluxBB