Error installing package from AUR. /usr/lib64 exists in filesystem
I installed the package zoneminder-xinetd 1.27.0-1 using the instruction on the wiki, the installation finished successfully. then I realized that the package was outdated, so I uninstalled it using "sudo pacman -R zoneminder-xinetd", manually edit the files .AURINFO and PKGBUILD to get the new version, compiled successfully using 'makepkg -s' but when I'm try to install it(sudo pacman -U zoneminder-xinetd-1.28.0-1-x86_64.pkg.tar.xz) I got this error:
error: failed to commit transaction (conflicting files)
zoneminder-xinetd: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
I also tried to install this other package https://aur.archlinux.org/packages/zoneminder after removing some unwanted dependencies but i get the same error.
fsckd wrote:Pacman 4.2 handles symlinks differently than past versions of pacman. Allan's blog has a good description (see the section "Directory Symlink Handling") http://allanmcrae.com/2014/12/pacman-4-2-released/. I suggest you inform the maintainers of those packages so that they may update the PKGBUILDs.
Thanks for the quick answer.
I solved this issue by adding "-DCMAKE_INSTALL_LIBDIR=/lib" to the cmake in the PKGBUILD. The mantainer of the zoneminder package solved this already by adding "-DZM_PERL_SUBPREFIX=/lib/perl5 \".
Also, I adopted the zoneminder-xinetd package .
Similar Messages
-
[Solved]Error with installing package: /usr/lib64 exists in filesystem
So i know there are other posts about this and i have read them and I have also read the wiki https://wiki.archlinux.org/index.php/De … _in_.2Flib and also this forum post https://bbs.archlinux.org/viewtopic.php?id=156942
the error i get when trying to install a package from the AUR
error: failed to commit transaction (conflicting files)
hp-health: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
I tried to find who owned the files/package in the /lib by the following commands
$ grep '^lib/' /var/lib/pacman/local/*/files
$ find /lib -exec pacman -Qo -- {} +
the output was
/lib is owned by filesystem 2015.02-1
Im confused what to do at this point as the wiki that I linked above says
If any package apart from glibc is listed as owning a file, that package needs to be updated to install its files in /usr/lib
Last edited by PigsInSpace (2015-03-01 02:25:24)You are following directions for a file conflict with /lib for a very specific one-time manual intervention, but you don't have that file conflict according to the error message you posted and it is not for that intervention. See this instead: https://wiki.archlinux.org/index.php/Pa … 9.22_error then report the error on the aur page for that package.
This fixes it:
package() {
cd "$srcdir"
+ mv usr/lib64 usr/lib
cp -a opt usr var "$pkgdir" -
[SOLVED] Update fails ("/usr/lib64 exists in filesystem")
Hi,
today I wanted to update my arch linux. I selected all packages:
bash-4.2.042-2 filesystem-2013.01-1 gcc-4.7.2-4 gcc-libs-4.7.2-4 glibc-2.17-2 linux-api-headers-3.7.4-1 mkinitcpio-0.12.0-3 sudo-1.8.6.p5-1 transmission-gtk-2.76-2
But then I've got following error (translated from German to English)
Error: Could not complete procedure (conflicts in files)
filesystem: /usr/lib64 exists in filesystem
Any idea?
Best regards
Steffo
Last edited by Steffo (2013-01-27 12:42:45)swordfish wrote:
Please have a look at this:
https://wiki.archlinux.org/index.php/De … i%3Ausrlib
This doesn't work:
sudo pacman -U -d http://pkgbuild.com/~allan/glibc-2.16.0-1-x86_64.pkg.tar.xz
I get following error:
error: failed to commit transaction (conflicting files)
glibc: /lib/ld-linux-x86-64.so.2 exists in filesystem
glibc: /lib/libBrokenLocale.so.1 exists in filesystem
glibc: /lib/libanl.so.1 exists in filesystem
glibc: /lib/libc.so.6 exists in filesystem
glibc: /lib/libcidn.so.1 exists in filesystem
glibc: /lib/libcrypt.so.1 exists in filesystem
glibc: /lib/libdl.so.2 exists in filesystem
glibc: /lib/libm.so.6 exists in filesystem
glibc: /lib/libnsl.so.1 exists in filesystem
glibc: /lib/libnss_compat.so.2 exists in filesystem
glibc: /lib/libnss_db.so.2 exists in filesystem
glibc: /lib/libnss_dns.so.2 exists in filesystem
glibc: /lib/libnss_files.so.2 exists in filesystem
glibc: /lib/libnss_hesiod.so.2 exists in filesystem
glibc: /lib/libnss_nis.so.2 exists in filesystem
glibc: /lib/libnss_nisplus.so.2 exists in filesystem
glibc: /lib/libpthread.so.0 exists in filesystem
glibc: /lib/libresolv.so.2 exists in filesystem
glibc: /lib/librt.so.1 exists in filesystem
glibc: /lib/libthread_db.so.1 exists in filesystem
glibc: /lib/libutil.so.1 exists in filesystem
Errors occurred, no packages were upgraded. -
[SOLVED] install package from aur via yaourt
Hi,
i installed yaourt and tried to install from the aur.
it keeps asking me to continue bulding and then restart building. it just wont install any packages.
for none-aur packages it works fine btw.
any help?
alex
Last edited by alext (2011-10-11 23:13:53)me too and it didnt.
[xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
1 aur/ntfs-config 1.0.1-7 (200)
Enable/disable NTFS write support with a simple click
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
==> Downloading ntfs-config PKGBUILD from AUR...
x PKGBUILD
x python-2.7.patch
Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
Can you check if:
sudo mkdir /etc/hal/fdi
sudo touch /etc/hal/fdi/policy
solves the problem?
Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
Updated with the solution to the mentioned problem.
Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
Please, add perl-xml-parser as makedep :)
Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
Done. Thank you :)
First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
ntfs-config 1.0.1-7
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> ntfs-config dependencies:
- python2 (already installed)
- pygtk (already installed)
- udev (already installed)
- ntfs-3g (already installed)
- perl-xml-parser (already installed)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'core' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'extra' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community-testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'multilib' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
==> Continue building ntfs-config ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for ntfs-config:
Password:
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
error: target not found: recognized.
==> Restart building ntfs-config ? [y/N]
==> ------------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> ntfs-config dependencies:
- python2 (already installed)
- pygtk (already installed)
- udev (already installed)
- ntfs-3g (already installed)
- perl-xml-parser (already installed)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'core' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'extra' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community-testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'multilib' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
==> Continue building ntfs-config ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for ntfs-config:
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
error: target not found: recognized.
==> Restart building ntfs-config ? [y/N]
==> ------------------------------------
==>
==> WARNING: Following packages have not been installed:
ntfs-config
Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
Last edited by alext (2011-10-11 22:16:58) -
[SOLVED] Error '/usr/lib64 exists' while installing adol-c
I just tried to install adol-c from the AUR. At the end of the install I ran into this error message:
error: failed to commit transaction (conflicting files)
adol-c: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
The install generated these errors earlier on:
Prefix /usr not writable
please run ./configure --prefix=DIR
with a writable directory path otherwise administrator privileges
will be required to run `make install'
libtool: warning: remember to run 'libtool --finish /usr/lib64'
Does this mean the adol-c package wanted to create /usr/lib64? That seems weird.
(I used yaourt.)
Last edited by khouli (2015-05-21 00:25:13)Ah, good to know. Yep, /usr/lib64 is a symlink to /usr/lib.
Here's the snippet from the PKGBUILD that sets --prefix. It isn't actually naming /usr/lib64 explicitly.
./configure --enable-sparse --with-colpack=/usr --prefix=/usr --enable-shared=no
If I try changing --prefix to /usr/lib then I get essentially the same error but it notes that now it's /usr/lib that isn't writable instead of /usr.
Prefix /usr not writable
please run ./configure --prefix=DIR
with a writable directory path otherwise administrator privileges
will be required to run `make install'
This is all occurring as part of a makepkg command so getting an error about privileges has me confused.
Last edited by khouli (2015-05-20 10:34:14) -
Package from AUR failed to install after doing many steps, how to rm?
How can I see what files have been left on my hard drive after a package failed to install. I can't pacman -Rsu the package because it didnt install, but now i got some other packages that i don't need then. and probably some other stuff while the package was being extracted..
How can i prevent from leaving a messy trail?Yeah gen2ly, i was using yaourt to get a package from AUR.
I was able to uninstall the extra packages that were uninstalled, but is it possible that when the PKGBUILD failed that it left some random files somewhere? That's what I trully want to know. The other dependancies i have already removed.
Hey thanks for the info on unzip, Runiq! unzip works miracles!!!! I installed it, and now the front end "File Roller" AKA "Archive Manager" in Gnome can suddenly handle .zip files! It's awesome! no need for p7zip or xarchiver.
Every newbie or windows transferee should know about it!
But anyways, is it possible the failed PKGBUILD left files somewhere? -
Can't install Ejecter from AUR
Hi everyone
I've been trying to install Ejecter from AUR using yaourt, but I get an error and the installation aborts.
This is what the terminal tells me:
Checking for program gcc,cc : ok /usr/bin/gcc
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for gcc : ok
Checking for program valac : ok /usr/bin/valac
Checking for gthread-2.0 : Traceback (most recent call last):
File "/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/.waf3-1.5.9-92e9dcf84354592025d5265e05eb8bc4/wafadmin/Utils.py", line 414, in recurse
txt=readf(base+'_'+name,m='rU')
File "/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/.waf3-1.5.9-92e9dcf84354592025d5265e05eb8bc4/wafadmin/Utils.py", line 379, in readf
f=open(fname,m)
IOError: [Errno 2] No such file or directory: '/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/wscript_configure'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./waf", line 148, in <module>
Abortando...
==> ERROR: Makepkg was unable to build ejecter.
==> Restart building ejecter ? [y/N]
==> --------------------------------
==>
There are no comments on the AUR package, so I don't know if this bugs only happens to me.
Thanks in advance for your help!I have the same problem with Pino from AUR.
==> Starting build()...
Checking for program gcc,cc : ok /usr/bin/gcc
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for gcc : ok
Checking for program valac : ok /usr/bin/valac
Checking for gthread-2.0 : Traceback (most recent call last):
File "/tmp/clyde-johan/pino/pino/src/pino-0.2.10/.waf3-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Utils.py", line 414, in recurse
txt=readf(base+'_'+name,m='rU')
File "/tmp/clyde-johan/pino/pino/src/pino-0.2.10/.waf3-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Utils.py", line 379, in readf
f=open(fname,m)
IOError: [Errno 2] No such file or directory: '/tmp/clyde-johan/pino/pino/src/pino-0.2.10/wscript_configure'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./waf", line 148, in <module>
Aborting...
error: Build failed -
[SOLVED] Unable to build packages from AUR (build: command not found)
I recently hosed the filesystem on my arch install of ~8 months. I reinstalled arch today and didn't have many problems since I had backups of many important config files. Anyways, I still need to get a few programs installed from AUR, but nothing I get from AUR will build.
I download the tarball, extract into a folder in /home/myuser/builds and then go into that folder and run makepkg -s (as always)
It checks the files and extracts/downloads them. Then I get the following error message:
==> Starting build()...
/usr/bin/makepkg: line 741: build: command not found
==> ERROR: Build Failed.
Aborting...
I've run abs and I checked out the abs wiki page, I've also installed base-devel. I am not sure what else I need to do, the error message is not specific enough.
The packages I have been trying to install are ttf-ms-fonts 2.0-7, keepass 2.14-2, and I also tried ttf-vista-fonts 1-3. I am fairly certain that it is not a problem with the PKGBUILD files.
Any ideas? Thanks!
Last edited by fatjake (2011-03-08 01:02:59)cyrus wrote:Have you tried Yaourt?
Nope, haven't tried that, I think mainly because I wanted to learn how to use pacman and how to build using ABS. At this point I think I know how to use pacman/abs, as much as this thread might make it appear that I dont
I'll give it a try, as I frequently install software from AUR. In the past I think I let software from the AUR get outdated, Yaourt (clumsy name) sounds like it would help that a bit. Thanks!
Edit: BTW, I really love Arch. I tried it out on a flash drive about 8 months ago (maybe more), and after about 12 hours I was sold and installed it on the drive that Windows XP previously held. Even considering that I had many problems during the initial install, but they were all problems that caused me to learn and were easy to resolve. Seriously, I have lots of Windows tech experience, but only Arch forced me to learn Linux. I had tried Ubuntu previously but it was such a bore, and the problems tended to be hard to find solutions for. I try to convince my other Linux using friends to try arch, but they see it as too hands-on. I don't see it that way, it is very hands off after initial configuration, and the initial config only takes a week or less on the first try and a day and a half (or so) if you re-install. Having backups of your config files is of course a huge deal, and I am glad I had most of those.
Really, I love Arch Linux, it has taught me so much.
Last edited by fatjake (2011-03-08 04:25:15) -
Virtual memory exhausted when compiling packages from AUR
Recently I've seen this error more and more often. When I tried compiling some packages from AUR, I ended up getting "virtual memory exhausted" error. The first time it happened with clementine-git, then android-studio. Can I do something about it?
I am also facing the same problem. I am trying to install a package, and the installations aborts saying 'virtual memory exhausted'. The RAM is 2 GB and i have alloted 2 GB as swap. Things i have tried so far
-install using yaourt
-install using makepkg.
-change TMPDIR to HDD.
Even when i tried it without any window manager to start, limiting the RAM usage, the problem still persists. The only way is to allot an extra swap space, but that would mean that i will have to delete a partition, which is not a feasible solution. Is there anything else one could do. ?
if it helps,
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 16033
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16033
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited -
[SOLVED] Building VCS packages from AUR fails
Hello,
Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
==> ERROR: Unknown download protocol: svn
Aborting...
When the build starts, makepkg actually downloads source files properly. Any clues?
Last edited by yuan_modu (2015-04-02 16:31:03)Trilby wrote:How many packages has this happened with? Can you give an example of one that produces this error? If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
Indeed I didn't merge the conf files of clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
VCSCLIENTS=('bzr::bzr'
'git::git'
'hg::mercurial'
'svn::subversion')
and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
Last edited by yuan_modu (2015-04-02 13:08:21) -
Any point to install OSS from AUR?
I have my sound working great with ALSA, I'm just curious if there's any benefit to installing OSS from AUR (http://aur.archlinux.org/packages.php?ID=7134) ??
I use the package, though not from the AUR. I downloaded mine directly from 4Front Tech's website: http://www.opensound.com/
I went this route because they provide the specific driver for my m-audio soundcard. In this thread: http://bbs.archlinux.org/viewtopic.php?id=44072 NoOneImportant noted that the sound is better than vanilla alsa. -
Script to rebuild all installed packages from ABS
I realize pacbuilder is for that, but it doesn't seem to work properly for me. Skipping a lot of packages etc.
Anyway, I've made this very simple script to just rebuild every installed package from core/extra/community. Sorry for the localized echo output, but I think it's all very simple and straightforward to understand.
Edit:
I've improved it a bit, now it should work flawlessly and remember what stuff it has to finish no matter when you ^C out of it. Also it installs all compiled packages, if you want to avoid that, remove -i switch from makepkg.
#!/bin/sh
# user configuration
absdir="/home/mateusz/abs/autobuild"
pkgdir="/home/mateusz/abs/packages"
pkgfile="/home/mateusz/abs/autobuild.list"
# end of user configuration
topabs="/var/abs"
if [ ! -d $absdir ]; then
mkdir -pv $absdir
fi
if [ ! -d $pkgdir ]; then
mkdir -pv $pkgdir
fi
echo "(autobuild) Uaktualnianie bazy abs..."
sudo abs
if [ ! -f $pkgfile ]; then
echo "(autobuild) Tworzę listę pakietów do zbudowania..."
pacman -Qq > $pkgfile
else
echo "(autobuild) Znaleziono poprzedni build."
echo "(autobuild) Jeżeli nie chcesz go wykorzystać, skasuj $pkgfile"
fi
for pkgname in $(cat $pkgfile); do
echo "(autobuild) Szukanie pakietu $pkgname..."
find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
if [ -d "$absdir/$pkgname" ]; then
echo "(autobuild) Budowanie pakietu $pkgname..."
cd "$absdir/$pkgname"
makepkg -csir --noconfirm > /dev/null
if [ $? -eq 0 ]; then
echo "(autobuild) Pakiet zbudowany."
cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
mv $pkgfile.tmp $pkgfile
else
echo "(autobuild) Błąd budowania pakietu!"
fi
else
echo "(autobuild) Pakiet nieodnaleziony!"
cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
mv $pkgfile.tmp $pkgfile
fi
done
echo "(autobuild) Linkowanie pakietów do $pkgdir..."
find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
echo "(autobuild) Zakończono."
exit 0
Last edited by xaff (2009-05-03 13:47:17)Here is the script translated into English (with a bit of help from Google Translate, as well as grammar cleanup).
#!/bin/sh
# user configuration
absdir="/home/aabbott/abs/autobuild"
pkgdir="/home/aabbott/abs/packages"
pkgfile="/home/aabbott/abs/autobuild.list"
# end of user configuration
topabs="/var/abs"
if [ ! -d $absdir ]; then
mkdir -pv $absdir
fi
if [ ! -d $pkgdir ]; then
mkdir -pv $pkgdir
fi
echo "(autobuild) Updating the ABS database..."
sudo abs
if [ ! -f $pkgfile ]; then
echo "(autobuild) Creating a list of packages to build..."
pacman -Qq > $pkgfile
else
echo "(autobuild) Found a previous build."
echo "(autobuild) If you don't want to use this build, delete ${pkgfile}."
fi
for pkgname in $(cat $pkgfile); do
echo "(autobuild) Searching for $pkgname..."
find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
if [ -d "$absdir/$pkgname" ]; then
echo "(autobuild) Building $pkgname..."
cd "$absdir/$pkgname"
makepkg -csir --noconfirm > /dev/null
if [ $? -eq 0 ]; then
echo "(autobuild) $pkgname built."
cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
mv $pkgfile.tmp $pkgfile
else
echo "(autobuild) There was an error when building ${pkgname}!"
fi
else
echo "(autobuild) $pkgname not found!"
cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
mv $pkgfile.tmp $pkgfile
fi
done
echo "(autobuild) Linking to $pkgdir..."
find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
echo "(autobuild) Finished."
exit 0 -
[yaourt] update only packages from aur
I just switched from my own aur_update script to yaourt, because it handles dependencies.. But how to only update packages from aur?
Last edited by lessthanjake (2010-01-15 09:37:35)Ape wrote:
Xyne wrote:
Can you do something like this (assuming yaourt supports pacman's "--needed" flag):
yaourt -S --needed $(pacman -Qqm)
If not, you can try bauerbill which does (or at least should) recognize the "--needed" flag.
That just tries to reinstall (and rebuild as we are talking about AUR) all the AUR packages that are installed. Even the ones that doesn't need any updates.
Xyne wrote:(assuming yaourt supports pacman's "--needed" flag)
Obviously it doesn't. You're welcome to try bauerbill, which should do what you want using the code above. -
How to install packages from local folder
Hi all,
I have downloaded all arch linux packages from the following URLs:
ftp://mirrors.kernel.org/archlinux/core/os/i686/
ftp://mirrors.kernel.org/archlinux/extra/os/i686/
ftp://mirrors.kernel.org/archlinux/community/os/i686/
and then have saved them to an external hard disk. Then I have attached that external hard disk to my system and packages are available in following folders:
/mnt/external_hd/Arch_Linux/Core-OS/
/mnt/external_hd/Arch_Linux/Extra-OS-1/
/mnt/external_hd/Arch_Linux/Extra-OS-2/
/mnt/external_hd/Arch_Linux/Community-OS-1/
/mnt/external_hd/Arch_Linux/Community-OS-2/
/mnt/external_hd/Arch_Linux/Community-OS-3/
Now I want to install some or all packages from these folder with the help of pacman command. I am seeing that package corresponding to wvdial command is available in the /mnt/external_hd/Arch_Linux/Extra-OS-1/ folder. But how to use pacman command so that I can install wvdial package from that folder?
In addition to this if I want to install ALL Extra Packages available in the folders /mnt/external_hd/Arch_Linux/Extra-OS-1/ and /mnt/external_hd/Arch_Linux/Extra-OS-2/ then how to execute the pacman command?
Please send me step by step instructions so that I shall be able to install some or all downloaded packages.
I shall remain thankful for this forever.
Best Regards ...
Pankaj KumarHi fukawi2,
Thanks for reply and searching for my username on google. It is true that I am a freelance s/w developer but I am not installing Arch Linux for any client. I am installing it due to some other reasons. In fact I started working on Red Hat and then on Fedora when I was a student of bachelor degree course in computer applications. Then later I searched open suse and started using it. I am using open suse from its 10.1 version. However the recent version of this distribution has become much resource consuming. So I am in the need of a light weight linux distribution. And I encountered Arch Linux. Then I purchased its installation disk from an online shop and installed it on my system. But only text mode is working at this moment. Since I want to use X window and so I started to follow the syntax of pacman command. But it is connecting to internet. Since my internet connection is slow (average speed of 10kbps) and so I requested the same online shop to download all packages from Arch Linux repository and send them to me. Therefore now I am having all those packages in my local external hard disk drive in the folder mentioned in my first post. Now I want to install packages from these folder. And so in order to get help I have come to this forum.
I have also followed the steps given on the pages https://wiki.archlinux.org/index.php/Pa … l_commands and https://wiki.archlinux.org/index.php/Pa … repository. But when I am trying to install a particular package using the following command:
pacman -U wvdial
then it is asking for a dependency. I know that the dependent package in my local folder but why it is not being automatically taken by pacman command? Can you please explain it.
That is why I am asking help only for customization and usages of pacman in order to install packages from local folder. But each member in this forum is only referring to long written manuals and not giving me exact solution which I think will involve four/five steps.
Best Regards ...
Pankaj Kumar -
error installing LR2 from CD
Hi Rodrigo,
Which OS are you using?
Mentioned below are the links for downloading both the MAC & Windows version of Photoshop Lightroom 2.0.
Adobe Photoshop Lightroom 2 English Mac
http://trials.adobe.com/Applications/LTRM/2/LTRM2_WWEFG_mac.dmg
Adobe Photoshop Lightroom 2 English Windows
http://trials.adobe.com/Applications/LTRM/2/LTRM2_WWEFG_win.exe
Please visit the link below
http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml
& follow the very important instructions to download the programs from the above links.
Thanks
Maybe you are looking for
-
System or program crashes when converting from NEF to DNG
Hello Adobe. First off, I love your software. Second, this is my concern. You guys are pushing DNG as the go to raw format. That would be great if it worked good, but it doesn't. First, when I convert from my Nikon NEF format (Nikon D7100) it chugs a
-
We have some entries posted to this vendor X at the time of initial upload (2006), which are showing as open item in the vendor line item details. The accounting entry is passed as follows: Dr Initial Bal-creditors A/C Cr Vendor A/C We want to clear
-
Need a new g5 power cord/cable
where can i get one? anyone know? i don't want to end up with an old G3 cable that does not work, etc.
-
Can't import Quick time into FCE
I converted some images from I photo into a QT movie but I'm unable to import into FCE. I'm using a G5 with OS 10.4.8, FCE 3.5.1, QT 7.1.3, and IPhoto 6.0.5. Everytime I attempt to import I get this message.... file error: 1file(s) recognized, 0 acce
-
User Tracking - Application error: URN_NOT_FOUND
hello running ciscoworks 3.2 on Windows 2008 SP2 - installed apps are: 1. Campus Manager 5.2.1 2. CiscoView 6.1.9 3. CiscoWorks Assistant 1.2.0 4. CiscoWorks Common Services 3.3.0 5. Device Fault Manager 3.2.0 6. Integration Utility