[SOLVED] Installing package gerbv=2.6.0
I need to install package pcb2gcode which is no more under active development (stated here) and it needs package gerbv=2.0.6.
The problem is that in AUR there is no gerbv=2.6.0 only gerbv=2.6.1 so package pcb2gcode somehow lost its functionality. Is it possible to post a version gerbv=2.6.1 on the AUR? I found the source and I installed it
sudo wget [url]http://sourceforge.net/projects/gerbv/files/gerbv/gerbv-2.6.0/gerbv-2.6.0.tar.gz/download[/url] -O gerbv.tgz
tar xvzf gerbv.tgz
cd gerbv-2.6.0
./configure && make
sudo cp src/.libs/libgerbv.so.1.0.7 /usr/lib/libgerbv.so.1.0.7
but there is a problem because pacman didn't register gerbv=2.6.0 as installed although I could use it. So I still can't install pcb2gcode. I tried to download the PKGBUID together with other source files from the newest gerbv package so that I coul'd use pacman to install it. Build I failed. I modified the PKGBUILD like this:
# $Id$
# Maintainer: Kyle Keen <[email protected]>
# Contributor: Jared Casper <[email protected]>
# Contributor: Stefan Husmann <[email protected]>
pkgname=gerbv
pkgver=2.6.0
pkgrel=2
pkgdesc="An open source Gerber file (RS-274X only) viewer"
#url="http://gerbv.gpleda.org/"
url="http://gerbv.geda-project.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2' 'shared-mime-info' 'hicolor-icon-theme')
optdepends=('gdk-pixbuf: export of images' 'cairo: for better graphics')
makedepends=('cvs' 'gettext')
# cvs for autopoint
install=$pkgname.install
source=("http://sourceforge.net/projects/gerbv/files/gerbv/gerbv-2.6.0/gerbv-2.6.0.tar.gz"
"reautopointissues.diff")
md5sums=('9a8af19574025fb15f987c3df610f8ae'
'55c3aac2af1f99a88dfa7b1508594e49')
build ()
cd "$srcdir/$pkgname-$pkgver"
# remove patches on 2.6.2
patch -Np1 -i ../reautopointissues.diff
./autogen.sh
sed -i 's|am_aux_dir=`cd $ac_aux_dir|am_aux_dir=`cd $srcdir|' configure
./configure --prefix=/usr \
--disable-update-desktop-database
make
package()
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
Then I did the makepkg -si and I got an md5sum error which I fixed with using command updpkgsums. Now I rebuilt it and got this error:
[ziga@ziga-cq56 gerbv-2.6.0]$ makepkg -si
==> Making package: gerbv 2.6.0-2 (Mon Mar 10 14:08:15 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gerbv-2.6.0.tar.gz
-> Found reautopointissues.diff
==> Validating source files with md5sums...
gerbv-2.6.0.tar.gz ... Passed
reautopointissues.diff ... Passed
==> Extracting sources...
-> Extracting gerbv-2.6.0.tar.gz with bsdtar
==> Starting build()...
patching file po/ru.po
patching file configure.ac
Hunk #1 succeeded at 34 with fuzz 2 (offset -6 lines).
patching file man/Makefile.am
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 35.
2 out of 2 hunks FAILED -- saving rejects to file man/Makefile.am.rej
patching file man/gerbv.ru.1.in.po
patching file autogen.sh
Hunk #1 succeeded at 54 (offset -26 lines).
patching file configure.ac
Hunk #1 succeeded at 26 with fuzz 1 (offset -1 lines).
==> ERROR: A failure occurred in build().
Aborting...
Last edited by 71GA (2014-03-11 12:28:32)
karol wrote:Have you tried building http://pastebin.com/3Hxtp1cH ?
Thank you. How did you find this?
I used the gerbv.install file from the official repository and the PKGBUILD you provided. I will post them here just in case anyone else needs it:
PKGBUILD:
# Maintainer: Thomas Krug <[email protected]>
# Contributor: Kyle Keen <[email protected]>
# Contributor: Jared Casper <[email protected]>
# Contributor: Stefan Husmann <[email protected]>
pkgname=gerbv
pkgver=2.6.0
pkgrel=1
pkgdesc="An open source Gerber file (RS-274X only) viewer"
#url="http://gerbv.gpleda.org/"
url="http://gerbv.geda-project.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2' 'shared-mime-info' 'hicolor-icon-theme')
optdepends=('gdk-pixbuf: export of images' 'cairo: for better graphics')
makedepends=('cvs' 'gettext')
# cvs for autopoint
install=$pkgname.install
source=("http://downloads.sourceforge.net/gerbv/$pkgname-$pkgver.tar.gz")
md5sums=('44a37dd202bc60fab54cbc298a477572')
build ()
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-update-desktop-database
make
package()
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# vim:set ts=2 sw=2 et:
gerbv.install:
post_install() {
if [ -x /usr/bin/gtk-update-icon-cache ]; then
echo Updating icon cache...
/usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
fi
if [ -x /usr/bin/update-desktop-database ]; then
echo Updating desktop database..
/usr/bin/update-desktop-database /usr/share/applications
fi
post_upgrade() {
if [ -x /usr/bin/gtk-update-icon-cache ]; then
echo Updating icon cache...
/usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
fi
if [ -x /usr/bin/update-desktop-database ]; then
echo Updating desktop database..
/usr/bin/update-desktop-database /usr/share/applications
fi
Last edited by 71GA (2014-03-11 12:24:43)
Similar Messages
-
[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] Install package python-evdev from AUR
I belive this is the correct section to post this but I have a problem installing the package python-evdev where I get the error ( Unsupported package: Potentially dangerous ! )
after trying to install with yaourt and pip install python-evdev results in bash: pip: command not found even after checking that extra/python-setuptools 1:5.2-1 is installed
and extra/python2-setuptools 1:5.2-1 is installed.
I realize there are other modules for hooking x server events but this one I have already written 200 lines of code for and is key to my application working. I was able to install
and utilize this module in ubuntu but cannot seem to get it installed in archlinux. Any guidance would be apreciated.
Last edited by meschael (2014-06-25 00:34:58)I asumed pip came with setup tools, so following ids1024's lead I did a pacman -S python-pip which solved the command not found issue. I downloaded and untar'ed the package from AUR and issued a makepkg -s from within the extracted folder. There seems to be an issue with the licence which I can now see has to do with the person who make the package
I did not realize the dynamics of how AUR works because I am new to arch, so I appologize if I bothered anyone.
[Update] I have abondoned the idea of getting pythons evdev module installed as I have located a python3-xlib module which seems to have installed correctly, incidently I was unable to locate a xlib ported to python3 in my other distro, but found it in AUR here so this should work, will have to adapt my code but not the end of the world. Else if (Xlib != WORKING): work directly with /dev/input/eventn using root
Last edited by meschael (2014-06-25 00:34:03) -
(Solved)Install packages from Usb/Flashdrive or Dvd-see last post
Hi,i just started using linux and have what's problay going to sound like a dumb question.can i download packages and put them on a Usb/Flashdrive or dvd and install them with pacman.I have a rocket stick usb modem and cant get it to connet to the net because im missing a package (wvdial).Any help with this will be appreciated.Thx
BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
http://bbs.archlinux.org/viewtopic.php?id=83206
Last edited by unilx (2009-10-26 15:51:30)you can surely put those packages onto a removable media & to install those packs with pacman you need to copy those to /var/cache/pacman/pkg directory.
then just do
pacman -S package
BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
can't understand this. might be u r saying that u burned wvdial to a dvd & it wasn't there, so there are chances that that dvd is corrupt or burning didn't happen properly
Last edited by vik_k (2009-10-23 05:42:52) -
[Solved] Installing packages on MacBook Pro 8.1, No Internet!
I'm trying to install archlinux to a partition (I'm dual booting) on my MacBook Pro Early 2011 model, my issue is I can not have a wired connection since my ethernet port is broken.
So my plan is to download all the base and base-devel packages from the packages on this webstie, and install from a portable device. From there I'll download and install the wireless drivers (from AUR) for my MacBook, connect to the internet and continue the Arch installation from there.
So far I downloaded the base and base-devel packages. Now I'm confused on how to install them from my mounted USB without pacman. I don't know how to work with pacstrap so maybe there is a command on that script I can use to install the packages from my USB to my system?
(I know with pacman i can use pacman -U /path-to-install-from)
Can someone help me out?
Last edited by mastrgamr (2013-04-15 18:40:41)For clarity sake, I'll assume a few things:
You are booting from a live USB of the netinstall image and *not* your internal hard drive.
You say you need files from the AUR, so you must have downloaded the tarballs when you grabbed base and base-devel.
While in the live environment, you have access to these downloaded files (tarballs, base, and base-devel)
You're going to create a local repo on the live USB.
While booted in the live environment, use the repo-add utility to do this. Add all the packages from base and base-devel.
Using the pacman -U command, install your base-devel packages to the live environment. This will allow you to build your AUR packages. Do that, and then add the newly created packages to your local repo.
Once you've done both of these, modify /etc/pacman.conf to point only to the local repo. From here on in, you should be able to use pacstrap to setup the system as normal. More help here.
Hope that helps! -
[SOLVED] Unable to install packages in lxc container
tl;dr: lxc-console should be used for logging in, not lxc-attach. Also, I had to do some additional work to get the tty to work in systemd, and I plan to update the wiki soon.
I created a container using the following command:
# lxc-create -n test -t archlinux
Once created and configured, I started the container daemonized, and attached:
# lxc-start -n test -d
# lxc-attach --clear-env -n test -- su - root
However, I am unable to install any software packages because GPG isn't working properly
[root@test ~]# pacman -Syu openssh
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (3): ldns-1.6.17-1 libedit-20130601_3.1-1 openssh-6.5p1-2
Total Installed Size: 6.08 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [###########################] 100%
(3/3) checking package integrity [###########################] 100%
error: GPGME error: Inappropriate ioctl for device
error: GPGME error: Inappropriate ioctl for device
error: GPGME error: Inappropriate ioctl for device
error: libedit: missing required signature
:: File /var/cache/pacman/pkg/libedit-20130601_3.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: ldns: missing required signature
:: File /var/cache/pacman/pkg/ldns-1.6.17-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: openssh: missing required signature
:: File /var/cache/pacman/pkg/openssh-6.5p1-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
The container config is as follows:
lxc.utsname=test
lxc.autodev=1
lxc.tty=1
lxc.pts=1024
lxc.rootfs=/var/lib/lxc/test/rootfs
lxc.mount=/var/lib/lxc/test/fstab
lxc.cap.drop=mknod sys_module mac_admin mac_override
lxc.kmsg=0
lxc.stopsignal=SIGRTMIN+4
#networking
lxc.network.type=veth
lxc.network.link=br0
lxc.network.flags=up
lxc.network.name=eth0
lxc.network.ipv4=10.10.209.2/24
lxc.network.ipv4.gateway=10.10.209.1
lxc.network.mtu=1500
#cgroups
lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 1:7 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 136:* rwm
Has anyone else experienced this? I've searched the web for solutions to the GPG error, and most of them relate to GPG not working in a chroot because the right things don't exist in /dev. However, I was under the impression that lxc.autodev=1 would take care of this, and indeed /dev/pts, etc. all exist in the container.
Last edited by archtaku (2014-02-07 23:19:12)x33a wrote:
Try
# pacman-key --refresh-keys
from within the container. Though, I do notice a segmentation fault, so I am not sure if it'll work.
I just did this, and the command succeeded:
gpg: refreshing 75 keys from hkp://pool.sks-keyservers.net
gpg: requesting key 5263801D from hkp server pool.sks-keyservers.net
gpg: requesting key FFF979E7 from hkp server pool.sks-keyservers.net
gpg: requesting key CDFD6BB0 from hkp server pool.sks-keyservers.net
gpg: requesting key 4C7EA887 from hkp server pool.sks-keyservers.net
... snip ...
gpg: Total number processed: 74
gpg: unchanged: 74
However, the installation still failed.
I was able to get pacman to install openssh by turning off signature verification. I then ssh'ed into the container, turned signature verification back on, and was able to install other packages just fine.
So the issue seems to be with how lxc-attach connects to the container. A temporary solution would be:
Add openssh to the list of packages installed when running lxc-create.
# lxc-create -n test -t archlinux -- -P vim,openssh
Attach to the container and run systemctl enable sshd.service, and set a root password
Detach, then ssh into container and go about your business.
However, I'd rather have the option of not using sshd on the container, and still be able to install packages, so I don't necessarily consider this problem solved yet.
Can anyone shed some light on what I might be doing wrong when I attach to the container?
Last edited by archtaku (2014-02-07 16:46:52) -
Clyde can't install packages [SOLVED]
Whenever I try to install a package from clyde (in this case chromium-stable-libpdf), I am returned the following:
:: chromium-stable-libpdf package not found, searching for group...
:: chromium-stable-libpdf group not found, searching AUR...
error: 'chromium-stable-libpdf': not found in sync db
A quick forum search returns quite a few threads with people experiencing the same issue, but these all were solved by simply running pacman -Syy (which I have tried). Pacman seems to work just fine and clyde gives same error when I try with other packages in AUR. I don't install things from AUR very often (last time was probably ~ 2 weeks ago) so I am not certain what package upgrade (if any) would have caused this/when this error started occurring. I know that mirrorlist was updated a little earlier today. Please find my pacman and clyde conf files below (with relevant parts included) and my mirrorlist (I have tried changing to different mirrors). Thank you in advance.
/etc/pacman.d/mirrorlist
# United States
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/x86_64
Server = http://mirror.ece.vt.edu/archlinux/$repo/os/x86_64
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/x86_64
Server = http://mirrors.hosef.org/archlinux/$repo/os/x86_64
Server = http://hpc.arc.georgetown.edu/mirror/archlinux/$repo/os/x86_64
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
/etc/pacman.conf
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[multilib]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
/etc/clyde.conf
# CLYDE OPTIONS
[clydeoptions]
Editor = vim
#Colors are enabled by default. To disable them, uncomment the following line
#NoColor
#Searching AUR is enabled by default. Uncomment the following line to only search with --aur
#ReposOnly
#You must set this to a normal user to install packages from AUR safely while running without sudo
BuildUser = tripsun
#Modify the following line to specify the directory in which clyde should build packages from AUR
#BuildDir = /var/cache/clyde
# /etc/clyde.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[multilib]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
Last edited by Tripsun (2011-03-15 17:23:45)Thanks, rebuilding clyde-git worked. Is there a particular reason why it broke all of the sudden?
Last edited by Tripsun (2011-03-15 19:29:02) -
[SOLVED] gotmail. cant install package
Hi i want to download my hotmail mails to close that account, but find myself unable to install gotmail, any ideas?
Thanks!
[aleyscha@aleyscha ~]$ yaourt -S gotmail
==> Continue the building of 'gotmail'? [Y/n]
==> ----------------------------------------------
==>
==> Building and installing package
==> Making package: gotmail 0.9.0-2 (Fri Jan 25 08:38:31 PST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found gotmail-0.9.0.tar.bz2 in build dir
==> Validating source files with md5sums...
gotmail-0.9.0.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f gotmail-0.9.0.tar.bz2
gotmail-0.9.0/COPYING: Can't create 'gotmail-0.9.0/COPYING': Permission denied
gotmail-0.9.0/Makefile: Can't create 'gotmail-0.9.0/Makefile': Permission denied
gotmail-0.9.0/VERSION: Can't create 'gotmail-0.9.0/VERSION': Permission denied
gotmail-0.9.0/gotmail.spec: Can't create 'gotmail-0.9.0/gotmail.spec': Permission denied
gotmail-0.9.0/gotmail.1.gz: Can't create 'gotmail-0.9.0/gotmail.1.gz': Permission denied
gotmail-0.9.0/gotmail.man: Can't create 'gotmail-0.9.0/gotmail.man': Permission denied
gotmail-0.9.0/gotmail: Can't create 'gotmail-0.9.0/gotmail': Permission denied
gotmail-0.9.0/ChangeLog: Can't create 'gotmail-0.9.0/ChangeLog': Permission denied
gotmail-0.9.0/README: Can't create 'gotmail-0.9.0/README': Permission denied
gotmail-0.9.0/sample.gotmailrc: Can't create 'gotmail-0.9.0/sample.gotmailrc': Permission denied
gotmail-0.9.0/gotmail4evolution: Can't create 'gotmail-0.9.0/gotmail4evolution': Permission denied
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract gotmail-0.9.0.tar.bz2
Aborting...
Error: Makepkg was unable to build gotmail package.
Last edited by leo2501 (2008-01-25 22:59:44)solved!! i download GetLive and is retrieving all my messages! what a wonderful script here it is:
http://sourceforge.net/projects/getlive/
Now i can close that damn account -
[SOLVED] cannot install package query
I want to install yaourt, but I can't seem to install package query. I acquired the tarball from here and followed all the steps here
[maarten@maarten ~]$ cd ~/src
[maarten@maarten src]$ tar -zxvf package-query.tar.gz
package-query/
package-query/PKGBUILD
[maarten@maarten src]$ cd ~/src/package-query
[maarten@maarten package-query]$ makepkg -s
==> Making package: package-query 1.0.1-1 (Sun Jul 8 11:09:03 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading package-query-1.0.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 361k 100 361k 0 0 205k 0 0:00:01 0:00:01 --:--:-- 226k
==> Validating source files with md5sums...
package-query-1.0.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting package-query-1.0.1.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.26.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... git
checking for .git/... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
package-query:
Build information:
source code location : .
prefix : /usr
sysconfdir : /etc
conf file : /etc/pacman.conf
localstatedir : /var
database dir : /var/lib/pacman/
compiler : gcc
compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
package-query version : 1.0.1
using git version : no
git ver :
Variable information:
root working directory : /
aur base url : [url]http://aur.archlinux.org[/url]
make all-recursive
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
Making all in src
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
alpm-query.c: In function 'alpm_pkg_get_realsize':
alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function 'ltostr':
util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'itostr':
util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'concat_backup_list':
util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'string_fcat':
util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
Making all in doc
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/maarten/src/package-query/pkg/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/maarten/src/package-query/pkg/usr/bin/package-query
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
Making install in doc
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/share/man/man8"
/usr/bin/install -c -m 644 package-query.8 '/home/maarten/src/package-query/pkg/usr/share/man/man8'
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: package-query 1.0.1-1 (Sun Jul 8 11:09:18 CEST 2012)
[maarten@maarten package-query]$ dir
PKGBUILD package-query-1.0.1.tar.gz src
package-query-1.0.1-1-i686.pkg.tar.xz pkg
[maarten@maarten package-query]$ sudo pacman -U package-query-1.0.1-1-i686.pkg.tar.xz
Password:
loading packages...
error: 'package-query-1.0.1-1-i686.pkg.tar.xz': invalid or corrupted package (PGP signature)
I already reran pacman-key --init and pacman-key --populate archlinux after removing the allready acquired signatures (/etc/pacman.d/gnupg). But it keeps returning the same error.
Do I need to add another key manually to install packages manually from the AUR?
Last edited by maartennnnnnn (2012-07-08 09:44:01)I edited your post to change the \[quote\] tags to \[code\] tags - it makes for a much easier to read post
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Two options are to change your SigLevel or sign your own key... -
[Solved] rebuild a currently installed package
hey everyone! a while ago, i accidentally pacman -Scc rather than just -Sc because i was being dumb and not paying attention, and now it turns out that i actually need one of those packages i deleted. is it possible to re-make a currently installed package from the the files scattered around my system?
Last edited by shmibs (2013-09-16 15:19:45)@OP - Not what you asked, but be aware that you can look for the package and build an older version yourself. Example for [extra]/vim:
https://www.archlinux.org/packages/extra/x86_64/vim/
*Click 'view changes'
*Let's say I want to build package version 7.3.515-1 for some reason
*Click 'upgpkg: vim 7.3.515-1'
*Click the link next to 'Download' to grab the tarball
*Extract it and go into '/path/to/archive/trunk'
*There you will find all the needed files to build said package -
Hullo,
I know this is a common error judging by the results google lists for that subject. But all sollutions I found don't work for my specific case.
My battery died on my laptop and when I rebooted and tried to install a package pacman complained the database was locked (can't remember if I was installing something or else while my battery died, happend while I was away).
So since I've just rebooted I deleted the lock-file by hand. Now when ever I tried to install something it would complain:
error: xyz: signature from "xyz @ zyx" is unknown trust
:: File /var/cache/pacman/pkg/packagexyz.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
So I removed /etc/pacman.d/gnupg, cleared the package-cache and ran pacman-key --init:
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: Generating pacman keyring master key...
gpg: key B99666F8 marked as ultimately trusted
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
followed by pacman-key --populate archlinux:
==> Appending keys from archlinux.gpg...
gpg: no valid OpenPGP data found.
==> Updating trust database...
gpg: no need for a trustdb check
and pacman-key --refresh-keys:
gpg: refreshing 1 key from hkp://pool.sks-keyservers.net
gpg: requesting key B99666F8 from hkp server pool.sks-keyservers.net
gpgkeys: key AA3E1E751B31AB9C2E6CDA64F2A911E7B99666F8 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
==> ERROR: A specified local key could not be updated from a keyserver.
It looks like it's not doing much. Anyway, trying to install packages or upgrading the system results in me having to import a bunch of keys and then failing with the before mentioned error.
Anything I can do?
Thanks
Last edited by hachel (2014-02-24 11:50:56)Rexilion wrote:Reinstall archlinux-keyring maybe? And then perform the commands you listed earlier.
Worked, thank you! -
When I run:
$ yaourt -Syu
/usr/bin/pacman -Sy
:: Synchronizing package databases...
2012-01-17 12:12:20 (23.4 KB/s) - saved “/var/lib/pacman/sync/archlinuxfr.db.part” [28637/28637])
$
Then run:
$yaourt -Syua
:: Synchronizing package databases...
2012-01-17 12:12:20 (23.4 KB/s) - saved “/var/lib/pacman/sync/archlinuxfr.db.part” [28637/28637])
acpitool: Orphan
clearlooksosx-icon-theme: Orphan
xecjk: Orphan
Foreign packages: \ 103 / 103
$
It no longer shows the installed packages list, just counting in one line "Foreign packages: \ 103 / 103" and exit without updating. Is this normal?
Last edited by hooluupog (2012-01-18 04:25:06)mod action: Moving from Pacman & Package Upgrade Issues to AUR Issues, Discussion & PKGBUILD Requests.
-
Check installed packages integrity? [Solved - script inside]
Hi,
is it possible to check installed packages for integrity - i.e. missing/changed files, etc. I looked at pacman man, but found nothing ...
Last edited by drakosha (2007-06-18 17:53:24)klixon wrote:I guess it uses a directory name for empty directories that are required, so the [ ! -d ] check is still valid...
Oh no, finally it's a little bug in pacman (src/pacman/package.c)
225 if(!stat(path, &buf) && S_ISDIR(buf.st_mode)) {
226 /* if we stat it and it is a dir, don't print */
227 } else {
228 fprintf(stdout, "%s %s\n", pkgname, path);
229 }
If a directory doesn't exist, or is only readable by root, it can't stat it and detect it's a directory, so it'll print it
As root, the only directory it prints is the one which doesn't exist, ie /tmp/ttf-ms-fonts/
because of the special status of the ttf-ms-fonts package.
And as user, it also prints /var/spool/cups/tmp/ , because it doesn't have the right to stat it I guess.
I'm glad i'm doing the opposite of what you're trying to do... That looks a bit more hairy.
lol indeed, that's why I gave up -
[SOLVED] script to backup installed packages
Hi guys,
I know it should be easy, but I keep failing...
I can generate the list of installed packages with:
comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt
and I woudl like to integrate into my backup script.
I was testing it with a script with only two lines:
#! /bin/bash
comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt
but I get:
mkpklist: line 3: syntax error near unexpected token `('
mkpklist: line 3: `comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt '"
I tried different options with brackets in different places, but me being useless with these things I have no idea of what I am doing...
could anyone point me in the right direction?
Thanks a lot
M
Last edited by mcarni (2013-01-09 22:26:34)@mcarni, you know that when you use "sh <script>" you are specifying sh as the shell the script will be run with. In otherwords, you are overriding the shebang (#!/bin/bash) with /bin/sh. On our systems, we actually don't have an actual /bin/sh, as it is a symlink to bash. But when it is called via that symlink, it actually does its best to act like the old bourne shell.
-
[SOLVED] Deleting installed packages
What's the best way to view all my installed packages so I can delete the ones I don't need? I don't mind the terminal but I would prefer a GUI method. I use gnome and gtkpacman, but neither seem to give me the list I need directly.[
Last edited by Csosa (2009-08-01 17:25:09)windtalker wrote:Not trying to hijack the thread as my query does apply to the op but,,,
it's been my understanding for some time it isn't wise to just mass remove orphan packages as some of the packages may be needed by some of the installed apps and aren't true orphans.
If that was the case, then there needs to be a bug report for that package with missing deps.
Maybe you are looking for
-
No longer able to print from wireless MacBook Pro to wired C7280
I originally piggy-backed this onto an existing thread thinking that it was the same issue. It looks like it was something else now, so I figured I probably ought to spin this off onto its own thread. Details: Printer: Photosmart C7280 All-in-One,
-
Breaking down Spry Data Repeat
Hi, I'm trying to create a spry data set in a table from a XML data file. I have done that in below are the codings I obtained from Spry tool. <div spry:region="KomtarETA"> <table> <tr class="TableHeader"> <td width="100">Route</td>
-
XBMC/mplayer and KDE Desktop effects
Hi, i have setup a arch based HTPC with XBMC on top of KDE, but there is one thing i were not able to resolve: The XBMC GUI and playing a video on it gets laggy as soon as i DISABLE the kde desktop effects. My system is i3/sandy bridge based with int
-
Iphoto hid my pictures when i opened a CD of pictures in iphoto
I put in my sisters wedding picture cd and iphoto asked me for an update, i clicked yes, now all 5,000 of my pictures are no longer in iPhoto, but they slide thru on my desktop pictures. They only pictures in iphoto are the 382 from her CD......I am
-
Mail doesn't get mail on waking
Simple situation: Mail is open. Mac goes to sleep. User wakes up Mac. Mail doesn't automatically receive new mail. Clicking "get mail" button does nothing. Quit Mail and reopen. Mail works fine, new messages arrive immediately. Same problem on my i