You are not logged in.
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
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
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
@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 . So, in summary, all is well with pacman3 concerning the reported downlink rates. This was a false alarm. Sorry for that.
Offline
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
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
Offline
Heh. Milltek, at least use the pacman PKGBUILD...
I am a gated community.
Offline
Where do I get the PKGBUILD??
Offline
Why not just grab it from testing ?
Mr Green I like Landuke!
Offline
Duh!.......................
Thanks Mr. Green!!
Offline
chill dood ;-)
Mr Green I like Landuke!
Offline
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
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
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
Look here:
http://cvs.archlinux.org/cgi-bin/viewcv … cvs-markup
http://www.archlinux.org/pipermail/pacm … 02428.html
Last edited by tlaloc (2007-03-31 15:38:47)
Offline
Thanks a lot! I'll dig into that as soon as I find the time :-)
Offline
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
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?
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
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
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
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
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
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
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
Now that pacman has been lib'ified, are there any alternate frontends in development?
Offline
Anyway, pacman3 isn't as quick as I was thinking it would be
Offline