You are not logged in.

#26 2007-03-28 11:38:17

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: pacman 3.0.0 in testing

Izuil wrote:

Just a quick one, if I edit my makepkg.conf to build athlon-xp packages instead of i686 when I build them myself why won't pacman accept them?

It gives me:
error: failed to add target 'exaile-svn-2224-1-athlon-xp.pkg.tar.gz' (invalid or corrupted package)

file a bug.......... post your makepkg.conf and a link the the PKGBUILD.

as a side note, dont waste your time recompiling exaile for athlon-xp -- it's a python app! there's no compilation*

James

*presuming it doesnt include any C based python libs... I can't see any in the exaile svn.

Offline

#27 2007-03-28 11:52:49

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: pacman 3.0.0 in testing

pacman3 is great. I upgraded yesterday and I'm amazed by how fast it works now.

Good job by developers!!! Keep it like this!

Offline

#28 2007-03-28 15:39:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman 3.0.0 in testing

Izuil wrote:

Just a quick one, if I edit my makepkg.conf to build athlon-xp packages instead of i686 when I build them myself why won't pacman accept them?

It gives me:
error: failed to add target 'exaile-svn-2224-1-athlon-xp.pkg.tar.gz' (invalid or corrupted package)

Hmm, that's something I didn't think about.

Let me try to explain simply.  We split the names based on dashes, but package names can contain dashes too.  So *before* we would say, ok, take the *last* chunk, that's the pkgrel, now move back on dash, that's the pkgver, now back another chunk, and grab the rest for pkgname.

In an attempt to support both existing packages (w/o the ARCH) and new ones (w/ the ARCH), the architecture is explicitly checked.  That is, we verify the chunk at the end is either a pkgrel or a architecture name.  This is gross, but it means architecture names are hardcoded.

Could you try (for the time being) renaming the package without the "-athlon-xp" at the end and see if that works?

Offline

#29 2007-03-28 17:02:53

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: pacman 3.0.0 in testing

The performance is great but I have noticed that when upgrading multiple packages, there seems to be a little lag time between downloads of individual packages that was not as noticeable in pacman 2.9.xxx. Is anyone else experiencing this?


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#30 2007-03-28 20:12:01

catweazle
Member
From: Germany
Registered: 2006-12-14
Posts: 24

Re: pacman 3.0.0 in testing

@yankees26

Today I did some downlink bit rate tests using a couple of web sites and scp and they all show me the higher bit rate that I reported also seeing with pacman3. It seems that at the moment my provider gives me more bandwidth than I am paying for smile. So, in summary, all is well with pacman3 concerning the reported downlink rates. This was a false alarm. Sorry for that.

Offline

#31 2007-03-29 17:18:55

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: pacman 3.0.0 in testing

Phrakture,

I d'led pacman 3 and did the ./configure, make and make install.  Seemed to go OK but if I do a pacman -Qi pacman I still get rel 2.9.8-4.  Have I missed a step (or two)??

Jim

Offline

#32 2007-03-29 17:27:04

cr7
Member
Registered: 2006-11-28
Posts: 103

Re: pacman 3.0.0 in testing

It's simple. If you install pacman from source, the packages' database will not be updated, so pacman is still recorded as 2.9.8 smile

Offline

#33 2007-03-29 19:11:42

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: pacman 3.0.0 in testing

Heh. Milltek, at least use the pacman PKGBUILD...


I am a gated community.

Offline

#34 2007-03-29 19:15:27

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: pacman 3.0.0 in testing

Where do I get the PKGBUILD??

Offline

#35 2007-03-29 19:19:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pacman 3.0.0 in testing

Why not just grab it from testing ?


Mr Green

Offline

#36 2007-03-29 19:28:59

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: pacman 3.0.0 in testing

Duh!.......................

Thanks Mr. Green!!

Offline

#37 2007-03-29 20:36:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pacman 3.0.0 in testing

chill dood ;-)


Mr Green

Offline

#38 2007-03-31 00:29:56

jotapesan
Member
From: chile
Registered: 2006-05-30
Posts: 27
Website

Re: pacman 3.0.0 in testing

pacman 3 is great! i feel it faster.

it liked me so much. that i did made a locale translation of pacman for the spanish, my native language.

how can i send to the authors to be included on pacman 3???

Offline

#39 2007-03-31 00:48:57

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: pacman 3.0.0 in testing

jotapesan wrote:

pacman 3 is great! i feel it faster.

it liked me so much. that i did made a locale translation of pacman for the spanish, my native language.

how can i send to the authors to be included on pacman 3???

Join the pacman-dev mailing list. Its accessible from the front page.

Offline

#40 2007-03-31 10:35:45

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: pacman 3.0.0 in testing

jotapesan wrote:

pacman 3 is great! i feel it faster.

it liked me so much. that i did made a locale translation of pacman for the spanish, my native language.

how can i send to the authors to be included on pacman 3???

How does one go about translating a software such as pacman? Are there translation tools available? Any pointers?

Offline

#41 2007-03-31 15:29:10

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: pacman 3.0.0 in testing

Offline

#42 2007-03-31 15:59:15

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: pacman 3.0.0 in testing

Thanks a lot! I'll dig into that as soon as I find the time :-)

Offline

#43 2007-04-01 08:24:02

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: pacman 3.0.0 in testing

Pacman3 creates a new set of repository files, ie current.pacnew, extra.pacnew and so on in /etc/pacman.d/

However, by default, /etc/pacman.conf still refers to the old Pacman2 filenames, ie current, extra, unstable.

Should the links in pacman.conf be edited to point at the new files or should the new files be renamed by removing the .pacnew suffix?

And presumably any such modifications won't be overwritten on the next upgrade to Pacman3?

Offline

#44 2007-04-01 08:39:15

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman 3.0.0 in testing

Cotton wrote:

Pacman3 creates a new set of repository files, ie current.pacnew, extra.pacnew and so on in /etc/pacman.d/

However, by default, /etc/pacman.conf still refers to the old Pacman2 filenames, ie current, extra, unstable.

Should the links in pacman.conf be edited to point at the new files or should the new files be renamed by removing the .pacnew suffix?

And presumably any such modifications won't be overwritten on the next upgrade to Pacman3?

The files were just extracted as .pacnew in order to not overwrite your previous files. If you had spent time in order to make a nice sorted list of mirrors, you wouldn't want to lose that, would you? smile
Each time you get a .pacnew file, it's up to you to fix it, by merging your modification to the new file, and then replacing the old one.
In this case, I suggest to run rankmirrors on each pacnew file for replacing the old one.
something like :

for i in *.pacnew; do rankmirrors $i > ${i%*.pacnew}; done

if that went well, you can then delete the pacnew files.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#45 2007-04-01 15:02:23

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: pacman 3.0.0 in testing

I'd suggest you trim the new mirror files before running rankmirrors to geographically relevant mirrors- they are quite a bit longer than the lists originally shipped with pacman2.

Offline

#46 2007-04-01 18:12:24

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: pacman 3.0.0 in testing

Look what I found:

 sudo pacman -S openoffice-base
resolving dependencies... done.
looking for inter-conflicts... 
:: openoffice-base conflicts with openoffice-devel. Remove openoffice-devel? [Y/n] y
done.
error: something has gone horribly wrong
error: failed to prepare transaction (unexpected error)

Offline

#47 2007-04-01 18:16:34

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: pacman 3.0.0 in testing

Hmm... the problem seems to be related to a package of mine, myspell-en. Check this out:

nightfrost@dionysos /var/abs/local/arch-packages $ sudo pacman -U myspell-en-20060411-1-i686.pkg.tar.gz 
loading package data... done.
checking dependencies... done.
cleaning up... done.
(1/1) checking for file conflicts                   [-------------------------------------------------] 100%
(1/1) installing myspell-en                         [-------------------------------------------------] 100%
nightfrost@dionysos /var/abs/local/arch-packages $ sudo pacman -R myspell-en 
checking dependencies... done.
(1/1) removing myspell-en                           [-------------------------------------------------] 100%
nightfrost@dionysos /var/abs/local/arch-packages $ sudo pacman -R openoffice-devel 
checking dependencies... 
error: failed to prepare transaction (could not satisfy dependencies)
:: openoffice-devel is required by myspell-en

nightfrost@dionysos /var/abs/local/arch-packages $

Offline

#48 2007-04-01 18:39:12

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman 3.0.0 in testing

toofishes wrote:

I'd suggest you trim the new mirror files before running rankmirrors to geographically relevant mirrors- they are quite a bit longer than the lists originally shipped with pacman2.

Oh right, I did that manually, but I could have automated it very easily as well, now that I think about it smile
Eg, for keeping only the 4 french mirrors in the France section of the pacnew files, then sort them :

for i in *.pacnew; do (grep -A4 France $i > $i.fr) && (rankmirrors $i.fr > ${i%*.pacnew}); done

and after that the .pacnew and .pacnew.fr files can be deleted.
But it's still stupid because the same mirrors are sorted several times. Probably better to sort one, then generate the others :

grep -A4 France current.pacnew > current.fr
rankmirrors current.fr > current
for i in community extra release testing unstable; do sed "s/current/$i/" current > $i; done

pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#49 2007-04-03 10:25:55

ujjwal
Member
Registered: 2006-01-31
Posts: 27

Re: pacman 3.0.0 in testing

Well great job by all the pacman developers, 3.0 is indeed much faster. pacman -Ss does not take too much time now, while earlier I found it quicker to open a browser, go to the main site and search for a package big_smile

Now that pacman has been lib'ified, are there any alternate frontends in development?

Offline

#50 2007-04-03 11:49:43

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: pacman 3.0.0 in testing

Anyway, pacman3 isn't as quick as I was thinking it would be smile

Offline

Board footer

Powered by FluxBB