You are not logged in.

#76 2012-05-29 12:47:49

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 38

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:

I made some changes on code, i tested it on a archbang install with virtualbox and now everything seems just to work fine smile

Sorry to say, but just downloaded the latest from git and running fresh plain archlinux (not archbang) same errors:

======================
error: config file /etc/pacman.conf, line 2: All directives must belong to a section.
Unable to open file: IncludePath
Unable to open file: IncludePath
Password:
error: config file /etc/pacman.conf, line 2: All directives must belong to a section.
======================

All "#"'s removed....

ps. I'm always on 64bit system

Last edited by spsf64 (2012-05-29 12:51:10)


Sergio Schneider

Offline

#77 2012-05-29 13:11:23

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

spsf64 wrote:
helmuthdu wrote:

I made some changes on code, i tested it on a archbang install with virtualbox and now everything seems just to work fine smile

Sorry to say, but just downloaded the latest from git and running fresh plain archlinux (not archbang) same errors:

======================
error: config file /etc/pacman.conf, line 2: All directives must belong to a section.
Unable to open file: IncludePath
Unable to open file: IncludePath
Password:
error: config file /etc/pacman.conf, line 2: All directives must belong to a section.
======================

All "#"'s removed....

ps. I'm always on 64bit system

Sorry, i made a mistake... fixed now

Offline

#78 2012-05-29 13:46:33

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 38

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:
spsf64 wrote:
helmuthdu wrote:

I made some changes on code, i tested it on a archbang install with virtualbox and now everything seems just to work fine smile

Sorry to say, but just downloaded the latest from git and running fresh plain archlinux (not archbang) same errors:
.................
All "#"'s removed....
ps. I'm always on 64bit system

Sorry, i made a mistake... fixed now

Wow! Thanks for the fast reply, it's working fine again under archlinux, I'll test under archbang later and report on the other forum.
Do you take donations? If so, where is the link?


Sergio Schneider

Offline

#79 2012-05-29 21:15:46

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

spsf64 wrote:
helmuthdu wrote:
spsf64 wrote:

Sorry to say, but just downloaded the latest from git and running fresh plain archlinux (not archbang) same errors:
.................
All "#"'s removed....
ps. I'm always on 64bit system

Sorry, i made a mistake... fixed now

Wow! Thanks for the fast reply, it's working fine again under archlinux, I'll test under archbang later and report on the other forum.
Do you take donations? If so, where is the link?

You welcome smile

Last edited by helmuthdu (2012-05-31 20:34:43)

Offline

#80 2012-05-30 03:51:40

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 38

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:
spsf64 wrote:
helmuthdu wrote:

Sorry, i made a mistake... fixed now

Wow! Thanks for the fast reply, it's working fine again under archlinux, I'll test under archbang later and report on the other forum.
Do you take donations? If so, where is the link?

You welcome smile
Sure, i have paypal: <removed>
Thx

Donation sent! Thanks alot!

Last edited by jasonwryan (2012-05-31 19:57:10)


Sergio Schneider

Offline

#81 2012-05-30 22:20:36

dengulebaron
Member
Registered: 2012-03-26
Posts: 8

Re: [Script] Archlinux Ultimate Install Script

I am impressed that is a lot of stuff that I get guided through.

One suggestion: install namcap together with yoaourt

Offline

#82 2012-05-31 19:56:37

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

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:

Sure, i have paypal: ...
Thx

Please do not do this. These boards are not to be used for commercial purposes.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#83 2012-05-31 20:34:07

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

jasonwryan wrote:

Please do not do this. These boards are not to be used for commercial purposes.

sry, didnt knew it...

dengulebaron wrote:

I am impressed that is a lot of stuff that I get guided through.

One suggestion: install namcap together with yoaourt

Thx and added smile

Last edited by helmuthdu (2012-05-31 20:35:12)

Offline

#84 2012-06-01 18:34:32

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 38

Re: [Script] Archlinux Ultimate Install Script

jasonwryan wrote:
helmuthdu wrote:

Sure, i have paypal: ...
Thx

Please do not do this. These boards are not to be used for commercial purposes.

Sorry, I did not know...
Just wanted to thank the author for helping me out, wont happen again


Sergio Schneider

Offline

#85 2012-06-01 19:47:58

spsf64
Member
From: Brazil, SP
Registered: 2012-05-18
Posts: 38

Re: [Script] Archlinux Ultimate Install Script

@helmuthdu, is it possible to have lxdm (login manager) when opting for xfce?
TIA


Sergio Schneider

Offline

#86 2012-06-02 10:59:26

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: [Script] Archlinux Ultimate Install Script

@helmuthdu:
Keep up the good work....
I really like your script.

@jasonwryan:

Please do not do this. These boards are not to be used for commercial purposes.

Not that I am in the mood to question the sovereignty of the arch forum mods but IMO a donation if someone likes your work hardly seems to be a commercial purpose for me.
It's not that helmuthdu has charged money for his script. A donation does not even have the slightest relationship to the amount of work put into something (e.g. similar to a salary).

It is more honoring the work of a group or individual. Pretty much like you might pay a good friend one or two beers in the pub because he did you a favour. As the FSF states: Free as in free speach but not as free beer ;-)

Exchanging personal informations such as a paypal account via PM might not hurt though.

Just my 2 cents,
D$

Last edited by Darksoul71 (2012-06-02 11:09:52)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#87 2012-06-25 20:37:37

lucain
Member
From: Mexico
Registered: 2009-10-25
Posts: 19
Website

Re: [Script] Archlinux Ultimate Install Script

Hey @helmuthdu I really liked your script, great work mate

A couple of suggestions:

Why not use the flag --noconfirm with pacman and yaourt/packer? i mean, why the script should wait user's confirmation?

I really liked the .vimrc and .bashrc config files, those should be optional for installations with an existing user (i.e a reinstall with a a/home directory on another partition) why not add a "configure user files automatically" option?

Adding a grub2 setup/config perhaps?

Add a cleaning option after each yaourt install because the /tmp directory gets full really quick, after each install the command rm -rf /tmp/yaourt-tmp$USERNAME should do the trick

Maybe adding firefox-kde-opensuse AUR package as an optional package for the KDE desktop (but it takes a lot of time, cpu suage and disk space to compile), also add oxygen-gt2 and oxygen-gtk3 as optional packages


Those are just suggestions, the script now is really good, so keep the good work

Offline

#88 2012-06-27 19:24:13

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

lucain wrote:

Hey @helmuthdu I really liked your script, great work mate

A couple of suggestions:

Why not use the flag --noconfirm with pacman and yaourt/packer? i mean, why the script should wait user's confirmation?

I really liked the .vimrc and .bashrc config files, those should be optional for installations with an existing user (i.e a reinstall with a a/home directory on another partition) why not add a "configure user files automatically" option?

Adding a grub2 setup/config perhaps?

Add a cleaning option after each yaourt install because the /tmp directory gets full really quick, after each install the command rm -rf /tmp/yaourt-tmp$USERNAME should do the trick

Maybe adding firefox-kde-opensuse AUR package as an optional package for the KDE desktop (but it takes a lot of time, cpu suage and disk space to compile), also add oxygen-gt2 and oxygen-gtk3 as optional packages


Those are just suggestions, the script now is really good, so keep the good work

Most of arch users like to have "control" of what is installed in their system, but you can bypass all confirmations by using the "automatic mode".
I like the idea of restore or copy the configs to the user home dir, i may add this.
grub2 may cause lot of troubles, i'm trying to keep this kind of install off the script... i dont want be responsible for breaking someone's computer.
I think yaourt already does dat, no? Packer i know it doesnt do, maybe this can be a good thing.
I will keep the oxygen-gtk2/3 and qtcurve by default since they are very little packages and most of users use it, idt its a big deal have it installed by default.
I will check this firefox-kde

EDIT: No way to install the firefox-kde-opensuse... took more than 30min in my computer and crashed while compile, my tmp folder was out of space o.0

Thx for the ideas smile

Greetings

Last edited by helmuthdu (2012-06-29 13:48:26)

Offline

#89 2012-07-01 00:51:51

Isola
Member
Registered: 2010-02-02
Posts: 99

Re: [Script] Archlinux Ultimate Install Script

Boechat wrote:

I think I have a suggestion for improvement.
I tested the sed command found on line 215 and he made the change in two lines in "/etc/rc.conf".

In:

# -----------------------------------------------------------------------
# DAEMONS @alsa
# -----------------------------------------------------------------------
# ...

And in this:

DAEMONS=(syslog-ng crond dbus lightdm networkmanager bluetooth @alsa)

If my thinking is correct, I think he should find only the second line.
So, I changed the sed command.

From:

sed -i '/DAEMONS/s/\(.*\)\>/& @alsa/' /etc/rc.conf

To:

sed -i '/DAEMONS[=]/s/\(.*\)\>/& @alsa/' /etc/rc.conf

Maybe will be necessary review the other sed commands that have similar goals.

I haven't read the whole thread, but while you can change rc.conf with some sed, keep in mind rc.conf just a bash script being sourced, as such you could do something simple like this:

{
   echo "# Added by Archlinux Ultimate Install Script"
   echo "DAEMONS+=(@alsa)"
} >> /etc/rc.conf

Offline

#90 2012-08-14 08:19:49

up
Member
Registered: 2012-08-14
Posts: 12

Re: [Script] Archlinux Ultimate Install Script

I had these problems with running the script straight after rebooting arch installation:

1. Running as root did not work. Had to create a user with sudo privileges. (same error as here)

2. Now running as user: "wget does not exist". Had to install wget.

3. Trying to install pacaur: "pod2man: command not found". Had to do this:

$ sudo find / -name pod2man
usr/lib/perl5/core_perl/bin/pod2man
$ sudo ln -s /usr/lib/perl5/core_perl/bin/pod2man /usr/bin/

Also I couldn't install some packages:

"not found from repositories, trying AUR..." with openbox icon packages, GTK themes, accesories apps, JDK, sublime, first two of libreoffice. Do I miss some repository or do I need to sync/update them?

Installing firefox and thunderbird does not work. It does nothing without output, just goes back to the selection.

Note: I'm first timer with arch. This script helps a lot and it's awesome! Thanks! smile

Offline

#91 2012-08-14 17:31:57

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

I have added wget.
I founded pacaur install a little buggy (doesnt install unless i install yaourt or packer to install it, so i will remove it).
Some packages are outdated/broken in AUR, they will probably fail if try to install it. Dats bc they are not officially supported.
You can try to install it later, just check the comments (in most of the time there is an awnser there) and edit the PKGBUILD, update it (sometimes i have problem, but isnt a impossible task find the solution, usually is very easy).

Greetings,
Helmuth

EDIT: Pacaur itself its not buggy, but i just doesnt figure out the best way to make it work without installing packer or yaourt to install it.

Last edited by helmuthdu (2012-08-16 10:32:40)

Offline

#92 2012-08-15 06:46:10

buzzqw
Member
Registered: 2010-08-18
Posts: 59

Re: [Script] Archlinux Ultimate Install Script

Hi helmuthdu

very nice and working well script!

just a little bug on --ais mode

i cannot set timezone to "Europa" (should be "Europe" ?)

istantanea-15082012-084421.php

thanks again for this usefull script! (should be used to substitute AIF..)

BHH


HDConvertToX, AutoMen, AutoMKV author

Offline

#93 2012-08-15 11:33:12

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

buzzqw wrote:

Hi helmuthdu

very nice and working well script!

just a little bug on --ais mode

i cannot set timezone to "Europa" (should be "Europe" ?)

http://www.zimagez.com/miniature/istantanea-15082012-084421.php

thanks again for this usefull script! (should be used to substitute AIF..)

BHH

Yeah, dat prob was a bad typo. going to fix this smile
Thx for the tip.

Greetings,
Helmuth

Offline

#94 2012-08-15 22:21:43

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

The script is PURE systemd now. Dropped support for initscripts.
It will configure all options using systemd from now on.
You can run the script again to get a pure systemd system.
Here is one list with the improvements from the sysvinit to systemd.
http://worldofgnome.org/arch-migrates-t … e-support/

Cheers,
Helmuth

Last edited by helmuthdu (2012-08-16 00:40:26)

Offline

#95 2012-08-16 05:47:47

Spyhawk
Member
Registered: 2006-07-07
Posts: 392

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:

I found pacaur a little buggy (will remove it later), try to install those packages with yaourt.

I'm sure the author would be glad to see your bug reports smile

Offline

#96 2012-08-16 06:25:39

buzzqw
Member
Registered: 2010-08-18
Posts: 59

Re: [Script] Archlinux Ultimate Install Script

systemd ? wow that a fast conversion ... thanks helmuthdu

i will try asap!

BHH


HDConvertToX, AutoMen, AutoMKV author

Offline

#97 2012-08-16 10:34:59

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

Spyhawk wrote:
helmuthdu wrote:

I found pacaur a little buggy (will remove it later), try to install those packages with yaourt.

I'm sure the author would be glad to see your bug reports smile

my bad here, i updated my comments... it's not pacaur itself dat is buggy, just the install dat doesnt work like the yaourt or packer.

Offline

#98 2012-08-16 11:11:35

Spyhawk
Member
Registered: 2006-07-07
Posts: 392

Re: [Script] Archlinux Ultimate Install Script

helmuthdu wrote:

my bad here, i updated my comments... it's not pacaur itself dat is buggy, just the install dat doesnt work like the yaourt or packer.

Glad to know smile

Not sure how you did it in your script, but something like the following should be sufficient to pull all required binary dependencies (curl, yajl, expac, sudo)

$ curl -o PKGBUILD http://aur.archlinux.org/packages/cower/PKGBUILD && makepkg -si
$ curl -o PKGBUILD http://aur.archlinux.org/packages/pacaur/PKGBUILD && makepkg -si

pod2man is required to generate the man page, and should be delivered with perl (in base group).

Anyway, I don't mind if you don't add it in your script. I'm just a bit surprised as installing pacaur shouldn't be that different from yaourt, as both require an aur dependency (cower/package-query). Installing packer is indeed simpler.

Last edited by Spyhawk (2012-08-16 11:12:45)

Offline

#99 2012-08-16 12:52:23

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

Spyhawk wrote:
helmuthdu wrote:

my bad here, i updated my comments... it's not pacaur itself dat is buggy, just the install that doesnt work like the yaourt or packer.

Glad to know smile

Not sure how you did it in your script, but something like the following should be sufficient to pull all required binary dependencies (curl, yajl, expac, sudo)

$ curl -o PKGBUILD http://aur.archlinux.org/packages/cower/PKGBUILD && makepkg -si
$ curl -o PKGBUILD http://aur.archlinux.org/packages/pacaur/PKGBUILD && makepkg -si

pod2man is required to generate the man page, and should be delivered with perl (in base group).

Anyway, I don't mind if you don't add it in your script. I'm just a bit surprised as installing pacaur shouldn't be that different from yaourt, as both require an aur dependency (cower/package-query). Installing packer is indeed simpler.

Same thought here, thats why i added it. But for some reason it fails to install.
Here is the function to install aur packages without yaourt/packer:

download_package_aur(){ #{{{
    # get the name of the package from the url: like packer.tar.gz
    PACKAGE_NAME=`echo "$1" | sed 's/.*\///'`
    # remove the .tar.gz, this will be the directory name.
    PACKAGE_DIR=`echo "$PACKAGE_NAME" | sed 's/.tar.gz//'`
    # exec command as user instead of root
    su -l $USERNAME -c "
        [[ ! -d downloaded_packages ]] && mkdir downloaded_packages
        cd downloaded_packages
        [[ ! -f $PACKAGE_NAME ]] && wget $1
        tar zxvf $PACKAGE_NAME
        cd $PACKAGE_DIR
        makepkg -si --noconfirm
        cd ..
        rm -fr $PACKAGE_DIR
    "
} #}}}

I will try your way to install it, it seems to be way better then the way that i do here.

Greetings,
Helmuth

EDIT: I have replaced the wget with curl, i can install packer and yaourt, but still fails to install pacaur with a new system (its a hidden option: number 3 in the aur-helper menu).

Last edited by helmuthdu (2012-08-16 14:30:20)

Offline

#100 2012-08-16 12:58:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: [Script] Archlinux Ultimate Install Script

Would it kill you to write "that" instead of "dat"?

Offline

Board footer

Powered by FluxBB