You are not logged in.

#1 2010-11-05 18:44:38

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

[SOLVED]Installing older packages without conflict

I'm need to install some older packages withou conflict, python 2.5 and libpng12, how can I do that?

Last edited by hack.augusto (2010-11-08 16:48:46)

Offline

#2 2010-11-05 19:53:16

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]Installing older packages without conflict

Offline

#3 2010-11-08 15:07:12

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [SOLVED]Installing older packages without conflict

The python 2.5 package worked perfectly, but libpng compiled to 64 bits and I need it to be 32bit :\

Offline

#4 2010-11-08 15:11:37

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED]Installing older packages without conflict

Offline

#5 2010-11-08 16:04:29

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [SOLVED]Installing older packages without conflict

Almost, I can't compile lib32-libpng12:

configure: error: zlib not installed
    Aborting...
 # pacman -Ss lib32-zlib
multilib/lib32-zlib 1.2.5-5 [0.06 MB] [installed: 1.2.5-2]
    Compression library implementing the deflate compression method found in gzip and PKZIP (32-bit)

Offline

#6 2010-11-08 16:08:30

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED]Installing older packages without conflict

It compiles fine for me. Maybe you don't have gcc-multilib or something else installed / configured.

Offline

#7 2010-11-08 16:21:25

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [SOLVED]Installing older packages without conflict

Here is the multilib packages that I have on my sistem:

# pacman -Ss multilib
multilib/binutils-multilib 2.20.1-5 [2.49 MB] [installed]
    A set of programs to assemble and manipulate binary and object files for multilib
multilib/gcc-ada-multilib 4.5.1-7 [11.61 MB]
    Ada front-end for GCC (GNAT) for multilib
multilib/gcc-fortran-multilib 4.5.1-7 [4.22 MB]
    Fortran front-end for GCC for multilib
multilib/gcc-libs-multilib 4.5.1-7 [0.58 MB] [installed]
    Runtime libraries shipped by GCC for C and C++ languages for multilib
multilib/gcc-multilib 4.5.1-7 [17.74 MB] [installed]
    The GNU Compiler Collection for multilib
multilib/gcc-objc-multilib 4.5.1-7 [7.21 MB]
    Objective-C front-end for GCC for multilib
multilib/lib32-glibc 2.12.1-7 [2.43 MB] [installed]
    GNU C Library for multilib
multilib/libtool-multilib 2.4-1 [0.37 MB] [installed]
    A generic library support script for multilib

Last edited by hack.augusto (2010-11-08 16:22:20)

Offline

#8 2010-11-08 16:25:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Installing older packages without conflict

You're doing it wrong. 'pacman -Q' will tell you about the local packages, 'pacman -S' can be misleading + it shows the packages that *can* be installed, but many of them are not (they don't have the '[installed]' tag).

Offline

#9 2010-11-08 16:26:20

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED]Installing older packages without conflict

Maybe I know where the error is.

multilib/lib32-zlib 1.2.5-5 [0.06 MB] [installed: 1.2.5-2]

In the repo we have lib32-zlib 1.2.5-5 but you have lib32-zlib 1.2.5-2 installed. Do pacman -Syu first.

Offline

#10 2010-11-08 16:28:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Installing older packages without conflict

Dogmeat wrote:

Maybe I know where the error is.

multilib/lib32-zlib 1.2.5-5 [0.06 MB] [installed: 1.2.5-2]

In the repo we have lib32-zlib 1.2.5-5 but you have lib32-zlib 1.2.5-2 installed. Do pacman -Syu first.

I don't think that it's the case, I think OP has zlib, not lib32-zlib installed. Both packages provide zlib and that's why pacman treats them as the same package with different version. Same thing happens if a package can be found in many repos like the opera package:

[karol@black ~]$ sp -Ss ^opera$
unarch/opera 10.61-1 [10,14 MB] [installed]
    A fast and secure web browser and Internet suite.
archstuff/opera 10.63-1 [10,17 MB] [installed: 10.61-1]
    A fast and secure web browser and Internet suite.
archstuff/opera-devel 10.70_6396-1 [10,15 MB]
    A fast and secure web browser and Internet suite. Development/Snapshot version.
dragonlord/opera 10.63-1 [10,19 MB] [installed: 10.61-1]
    A fast and secure web browser and Internet suite.

I've installed the one from unarch repos.

Last edited by karol (2010-11-08 16:33:17)

Offline

#11 2010-11-08 16:33:39

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED]Installing older packages without conflict

karol wrote:

I don't think that it's the case, I think OP has zlib, not lib32-zlib installed. As I wrote, 'pacman -S' can be misleading. Both pacakges provide zlib and that's why pacman treats them as the same package with different version.

Well, pacman -Qi lib32-zlib says

Provides       : None

PKGBULD as well.

Offline

#12 2010-11-08 16:44:08

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [SOLVED]Installing older packages without conflict

@karol - I didn't think of -Qs because of the [installed] tag. One small question do you know if -Qs/-Ss will match packages from multilib repository or just packages that have multilib in the package name/description? Because that was what I really wanted, to show installed vs. not installed packages only from multilib

@Dogmeat - Thanks a lot, that was it, zlib was out-of-date, I'm avoiding to do pacman -Syu until I upgrade my hardware because I have a crappy video sis chipset and I always get into trouble with X, that are way hard to solve when I can't use the laptop for anything.

Offline

#13 2010-11-08 16:57:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Installing older packages without conflict

@ hack.augusto
-Qs/-Ss will search names and descriptions, '-Sl <reponame' will show all the packages from a repo

[karol@black ~]$ pacman -Sl unarch | grep installed
unarch aurvote 0.3.3.1-1 [installed]
unarch libpng12 1.2.44-1 [installed]
unarch opera 10.61-1 [installed]
unarch package-query 0.3-3 [installed]

BTW, I use libpng12 from the unarch repo, do you need multilib or just 32-bit libpng12?


@ Dogmeat
Seems I was wrong then, sorry and thanks for the explanation.

Last edited by karol (2010-11-08 17:01:11)

Offline

Board footer

Powered by FluxBB