You are not logged in.
Pages: 1
Hi Community
the last days i downloadet packages form the archlinux server via a windows, because of my poor conection at home.
some of those archives are *pkg.tar.tar, but my pacman awaits *.pkg.tar.xz
how can i extract the first arcive partially to *.pkg.tar
i searched the web and the wiki, but i just found out how to compleetly extract the arcive, but i have to compress it again anyway
sorry for my poor english
thanks in advance
Last edited by gamer01 (2011-06-03 10:04:13)
Offline
You can use xz to compress them but pacman works well with uncompressed packages - I use them all the time.
Could you please tell us where did you find *pkg.tar.tar packages?
Offline
i got them at archlinux.org/packages -> searching the package -> download form mirror
but my pacman ignores the packages when i put them in the /var/cache/pacman/pkg, because he awaits .xz from its database. i dont want to install them manually, i think konverting them with a skript (if possible) is easier
i also found out that it works with peazip to extract to the *pkg.tar and than i can use
xz
on my arch i just have the console so far (because of my internet i have to get all packages on another pc)
Offline
If you got them off the arch mirror are they just named incorrectly for some reason ? You can check the file type with the command
file [pkg file name]
Which should outout
[file name]: XZ compressed data
or
[file name]: gzip compressed data, from Unix
for some packages.
If that's the case you can just rename them to *tar.xz or tar.gz, if it calls them something else it may be trickier.
Offline
I think that Windows might have mixed something up because I never saw *pkg.tar.tar packages. Can you tell me what packages that were (their names)?
What happens if you do
# pacman -U <somepackage>-pkg.tar.tar
?
Do you get any error?
How exactly did you try to install those packages before and what errors did you get?
Offline
i checked the
file
and i found out that it is really xz compressed
it happend on many packages for example: wesnoth-data, vlc, wine, thunderbird, firefox
there where also some of them named correctly with *.xz
i can not understand how this could have happend, cause i did not change the names in any way (and of course i know how to show the file extentions on windows)
crazy shit
this are thinks why i hate windows
thanks a lot guys
just to answer compleetly:
@ karol
i didnt got errors when i use this command (with <somepackage>.pkg.tar.tar)
i did not got errors before, he ignored the packages and startet to download them again from the internet
eg.
pacman -S vlc
i now i will rename them correctly before copying them to my /var/cache/pacman/pkg
Offline
how can i mark this Thread as solved???
Offline
how can i mark this Thread as solved???
Just edit the first post and add '[solved]' to the thread's title.
Offline
i did not know that i can edit the title ;P and how
Offline
Pages: 1