You are not logged in.

#1 2012-03-08 03:40:32

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

GoTux Repos -- Tiny Arch Archive

Hey guys, I've created a tiny Arch Linux archive on my VPS box. This tiny archive will grow in time smile Right now there is only couple of packages. I've created this archive for my self initially to re-use packages without re-compiling them on my box. But I thought I would share it, might be helpful to some one else.

Here is README.txt
arch.gotux.net (Arch Linux Packages)
build for x86_64 system by TuxLyn
to install under Arch simply run
sudo pacman -U <package_name>

Last edited by TuxLyn (2012-03-10 04:32:53)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#2 2012-03-08 04:03:52

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

Re: GoTux Repos -- Tiny Arch Archive

Hi TuxLyn,

Thanks for sharing this.

You can make your packages directly accessible to pacman by creating a repo. For example, you could create a repo named "TuxLyn-x86_64" by doing the following:

In the same directory as the packages, run this command:

repo-add TuxLyn-x86_64.db.tar.gz *.pkg.tar.xz

That will create a database file named TuxLyn-x86_64.db.tar.gz and a link to the database file named TuxLyn-x86_64.db in the same directory. You can then upload the entire directory to your server.

After that, add the following lines to pacman.conf (assuming that they're located at http://arch.gotux.net/packages/):

[TuxLyn-x86_64]
Server = http://arch.gotux.net/packages/

After that, run "pacman -Syu" and you will be able to install your packages directly with pacman -S <package_name>.

I would recommend using a different path on the server, e.g. http://arch.gotux.net/repos/TuxLyn/x86_64

There's a little more information here:
https://wiki.archlinux.org/index.php/Cu … repository
See "man repo-add" too.

Offline

#3 2012-03-08 04:05:19

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Hey Xyne, this is great info. I will make this happen ones I have more packages in the archive smile Thank you.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#4 2012-03-08 06:00:32

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Great just about when I posted this my hosting is having some issues with there server.
Please stand by, will let you know when its back online.

EDIT: It's back online folks. Sorry for the down time, my hosting had some server issues.

Last edited by TuxLyn (2012-03-08 07:06:09)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#5 2012-03-09 01:03:48

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Alright, if any one is interested in testing it please do. Note this VPS is not the fastest. I think its only 1mbps download from it. But I do what I can to contribute to Arch community smile Maybe one day I'll find second better VPS just for tiny arch archive. Read README.txt file in http://arch.gotux.net/ for more details.

Last edited by TuxLyn (2012-03-09 01:04:15)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#6 2012-03-09 01:14:45

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

Re: GoTux Repos -- Tiny Arch Archive

You can add your repo to https://wiki.archlinux.org/index.php/Un … positories if you want.

Offline

#7 2012-03-09 01:21:38

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Thank you, but I would like some one else to test it first smile EDIT: Never mind, will just add it I guess. It works good. I might move it from "GoTux-x86_64" to just "GoTux" because its easier to type. Alright done and done. Enjoy guys. I will try updating this repo as often as I can.

Last edited by TuxLyn (2012-03-09 01:30:30)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#8 2012-03-10 01:29:48

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

I'll be attempting to improve my repos and including x86_64 as well as i686 packages. I've already integrated directory indexer in the website for easier access. I want to have best packages on AUR that I my self use and might be of help some one else as well. I have a lot of interesting projects I'm working on that will be eventually implemented. So if you guys interested keep on checking my front-page news and wiki page here http://wiki.gotux.net/about  As always if you wish to be apart of my website and help out in any way possible. Please email me or PM me here smile

Last edited by TuxLyn (2012-03-10 01:32:10)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#9 2012-03-10 02:16:43

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

Re: GoTux Repos -- Tiny Arch Archive

It seems to be coming along nicely.

I recommend changing the thread title to something like "GoTux Repos".

Offline

#10 2012-03-10 02:30:43

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Thank you for the comments guys, it really does help to keep me motivated more.

@Xyne, Not sure what you mean buddy. Where at ?

EDIT: I'm currently working on two separate computer boxes one for i686 and the other for x86_64 to use them mostly/specifically for compiling packages from AUR smile

EDIT2: I've just found wiki page "Can I build 32-bit packages for i686 inside Arch64?" perfect. Just what I've been wondering. This will be even better, to have one development box. This way I can use one Core2Quad box to do all of this compiling.

Alright, I've managed to compile and create both 64bit and 32bit packages. 32bit packages might be slower updated then 64bit ones. See README.txt for more details.

Last edited by TuxLyn (2012-03-10 04:06:36)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#11 2012-03-10 04:27:08

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

Re: GoTux Repos -- Tiny Arch Archive

TuxLyn wrote:

@Xyne, Not sure what you mean buddy. Where at ?

The title of this thread is "Tiny Arch Archive". I suggest that you edit the original post and change it to something like "GoTux Repos", so people know what the thread is about when they browse the forum.

Take a look at arch32-light for building i686 packages on x86_64. It's what I use in my release scripts.

Last edited by Xyne (2012-03-10 04:34:36)

Offline

#12 2012-03-10 04:33:16

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

@Xyne, oh that what you mean smile Thanks for the tip buddy. Done.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#13 2012-03-10 06:32:36

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

I've installed arch32-light and getting this following warning when I run arch32.

# arch32
:: Synchronizing Files                                                   [DONE]
non-network local connections being added to access control list

Also, what do I do to use makepkg -s inside this arch32 ?

arch32 --help switch would be nice.

Last edited by TuxLyn (2012-03-10 06:33:01)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#14 2012-03-10 07:39:23

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

Re: GoTux Repos -- Tiny Arch Archive

The "non-network..." warning can be ignored. It's generated by xhost. I don't suppress it just in case it throws other warnings.

I'm assuming that you ran arch32-initialize and the follow-up commands. To build in the chroot, run

pacman32 pacman sudo base-devel

outside of the chroot. That should install most of what you need in the chroot. If it complains that anything else is missing, find out what owns it and install it.

There is no --help message for arch32 because it's just a glorified chroot wrapper:

#!/bin/bash
source /etc/arch32.conf || exit 1

if [ -z "$ARCH32ROOT" ]; then
  echo "error: ARCH32ROOT is unset" 1>&2
  exit 1
fi

chroot "$ARCH32ROOT" "$@"

See "man arch32-light", the project page, and the related wiki page for more information. Actually, skip the man page and jump right to the project page. It has the man page on it, with nicer formatting.

Offline

#15 2012-03-10 07:57:06

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Thanks for the help Xyne, but just to simplify it. Here is what I've done so far.

$ sudo -i
$ ** password **
# arch32initialize
# pacman32 -Sy bash coreutils filesystem grep gzip licenses sed
# pacman32 -Sy base-devel

now where do I put the package I want to compile and also do I use makepkg -s as I do in 64bit ?


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#16 2012-03-10 20:59:57

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

Re: GoTux Repos -- Tiny Arch Archive

Bah, I wrote a lengthy reply, but my login timed out and I lost it. hmm

Trying again...

By default, /tmp is mounted in the chroot, so you could use /tmp/build as a shared build directory between the host system and the chroot. Otherwise, if you need more space or want the build directory to persist across reboots, you could create a directory somewhere in /opt/arch32/, which is the chroot's root directory, e.g. /opt/arch32/home/<user>/build.

You then use makepkg in the chroot just as you do on the host system. The steps are:

sudo arch32
su <user> #to avoid building as root
cd <build dir>
makepkg -s ...

You can combine everything into a single command, but it's a little complicated because you have two levels of nesting that require careful quoting. For example,

sudo arch32 sh -c "su <user> -c 'cd <build dir> && makepkg ...'"

Offline

#17 2012-03-10 22:37:39

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

@Xyne, thank you for the help. I will write a function to automate all of this commands. I want to code a script that would do most of the work for me to compile packages, move, and upload to my VPS then run repo-add. Will share the code ones I do.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#18 2012-03-21 00:06:03

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

I'm working on getting all of AUR themes/icons in my repository.
See updates on the wiki page here, http://wiki.gotux.net/arch/packages
Note: Since there is about 921 themes in AUR repository, this might take
me a while, and I might not have all themes/icons in the GoTux repos.
Only the best ones. So if any is interested, keep a watch on that wiki page smile

Last edited by TuxLyn (2012-03-21 00:06:56)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#19 2012-03-21 00:19:15

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

Re: GoTux Repos -- Tiny Arch Archive

You might want to add that wiki page and change the description of your repo: https://wiki.archlinux.org/index.php/Un … positories as it's not so tiny anymore :-)

[GoTux]
# Not-so-tiny Arch Repository
# See http://wiki.gotux.net/arch/packages for details
Server = http://arch.gotux.net/repos/$arch/

Offline

#20 2012-03-21 02:00:03

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Hahaha thanks karol. I try to expend it the best that I can with good packages. Will see what happens smile


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#21 2012-06-12 20:11:00

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

The repo should be back online shortly.

Last edited by TuxLyn (2012-06-12 20:27:25)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#22 2012-08-07 13:25:38

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

Re: GoTux Repos -- Tiny Arch Archive

The repo have been offline for quite a while

error: failed retrieving file 'GoTux.db' from arch.gotux.net : Could not resolve host: arch.gotux.net; Name or service not known
error: failed to update GoTux (download library error)

I removed it from the unofficial repos list https://wiki.archlinux.org/index.php?ti … did=215784

Offline

#23 2012-12-19 10:08:24

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Currently down sorry. I'll try fixing it in the future.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#24 2013-07-18 01:52:13

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: GoTux Repos -- Tiny Arch Archive

Sorry this takes me longer then I thought. I did not have time to bring back this repos. Will try again later and post update here when its up.


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

Board footer

Powered by FluxBB