You are not logged in.

#1 2010-03-18 23:00:45

olo
Member
Registered: 2010-03-18
Posts: 32

about pacman-static unavailable

I have already got a Linux system. I wanna install Archlinux for a dual/backup Linux system.  I tried bootable disk, but found the the mountpoint will eraser/recreate data.
so I decided install through my current linux. I followed this wiki : http://wiki.archlinux.org/index.php/Ins … ting_Linux ,  but i stuck at pacman-static-*.pkg.tar.gz, seems there is no this package on the server.

Could someone please tell where can get this package?

thanks a lot in adv.

Cheers

Offline

#2 2010-03-18 23:04:10

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,408
Website

Re: about pacman-static unavailable

There is no official pacman-static and so you are limited to third party repos.  I think the archlinuxfr one was the only repo providing this and if it has stopped...

Offline

#3 2010-03-18 23:04:59

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,688
Website

Re: about pacman-static unavailable

Why isn't there an official pacman-static package?

Offline

#4 2010-03-18 23:06:16

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: about pacman-static unavailable

In the AUR repo: link

Offline

#5 2010-03-18 23:09:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: about pacman-static unavailable

Mar 17 17:04:41 <tuxce>    I saw you talk about pacman-static, I forgot to delete from repo, cause I don't use it anymore, I prefer to use a little chroot archive with just the last pacman and the libs it depends on
Mar 17 17:05:18 <wonder>    ok, maybe you want to modify the wiki too
Mar 17 17:06:50 <tuxce>    which one ? (I didn't know of a wiki page talking about pacman-static)
Mar 17 17:07:18 <wonder>    http://wiki.archlinux.org/index.php/Ins … ting_Linux
Mar 17 17:09:06 <tuxce>    ok, I will do that

he was the maintainer of pacman-static from archlinuxfr repo. it became obsolete and useless after we merged to .xz since it can't handle them.


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#6 2010-03-18 23:10:27

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,408
Website

Re: about pacman-static unavailable

It should be able to handle them....   xz-utils was built with a static library months ago to allow that.

Offline

#7 2010-03-18 23:11:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: about pacman-static unavailable

Allan wrote:

It should be able to handle them....   xz-utils was built with a static library months ago to allow that.

yes, but the current build couldn't handle and i believe he didn't wanted to maintain it anymore and drop it, instead of providing the support.


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#8 2010-03-18 23:13:09

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,408
Website

Re: about pacman-static unavailable

Xyne wrote:

Why isn't there an official pacman-static package?

It was never that static and it really was not that useful...   e.g. "pacman -Rd glibc" and try using pacman-static to recover.  (I actually tried that.)   So it was decided it could be maintained in a separate package if the community wanted it.

Offline

#9 2010-03-18 23:32:40

olo
Member
Registered: 2010-03-18
Posts: 32

Re: about pacman-static unavailable

thanks a lot guys, for all your prompt replies. if without pacman-static then how could get Archlinux installed easily through another?
cheers

Offline

#10 2010-03-22 14:37:35

Hamsterkill
Member
Registered: 2009-05-05
Posts: 45

Re: about pacman-static unavailable

I'm also interested in this, though in my case, I want to do it from a liveCD. The official Arch install media is too outdated to work on my machine. (And trying to use it actually breaks my NIC (Atheros AR8131) until I do a system recovery with the manufacturer CDs for some reason)

Last edited by Hamsterkill (2010-03-22 14:39:29)

Offline

#11 2010-03-31 00:05:58

Lucky
Member
From: /dev/random
Registered: 2009-08-07
Posts: 28

Re: about pacman-static unavailable

Hi,
i had this problem, too. I need a way to install arch from an rescue system (debian 5.0). So i wrote a little script to bring pacman on it.

http://lky.cc/getpac.sh

#!/bin/bash
#README {{{
# author......: Lucky <archlinux.org@lucky.take0ver.net>
# filename....: getpac.sh
# description.: get/install pacman on your system
# version.....: 1.0.4
#}}}

#CONFIG {{{
arch="$(uname -m)" #i686 or x86_64
mirror="ftp://mirrors.kernel.org/archlinux"
#}}}

#CHECK {{{
if [ "$(id -u)" -ne "0" ]; then
  echo "This script should be run as root."
  exit 1 
fi

if [ "${arch}" = "x86_64" ]; then
  echo "${arch} detected"
elif [ "${arch}" = "i686" ]; then
  echo "${arch} detected"
else
  echo "${arch} not supported"
  echo "set arch manualy on config part"
  exit 1
fi
#}}}

#DIRS_AND_INDEX {{{
scriptdir="$(pwd)"
tempdir="$(mktemp -d -t getpac-XXXXXXXX)"
cd "${tempdir}"
link="${mirror}/core/os/${arch}"
wget -q "${link}/"
#}}}

#PACKAGE_LIST {{{
#pacman-3.3.3-1-x86_64.pkg.tar.gz
pacman_pkg="$(grep pacman-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#pacman-mirrorlist-20100131-1-x86_64.pkg.tar.gz
pacmanmirror_pkg="$(grep pacman-mirror index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#acl-2.2.48-1-x86_64.pkg.tar.gz
acl_pkg="$(grep acl-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#attr-2.4.44-1-x86_64.pkg.tar.gz
attr_pkg="$(grep attr-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#libarchive-2.7.1-1-x86_64.pkg.tar.gz
libarchive_pkg="$(grep libarchive-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#libfetch-2.26-1-x86_64.pkg.tar.gz
libfetch_pkg="$(grep libfetch-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#expat-2.0.1-5-i686.pkg.tar.gz
expat_pkg="$(grep expat-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#openssl-1.0.0-2-i686.pkg.tar.gz
openssl_pkg="$(grep openssl-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#xz-4.999.9beta-3-x86_64.pkg.tar.gz
xz_pkg="$(grep xz-[0-9].[0-9] index.html | perl -ne 'print "$1\n" if />(.*?tar.gz)/;' | tail -1)"
#}}}

#GET_PACKAGES {{{
pkgs="${pacman_pkg} ${pacmanmirror_pkg} ${acl_pkg} ${attr_pkg} ${libarchive_pkg} ${libfetch_pkg} ${expat_pkg} ${openssl_pkg} ${xz_pkg}"
for pkg in ${pkgs}; do
  echo "${pkg}"
  wget -q "${link}/${pkg}"
done
#}}}

#EXTRACT_PACKAGES {{{
for pkg in *.tar.gz; do
  tar xvzf "${pkg}" -C /;
done
#}}}

#ADD_MIRROR {{{
(tmpfile="$(mktemp)" && { echo "Server = ${mirror}/"'$repo'"/os/${arch}" | cat - "/etc/pacman.d/mirrorlist" > ${tmpfile} && mv ${tmpfile} "/etc/pacman.d/mirrorlist"; } )
#}}}

#SYNC_PACMAN {{{
echo "" && \
pacman -Sy && \
echo "" && \
echo "\o/ pacman is ready now \o/"
cd "${scriptdir}"
#}}}

1.0.1 fix the missing openssl lib
1.0.2 fix renamed xz pkg
1.0.3 automatic detected $arch / change coding style
1.0.4 fix the missing expat lib / change coding style (dash compatible) / temp dir now mktemp based / on error no "\o/ pacman is ready now \o/" message

have fun and thanx for using this script smile

Last edited by Lucky (2010-07-26 05:35:23)

Offline

#12 2010-03-31 00:19:15

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: about pacman-static unavailable

Does elf statifier (http://aur.archlinux.org/packages.php?ID=7732) work on pacman?

Offline

#13 2010-05-15 15:32:40

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,524
Website

Re: about pacman-static unavailable

@Lucky - tried your script and got this running on Ubuntu 9.10 host system needing to install arch i686:

pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

\o/ pacman is ready now \o/

I found that you'll need to the openssl package to your script!  I linked this thread on the wiki so please edit your post with the script to include it.

http://wiki.archlinux.org/index.php/Ins … ting_Linux

Last edited by graysky (2010-05-15 15:46:49)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#14 2010-05-16 17:32:14

Lucky
Member
From: /dev/random
Registered: 2009-08-07
Posts: 28

Re: about pacman-static unavailable

@graysky
thanks for using and testing, getpac fixed.

Offline

#15 2010-06-30 12:09:33

tutroc77
Member
From: Vietnam
Registered: 2010-03-11
Posts: 4

Re: about pacman-static unavailable

@Lucky

I tried but it was not working in Linux Mint x86_64:

tu@Pro4515s ~/archlinux $ sh getpac.download
getpac.download: 17: [[: not found
getpac.download: 27: [[: not found
getpac.download: 27: [[: not found
x86_64 not supported
set arch manualy on config part
Pro4515s archlinux # sh getpac.sh 
getpac.sh: 17: [[: not found
getpac.sh: 27: [[: not found
getpac.sh: 27: [[: not found
x86_64 not supported
set arch manualy on config part

thanks a lot in adv.

Last edited by tutroc77 (2010-06-30 12:10:59)

Offline

#16 2010-06-30 12:28:43

Lucky
Member
From: /dev/random
Registered: 2009-08-07
Posts: 28

Re: about pacman-static unavailable

Hi,

the output of "uname -m" is "x86_64" right? I don't know why isn't working. Maybe you don't use bash? (sh is not linked to bash)

run script: "./getpac.sh" or "bash getpac.sh"

If the $arch detection is not working set it manualy to:
arch="x86_64"

//Edit
Mint = Ubuntu based distro, Ubuntu use dash als /bin/sh replacement so sh getpach.sh will not work, because its an bash script.
./getpac.sh or bash getpac.sh works fine for me on Ubuntu 10.04 x86_64.

please give feedback wink

Last edited by Lucky (2010-06-30 12:48:04)

Offline

#17 2010-08-10 18:37:04

immolo
Member
Registered: 2010-05-19
Posts: 7

Re: about pacman-static unavailable

This also works for ArchPPC with some minor tweaks for thanks for this

Offline

#18 2010-08-25 17:24:21

zip1100
Member
From: Vienna / Austria
Registered: 2010-08-25
Posts: 6

Re: about pacman-static unavailable

Hi!

In Fedora 13 I encountered the following errormessage:
pacman: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory

To resolve it I linked libbz2.so.1.0 to /lib/libbz2.so.1

So long,
zip1100

Offline

#19 2010-08-31 04:38:18

ScannerDarkly
Member
From: UK
Registered: 2010-07-24
Posts: 20
Website

Re: about pacman-static unavailable

Thought it was best to post in here considering I've found the link following the guide from here

@Lucky
Thank you very much for the script - pacman is working beautifully, and I've chrooted and built a initcpio image.

Host: Ubuntu x86_64

The drive is IDE/PATA with USB attachment. Current partitions (viewed from within my Ubuntu install) are as follows:

[Primary]
/dev/sdb1 /
[Extended/Logical]
/dev/sdb5 /swap
/dev/sdb6 /home

I ran
# grub-install /dev/sdb1 (do not have separate /boot, so onto /)

Here is my menu.lst. Here is my /etc/mkinitcpio.conf of which I have added PATA and USB to my "HOOKS="

All I am getting now is a blinking _ when trying to boot the drive. I don't if Grub is the problem or something else.

Offline

#20 2010-08-31 07:05:46

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: about pacman-static unavailable

A shot in the dark here but doesn't the kernel and initrd parameters still require the /boot/ path even if there is not a separate boot partition?

http://oss.sgi.com/LDP/HOWTO/Kernel-HOWTO/grubconf.html

# grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,8)
    #          kernel /boot/vmlinuz-version ro root=/dev/hda9
    #          initrd /boot/initrd-version.img

neutral

Offline

#21 2011-05-30 12:55:13

Ztjuh
Member
Registered: 2011-05-30
Posts: 40

Re: about pacman-static unavailable

I'm having a problem with getpac.sh.

./getpac.sh: /tmp/archlinux/usr/bin/pacman: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

How can I fix this problem?

x86_64 detected
pacman-3.5.2-1-x86_64.pkg.tar.gz
pacman-mirrorlist-20110324-1-any.pkg.tar.gz
libarchive-2.8.4-2-x86_64.pkg.tar.gz
libfetch-2.33-3-x86_64.pkg.tar.gz
openssl-1.0.0.d-1-x86_64.pkg.tar.gz
xz-5.0.3-1-x86_64.pkg.tar.gz
.PKGINFO
usr/
usr/include/
usr/bin/
usr/lib/
usr/share/
usr/share/man/
usr/share/licenses/
usr/share/licenses/libarchive/
usr/share/licenses/libarchive/COPYING
usr/share/man/man5/
usr/share/man/man3/
usr/share/man/man1/
usr/share/man/man1/bsdtar.1.gz
usr/share/man/man1/bsdcpio.1.gz
...
...
...
...
...
usr/share/man/man1/xz.1.gz
usr/share/man/man1/xzgrep.1.gz
usr/share/man/man1/lzmore.1.gz
usr/share/man/man1/lzgrep.1.gz
usr/share/man/man1/unlzma.1.gz
usr/share/man/man1/lzless.1.gz
usr/share/man/man1/xzless.1.gz
usr/share/man/man1/lzcmp.1.gz
usr/share/man/man1/lzcat.1.gz
usr/share/man/man1/xzcmp.1.gz
usr/share/man/man1/xzdec.1.gz
usr/share/man/man1/xzdiff.1.gz
usr/share/man/man1/lzdiff.1.gz
usr/share/man/man1/xzfgrep.1.gz
usr/share/man/man1/lzmadec.1.gz
usr/share/man/man1/lzmainfo.1.gz
usr/share/man/man1/unxz.1.gz
usr/share/man/man1/lzegrep.1.gz
usr/share/man/man1/lzfgrep.1.gz
usr/share/man/man1/xzegrep.1.gz
usr/share/man/man1/xzcat.1.gz

./getpac.sh: /tmp/archlinux/usr/bin/pacman: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

Offline

#22 2011-05-31 02:49:10

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,787
Website

Re: about pacman-static unavailable

Ztjuh: please don't necrobump https://wiki.archlinux.org/index.php/Fo … Bumping.27

Open a new thread about your issue.

Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB