ArchPup 12.12.2

For talk and support relating specifically to Puppy derivatives
Message
Author
oui

#421 Post by oui »

bark_bark_bark wrote:You can't use pacman to install packages from the AUR. The AUR contains no actual packages, just sources and scripts. Those files are used to locally create a package and install it. These packages aren't actually thoroughly tested enough for use by a normal user.
oh, ok! thant you for this important info bark_bark_bark! what is then the way to locally create a package and install it (I need this package because all my pointers in the web are in the user data of it; this is the reason why I did try at last to use slitaz since version 12.12.1, because if I would have continued to use the now obsolete 12.12, I would not preserve my contact with the actual version of ArcPup...

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#422 Post by bark_bark_bark »

I don't remember how to do it, but you need Arch to do it. I haven't used Arch Linux in a long time.
....

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#423 Post by stifiling »

oui wrote:what is then the way to locally create a package and install it

Code: Select all

yaourt -S icecat
any of these packages here can be installed using yaourt

almost 40,000 of them.

oui

#424 Post by oui »

oh, thank you very much and I will try it immediately! I leave for that the forum now! bye!

oui

#425 Post by oui »

hm

it is really not easy to use such AUR packages as yaourt is not preinstalled and no valid AUR depos. is written in /etc/pacman.d/mirrolist

pacman refuses to install yaourt because one dependency is missing.

pacman doesn't "see" the founded repository added as:
in mirrorlist.

so that yaourt doesn't work! nothing to do more :x

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#426 Post by stifiling »

oui,

delete:

Code: Select all

Server = http://repo.archlinux.fr/i686
out of your mirrorlist file

edit the file /etc/pacman.conf and add archlinuxfr in under community so it looks like this:

Code: Select all

[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
save the file and do a:

Code: Select all

pacman -Syy yaourt
yaourt -S icecat
also sfs_load the archdev-12.12.sfs

let's see how that works out.

oui

#427 Post by oui »

Hi Stifiling,

Thank you!

Hm, the installation of yaourt didn't end with success...
And it seems to me, not to be the ideal way as it needs itself dependencies making automatic ArchPup bigger for user remastering ArchPup.

I would propose that you or sigmarl generate a new archdev-12.12.2.sfs where yaourt and a short help file for use of archpup as well as a new more adequate /etc/pacman.conf with links to really good AUR depositories would be immediately included, so that in Arch sciences non experimented user as I can start as easily as it is easy to use ArchPup itself :idea:

kind rgds

[root@archpup ~]# pacman -Syu
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
warning: database file for 'archlinuxfr' does not exist
:: Synchronizing package databases...
core 106.1 KiB 105K/s 00:01 [######################] 100%
extra 1431.6 KiB 295K/s 00:05 [######################] 100%
community 1816.5 KiB 296K/s 00:06 [######################] 100%
archlinuxfr 34.0 KiB 305K/s 00:00 [######################] 100%[root@archpup ~]# pacman -Syu
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
warning: database file for 'archlinuxfr' does not exist
:: Synchronizing package databases...
core 106.1 KiB 105K/s 00:01 [######################] 100%
extra 1431.6 KiB 295K/s 00:05 [######################] 100%
community 1816.5 KiB 296K/s 00:06 [######################] 100%
archlinuxfr 34.0 KiB 305K/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: ignoring package replacement (libjpeg-8.0.2-1 => libjpeg-turbo-1.2.1-1)
warning: ignoring package replacement (libsystemd-196-2 => systemd-196-2)
warning: menu-cache: ignoring package upgrade (0.3.3-1 => 0.4.0-1)
warning: pango: ignoring package upgrade (1.30.1-1 => 1.32.3-1)
warning: ignoring package replacement (systemd-tools-196-2 => systemd-196-2)
warning: tint2-svn: local (20121024-1) is newer than archlinuxfr (646-1)
warning: ignoring package replacement (udev-175-1 => systemd-196-2)
there is nothing to do
[root@archpup ~]# pacman -Syy yaourt
:: Synchronizing package databases...
core 106.1 KiB 110K/s 00:01 [######################] 100%
extra 1431.6 KiB 296K/s 00:05 [######################] 100%
community 1816.5 KiB 296K/s 00:06 [######################] 100%
archlinuxfr 34.0 KiB 304K/s 00:00 [######################] 100%
resolving dependencies...
looking for inter-conflicts...

Targets (4): gettext-0.18.1.1-4 package-query-1.1-2 yajl-2.0.4-1
yaourt-1.2.2-1

Total Download Size: 5.05 MiB
Total Installed Size: 14.21 MiB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
gettext-0.18.1.1-4-i686 4.9 MiB 285K/s 00:18 [######################] 97%
:: Retrieving packages from extra...
yajl-2.0.4-1-i686 5.0 MiB 272K/s 00:19 [######################] 98%
:: Retrieving packages from archlinuxfr...
package-query-1.1-2... 5.0 MiB 271K/s 00:19 [######################] 99%
yaourt-1.2.2-1-any 5.1 MiB 271K/s 00:19 [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
gettext: /usr/bin/gettext exists in filesystem
gettext: /usr/bin/gettext.sh exists in filesystem
Errors occurred, no packages were upgraded.

:: Starting full system upgrade...
warning: ignoring package replacement (libjpeg-8.0.2-1 => libjpeg-turbo-1.2.1-1)
warning: ignoring package replacement (libsystemd-196-2 => systemd-196-2)
warning: menu-cache: ignoring package upgrade (0.3.3-1 => 0.4.0-1)
warning: pango: ignoring package upgrade (1.30.1-1 => 1.32.3-1)
warning: ignoring package replacement (systemd-tools-196-2 => systemd-196-2)
warning: tint2-svn: local (20121024-1) is newer than archlinuxfr (646-1)
warning: ignoring package replacement (udev-175-1 => systemd-196-2)
there is nothing to do
[root@archpup ~]# pacman -Syy yaourt
:: Synchronizing package databases...
core 106.1 KiB 110K/s 00:01 [######################] 100%
extra 1431.6 KiB 296K/s 00:05 [######################] 100%
community 1816.5 KiB 296K/s 00:06 [######################] 100%
archlinuxfr 34.0 KiB 304K/s 00:00 [######################] 100%
resolving dependencies...
looking for inter-conflicts...

Targets (4): gettext-0.18.1.1-4 package-query-1.1-2 yajl-2.0.4-1
yaourt-1.2.2-1

Total Download Size: 5.05 MiB
Total Installed Size: 14.21 MiB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
gettext-0.18.1.1-4-i686 4.9 MiB 285K/s 00:18 [######################] 97%
:: Retrieving packages from extra...
yajl-2.0.4-1-i686 5.0 MiB 272K/s 00:19 [######################] 98%
:: Retrieving packages from archlinuxfr...
package-query-1.1-2... 5.0 MiB 271K/s 00:19 [######################] 99%
yaourt-1.2.2-1-any 5.1 MiB 271K/s 00:19 [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
gettext: /usr/bin/gettext exists in filesystem
gettext: /usr/bin/gettext.sh exists in filesystem
Errors occurred, no packages were upgraded.

simargl

#428 Post by simargl »

Hi oui,

you don't need yaourt to install packages from AUR, just load archdev sfs it already has packer inside; and type

Code: Select all

packer -S icecat
Also you cant include AUR in /etc/pacman.conf because it is not packages repository.
It contains only build scripts called PKGBUILD and you build packages for yourself.
I hope this is clear.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#429 Post by anikin »

Hi simargl et al,

my first encounter with AUR ended in failure:

Code: Select all

[root@archpup ~]# packer -S eeepc-linux

Aur Targets    (1): eeepc-linux

Proceed with installation? [Y/n] Y
tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
No PKGBUILD found in directory.
[root@archpup ~]#
what directory it is refering to and how do I put PKGBUILD there?

simargl

#430 Post by simargl »

Looks like something is wrong with eeepc-linux tarball from AUR, tar reports it as wrong format.
Try downloading manually from http://aur.archlinux.org
Edit:
Here is modified PKGBUILD, first load kernel source sfs
then extract this archive and from that folder run

Code: Select all

makepkg --asroot
Worked for me but I'm using kernel 3.7.2, so will not upload package
Please report results
Attachments
eeepc-linux.tar.gz
(10.96 KiB) Downloaded 692 times

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#431 Post by anikin »

Downloading the kernel source now.

Code: Select all

makepkg --asroot

Is this the final step - and it will be installed?

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#432 Post by anikin »

It didn't work.

Code: Select all

[root@archpup eeepc-linux]# makepkg --asroot
==> ERROR: Cannot find the strip binary required for object file stripping.
[root@archpup eeepc-linux]# 

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#433 Post by stifiling »

anikin wrote:It didn't work.

Code: Select all

[root@archpup eeepc-linux]# makepkg --asroot
==> ERROR: Cannot find the strip binary required for object file stripping.
[root@archpup eeepc-linux]# 
download the archdev-12.12.sfs to the folder /mnt/home

and load it with sfs handler. then try 'makepkg --asroot'

the strip binary and all the compiling tools are in the archdev-12.12.sfs

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#434 Post by anikin »

Still no joy.

Code: Select all

[root@archpup eeepc-linux]# makepkg --asroot
==> Making package: eeepc-linux 0.39a1-8 (Fri Jan 18 19:18:43 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
==> Retrieving Sources...
  -> Found asus_eee-0.39a1.tar.gz
  -> Found asus_eee-0.39a1-spinlock-kernel-2.6.39.patch
==> Validating source files with md5sums...
    asus_eee-0.39a1.tar.gz ... Passed
    asus_eee-0.39a1-spinlock-kernel-2.6.39.patch ... Passed
==> Extracting Sources...
  -> Extracting asus_eee-0.39a1.tar.gz with bsdtar
==> Starting build()...
==> Patching...
patching file asus_eee.c
Makefile:47: /lib/modules/3.6.8/build/.config: No such file or directory
make: *** No rule to make target `/lib/modules/3.6.8/build/.config'.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...
[root@archpup eeepc-linux]# 

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#435 Post by stifiling »

anikin wrote:Still no joy.
also download and load the file linux-3.6.8-12.12.sfs

after it's loaded...do:

Code: Select all

ln -s /usr/src/linux-3.6.8 /lib/modules/3.6.8/build
and try the 'makepkg --asroot' once again

simargl

#436 Post by simargl »

After you install package with pacman -U pkgname, type

Code: Select all

modprobe asus_eee
to load module. Is it working?

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#437 Post by anikin »

simargl wrote:Is it working?
Not yet.

Code: Select all

[root@archpup eeepc-linux]# ln -s /usr/src/linux-3.6.8 /lib/modules/3.6.8/build 
ln: failed to create symbolic link '/lib/modules/3.6.8/build': File exists
[root@archpup eeepc-linux]# makepkg --asroot
==> Making package: eeepc-linux 0.39a1-8 (Fri Jan 18 19:48:32 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
==> Retrieving Sources...
  -> Found asus_eee-0.39a1.tar.gz
  -> Found asus_eee-0.39a1-spinlock-kernel-2.6.39.patch
==> Validating source files with md5sums...
    asus_eee-0.39a1.tar.gz ... Passed
    asus_eee-0.39a1-spinlock-kernel-2.6.39.patch ... Passed
==> Extracting Sources...
  -> Extracting asus_eee-0.39a1.tar.gz with bsdtar
==> Starting build()...
==> Patching...
patching file asus_eee.c
Makefile:47: /lib/modules/3.6.8/build/.config: No such file or directory
make: *** No rule to make target `/lib/modules/3.6.8/build/.config'.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...
[root@archpup eeepc-linux]# 

simargl

#438 Post by simargl »

Hm.. for me it compiled in seconds, must be those wrong links - that is only change I made
in this newer kernel. Did you try stifiling's advice:

Code: Select all

ln -s /usr/src/linux-3.6.8 /lib/modules/3.6.8/build
ln -s /usr/src/linux-3.6.8 /lib/modules/3.6.8/source
Last edited by simargl on Fri 18 Jan 2013, 19:05, edited 1 time in total.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#439 Post by stifiling »

anikin,

do:

Code: Select all

rm -rf /lib/modules/3.6.8/build
ln -s /usr/src/linux-3.6.8 /lib/modules/3.6.8/build
and then try makepkg --asroot

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#440 Post by anikin »

almost there

Code: Select all

[[root@archpup eeepc-linux]# makepkg --asroot 
==> Making package: eeepc-linux 0.39a1-8 (Fri Jan 18 20:39:28 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found asus_eee-0.39a1.tar.gz
  -> Found asus_eee-0.39a1-spinlock-kernel-2.6.39.patch
==> Validating source files with md5sums...
    asus_eee-0.39a1.tar.gz ... Passed
    asus_eee-0.39a1-spinlock-kernel-2.6.39.patch ... Passed
==> Extracting Sources...
  -> Extracting asus_eee-0.39a1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
==> Patching...
patching file asus_eee.c
make: nothing to be done for 'patch'.
make[1]: Entering directory `/tmp/eeepc-linux/src/asus_eee-0.39a1'
cd /lib/modules/3.6.8/build && make -C /lib/modules/3.6.8/build M=/tmp/eeepc-linux/src/asus_eee-0.39a1 modules
make[2]: Entering directory `/usr/src/linux-3.6.8'
  CC [M]  /tmp/eeepc-linux/src/asus_eee-0.39a1/asus_eee.o
  Building modules, stage 2.
  MODPOST 1 modules
  LD [M]  /tmp/eeepc-linux/src/asus_eee-0.39a1/asus_eee.ko
make[2]: Leaving directory `/usr/src/linux-3.6.8'
make[1]: Leaving directory `/tmp/eeepc-linux/src/asus_eee-0.39a1'
==> Tidying install...
  -> Purging unwanted files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Finished making: eeepc-linux 0.39a1-8 (Fri Jan 18 20:39:34 CET 2013)
[root@archpup eeepc-linux]# pacman -U eeepc-linux 0.39a1-8
loading packages...
error: 'eeepc-linux': could not find or read package
[root@archpup eeepc-linux]# 

Post Reply