Pacman forgot installed packages
When there was the bug with the libxfixes file, I uninstalled the whole Xorg package. But now i recognized, that pacman forgot all installed packages, what means i cant really upgrade my system. Is there a way to recover the database of installed packages? Or any other possible solution?
greetz
issue
well, I cleared the local dir.
I dunno exactly how i remoeved Xorg, but I think with -Rs.
Then I reinstalled Xorg but found the problem again. So i cleared all local pacman files, means I deleted the local folder . I am now thinking about installing all the packages on the base CD.
pacman -Syu updates the new installed files, which i installed since this mistake
Similar Messages
-
Using pacman to install packages into a seperate root
After working with an Arch Linux machine for 1-2 years I switched jobs and was given a Mac, which I've enjoyed so far.
I would, however, like to switch back to Arch Linux but there's something that I've been able to do on Mac OS X using its unofficial package manager Homebrew (http://mxcl.github.com/homebrew/) which I was wondering if it were possible with pacman.
Typically you have one installation of Homebrew, at /usr/local, and by running 'brew' (/usr/local/brew) it knows that its root is at /usr/local & looks there for all dependencies & installs packages there. If, however, you install homebrew elsewhere (could be the first or a second installation), for instance ~/sw, then running brew from there will install packages in that root.
I've found this very useful to install package specific to a project I'm working on (specific vendor & version of DB, specific web server etc) without having to install them globally on my system and at the same time without having to resort to installing everything by hand (including dipendencies).
Is this possible with Pacman?
Thanks in advance,
Dalethis wiki isn't entirely related, but can be helpful.
https://wiki.archlinux.org/index.php/Ar … bit_System
4. Sync pacman:
pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -Sy
5. Install the base and optionally base-devel groups:
pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel -
Making Pacman find installed packages
Hi, I have recently built a LinuxFromScratch system.
When I finished, I looked at installing package managers, and eventually settled on pacman.
Everything built OK, updated with -Syu fine.
However when I go to install a package with pacman -S package, it tries to download all the necessary packages like linux-api-headers, glibc, bash, etc.
All the basic system packages I have already installed...
The install then fails because these packages already exist.
linux-api-headers: /usr/include/asm-generic/auxvec.h exists in filesystem
there is around 6000 lines of that.
Is there any way I can make pacman recognise these packages as installed?
Last edited by Wigguno (2010-11-29 02:51:11)I think you are doing it wrong....
If you want to run LFS using pacman, you need to create the relevant packages yourself and then install them using pacman. The first time will require you to "force" the installation of your packages over the LFS ones unless you prepare the package management back when you first enter your LFS chroot. It can be done but is not entirely simple.
What you appear to be doing is grabbing packages from the Arch repos to install on your LFS system. That is a really, really bad idea. You either create your own (LFS) packages or install Arch, Mixing is bad...
I highly recommend the "symlink" style package management system for LFS. There are also scripts floating around that help you manage the symlinks so you can have the feeling of a package manager without really having one. But I think you will soon find that maintaining a LFS system is not all it is cracked up to be and LFS is really just a learning tool.
As an aside, Arch started as a LFS system and we tend to follow the fairly simple base setup that is used there. -
Pacman isn't showing all the installed packages
Hey guys!
Since last week pacman isn't showing all the installed packages in my system. If I issue the command pacman -Q it just returns the following packages:
a52dec 0.7.4-4
acl 2.2.49-2
alsa-lib 1.0.23-2
atk 1.32.0-1
attr 2.4.44-2
avahi 0.6.28-1
bash 4.1.009-3
bzip2 1.0.6-1
cairo 1.10.2-1
cairo-perl 1.061-3
compositeproto 0.4.2-1
coreutils 8.10-1
cracklib 2.8.18-1
damageproto 1.2.1-1
db 5.1.19-3
dbus 1.4.1-1
dbus-core 1.4.1-1
desktop-file-utils 0.18-1
e2fsprogs 1.41.14-1
expat 2.0.1-6
faac 1.28-2
ffmpeg 20110121-2
filesystem 2010.12-1
findutils 4.4.2-3
fixesproto 4.1.2-1
fontconfig 2.8.0-1
freetype2 2.4.4-2
gcc-libs 4.5.2-6
gdbm 1.8.3-8
gdk-pixbuf2 2.22.1-1
gettext 0.18.1.1-1
glib-perl 1.223-2
glib2 2.26.1-1
glibc 2.13-1
gmp 5.0.1-2
gnutls 2.10.4-1
gtk2 2.22.1-1
gtk2-perl 1.222-2
gzip 1.4-2
heimdal 1.3.3-4
iana-etc 2.30-1
imagemagick 6.6.7.3-1
inputproto 2.0.1-1
kbproto 1.0.5-1
lame 3.98.4-1
lcms 1.19-1
libarchive 2.8.4-2
libcap 2.20-1
libcups 1.4.6-1
libdaemon 0.14-1
libdatrie 0.2.4-1
libdrm 2.4.23-1
libdv 1.0.0-3
libdvdread 4.1.3-2
libfetch 2.33-1
libgcrypt 1.4.6-1
libgl 7.10-1
libgpg-error 1.9-2
libice 1.0.7-1
libjpeg 8.3.0-1
libldap 2.4.23-1
libmp4v2 1.9.1-1
libmpeg2 0.5.1-1
libogg 1.2.2-1.1
libpng 1.4.5-1
libsasl 2.1.23-5
libsm 1.2.0-1
libtasn1 2.8-1
libthai 0.1.14-1
libtheora 1.1.1-1
libtiff 3.9.4-1
libtool 2.4-2
libva 1.0.8-1
libvdpau 0.4.1-1
libvorbis 1.3.2-1
libvpx 0.9.5-2
libx11 1.4.1-1
libxau 1.0.6-1
libxaw 1.0.9-1
libxcb 1.7-1
libxcomposite 0.4.3-1
libxcursor 1.1.11-1
libxdamage 1.1.3-1
libxdmcp 1.1.0-1
libxext 1.2.0-1
libxfixes 4.0.5-1
libxft 2.2.0-1
libxi 1.4.1-1
libxinerama 1.1.1-1
libxml2 2.7.8-1
libxmu 1.1.0-1
libxpm 3.5.9-1
libxrandr 1.3.1-1
libxrender 0.9.6-1
libxt 1.0.9-1
libxv 1.0.6-1
libxxf86vm 1.1.1-1
linux-api-headers 2.6.37-1
lzo2 2.04-1
mjpegtools 1.9.0-4
ncurses 5.7-4
opencore-amr 0.1.2-1
openjpeg 1.3-3
openssl 1.0.0.d-1
orc 0.4.11-1
pacman 3.4.3-1
pacman-cage 2.9.8.2-4
pacman-mirrorlist 20101223-1
pam 1.1.3-1
pango 1.28.3-1
pango-perl 1.221-3
pcre 8.12-1
perl 5.12.3-1
perl-anyevent 5.24-1
perl-event 1.13-3
perl-event-execflow 0.64-2
perl-gtk2-ex-formfactory 0.66-2
perl-libintl-perl 1.20-2
pixman 0.20.2-1
popt 1.16-3
randrproto 1.3.2-1
readline 6.1.002-2
renderproto 0.11.1-1
schroedinger 1.0.10-1
sdl 1.2.14-6
shadow 4.1.4.2-4
shared-mime-info 0.90-1
sqlite3 3.7.5-1
tar 1.25-1
texinfo 4.13a-5
transcode 1.1.5-5
tzdata 2010o-1
util-linux-ng 2.18-4
videoproto 2.3.1-1
x264 20110115-1
xcb-proto 1.6-2
xextproto 7.1.2-1
xf86vidmodeproto 2.3.1-1
xineramaproto 1.2.1-1
xproto 7.0.20-1
xvidcore 1.2.2-1
xz 5.0.1-1
zlib 1.2.5-3
Here you can see a shot of my /var/lib/pacman/local directory, containing just a few directories related to the packages above.
I have a lot more installed in my system, eg. the holl KDE system.
Is there a command/workaround to make these missing packages appear again in pacman?!
Thanks in advance.
Last edited by estevao (2011-02-11 17:29:52)Spider.007 wrote:
Leonid.I wrote:
mcmillan wrote:You probably can do some searching to track it down (or rewrite something similar if you know how) prior to going through with a complete reinstall.
... which (complete reinstall) will be required with high probability, since all the solutions proposed above will most likely break the system
Arch Linux is more than just GNU/Linux -- it's an adventure
I think your signature is either too sarcastic, or too much in contrast with what you are posting here. A damaged database is really no big deal, and the only things that the proposed solutions attempt to do is that pacman re-installs a package (which changes close to nothing in your actual installation) and then write that update to its database.
I do not agree with your statement that the probability of a required reinstall are high. Actually, I would say they are pretty low
There is nothing sarcastic about my sig. Indeed, what would be the fun of using a system, which never breaks?
Regarding the probability of a reinstall either my opinion, or yours is irrelevant for the topic of this discussion.
Finally, I would like to draw your attention to the little thingie in the end of my post: ":)" . It's called smiley and was put there for a reason, you know... -
Can't update/search/install packages via pacman or yaourt
Everything was fine until I manually installed package-query and yaourt and now I am unable to update/search/install packages via pacman or yaourt.
Earlier I was having trouble installing the package-query and yaourt packges using pacman so had to install them manually and now it wont connect to the repos.
My eth0 is up, the proxies are set, all browsers work so no problem from the network side.
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.us.leaseweb.net : Connection timed out after 10001 milliseconds
error: failed retrieving file 'core.db' from mirror.nl.leaseweb.net : Connection timed out after 10001 milliseconds
error: failed retrieving file 'core.db' from mirror.de.leaseweb.net : Connection timed out after 10001 milliseconds
error: failed retrieving file 'core.db' from archlinux.polymorf.fr : Connectionclfarron4 wrote:I usually advise against this (mainly because it's out-dated) but there is the [archlinuxfr] repository for installing yaourt, if you really insist on sticking with it. Once you're done, disable the repository though because everything except for yaourt is out-of-date by at least a month.
Don't ever suggest that. The repo is 100% useless since it is trivial to install yaourt from aur. Also yaourt/package-query in that repo is often broken/outdated.
Also it is not relevant to op's problem anyway. There were some routing issue to leseweb the other day, I also noticed it. Just switching mirror works fine.
Last edited by Mr.Elendig (2013-09-04 13:37:49) -
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! -
How to filter installed packages in Pacman -Ss
I want to search a package in the repos but I don't want to see installed packages, I want to see only uninstalled packages. Is it possible? It is not very important or urgent, but I want to know if it is possible.
@Trilby, @ progandy
Thank you for your posts.
@progandy
I wrote a simple bash function with your answer, now I have what I want. Thank you again.
pacmanSs ()
if [ -z "$1" ] ; then
echo "Write something to search..."
else
pacman --color=always -Ss $1 | sed '/\S.*\[installed\]/,/^\s/d'
fi -
Pacman keeps installing the same packages
when I do pacman -Syu, it always wants to install:
# pacman -Syu
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (10): brltty-3.10-1 dmidecode-2.10-1 gstreamer0.10-good-0.10.11-1 libsoup-2.24.3-1
gstreamer0.10-good-plugins-0.10.11-1 gstreamer0.10-ugly-0.10.10-1 gstreamer0.10-ugly-plugins-0.10.10-1
libtheora-1.0-1 poppler-0.10.2-1 poppler-glib-0.10.2-1
Total Download Size: 0.00 MB
Total Installed Size: 30.17 MB
but
# pacman -Q brltty
brltty 3.10-1
Why?# ls -ld /var/lib/pacman/local/brltty*
drwxr-xr-x 2 root root 43 2009-02-01 18:36 /var/lib/pacman/local/brltty-3.10-1
drwxr-xr-x 2 root root 43 2008-09-03 22:05 /var/lib/pacman/local/brltty-3.9-1 -
Unable to update some packages: pacman thinks installed ones are newer
Hi all,
pacman gives me this warning on updates:
[root@beta ~]# pacman -Syu
:: Synchronizing package databases...
current is up to date
extra is up to date
:: Starting full system upgrade...
warning: ion: local (20070203-1) is newer than extra (3rc_20070506-1)
warning: jdk: local (6-2) is newer than extra (6u1-1)
local database is up to date
What should I do?
Thanks,
Fabio Varesanoshining wrote:
ravisghosh wrote:how about running rankmirror with all the mirrors (from all over the world). That will select the fastest (and probably nearest) one anyway. Am I right.
I guess the main problem is that it'll take much more time, without any benefits, because the nearest mirror are generally the fastest. Am I wrong ?
Though, there are probably some regions that are not well deserved (not much mirrors, and of poor quality), in this case you might want to extend it a bit. But mirrors at the opposite of the globe are generally not very fast
you'd be surprised. Here in Australia, there's an irish mirror I get great speeds from, despite ireland being literally on the other side of the planet. Yet closer neighbors, like japan, and some south east asian countries, I get terrible speeds. -
Qpkg somehow forgot all its installed packages
I'm not quite sure how I screwed this up, but qpkg has lost its list of previously installed packages (usefull for updating them). Is there a way to rebuild this list?
Yeah it looks like qpkg stores PKGBUILD, the files needed to be built and the filelist under ~/qpkg.cache
for bashburn, it looks like:
insgesamt 96K
-rw-r--r-- 1 jakob users 74K 8. Mai 15:54 BashBurn-1.7.1.tar.gz
-rw-r--r-- 1 jakob users 864 8. Mai 15:54 PKGBUILD
-rw-r--r-- 1 jakob users 403 8. Mai 15:54 bashburnrc.patch
-rw-r--r-- 1 jakob users 4,9K 8. Mai 15:54 filelist
/home/jakob/qpkg.cache/bashburn
So now you know, what you have to do to make it believe you installed some pkgs via qpkg!
(i just renamed a dir and did a qpkg -u. qpkg then searched for the new dir as package) -
[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) -
Reinstall the installed packages
hi
I have dual boot system Ubuntu + Arch linux and I wanted to configure arch through chroot. unfortunatly I forgot to mount /dev and /proc so it got some errors during upgrade.
/tmp/alpm_xXzQ7F/.INSTALL: line 7: /dev/null: Permission denied
or
/sbin/mkinitcpio: line 253: /dev/null: Permission denied
I didn't start the system yet but I would like to reinstall packages if its posible. I found this command
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")
and it returns
error: no targets specified (use -h for help)
which is not so strange cause
pacman -Qmq
returns nothing which is strange
Any help would be apriciated.The "target" for your command is missing, s/b:
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)" >pkglist)
This command is used to generate a list of installed packages such that they can be re-installed by pacman:
#pacman -S $(cat pkglist)
....EDIT
This pkglist has to be accessed possibly through usb flash such that the re-install is accomplished for the packages in the pkglist.
Please google "re-install pacman packages" for more accurate info( my info from memory).
Your /var/cache/pacman/pkg may not contain the desired packages altho I have no reason to believe it won't.
Last edited by lilsirecho (2009-11-05 18:22:25) -
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 -
[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... -
Pacman fails on package android-glass-gdk-19
Upon trying to run makepkg -s on this package https://aur.archlinux.org/packages/android-platform-19/
I encounter the following error:
[charles@cat android-glass-gdk-19]$ ls
PKGBUILD source.properties.xz
[charles@cat android-glass-gdk-19]$ makepkg -s
==> Making package: android-glass-gdk-19 xe22_r11-1 (Fri Feb 20 01:12:46 EST 2015)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: android-platform-19
==> ERROR: 'pacman' failed to install missing dependencies.
[charles@cat android-glass-gdk-19]$
perhaps anyone has any suggestions?Oh okay, perhaps there is a way around this? I can see that the android-platform-19 target is not found, how can I get pacman to install this?
I can tell by your shorthanded response I should perhaps take my question to the newbie corner?
Maybe you are looking for
-
Hi All, I created KM scheduler for my portal task(fetching the data from third party site and saving that in a file in KM). Initially it works fine but later I changed some code in the portal appliocation and again redeploy the application then it is
-
Transferring Plans from SOP to CO-PA
Dear Friends I am working on the integration of SOP and CO-PA, can you plz let me know the configuration relating to the transfer of SOP(Flexible planning) plans to CO-PA an Vice versa, if possible also the steps(transactions with codes) for transfer
-
Why cant I save some PDF files?
Why is it that for some PDF files under "Files" the "Save As..." function isnt working!
-
Hi all i need to preview some various type of document that i save in my db. I use POI to create my own ms document and it work, but i 'don't know if is possible to preview, without ms office, documents that i save from filesystem. Any idea?
-
Converting sparseimage to sparsebundle
Does anyone know how to do this? I tried using hdiutil with the following command: hdiutil convert /Volumes/"Time Capsule HD"/iMacC2DTMBkp.sparseimage -format UDSB iMacC2DTMBkp.sparsebundle and got back the following error msg. "hdiutil[76355:10b] Er