Tag Info

Hot answers tagged

21

You should be able to reinstall the package with a simple: # pacman -S perl-libwww This will only remove perl-libwww: # pacman -Rdd perl-libwww Please notice the double -d in the command, if you use --nodeps you have to specify that twice too or combine it with a -d like: # pacman -R --nodeps --nodeps perl-libwww # pacman -Rd --nodeps perl-libwww ...


17

From the Pacman Rosetta, since you're looking for the equivalent to apt-file: pkgfile filename pkgfile used to be in the pkgtools package. In recent versions, it's in its own package. To install: pacman -S pkgfile


15

Binaries have been moved to /usr/bin. You need to approach the upgrade in two phases, as per the news article. First remove or update any packages from non-official repos, then update your system in three distinct steps: pacman -Syu --ignore filesystem,bash pacman -S bash pacman -Su If you encounter any difficulties, there is a long thread on the Arch ...


12

IP Network Troubleshooting There are a few standard things you can look for when you are experiencing network connectivity issues. These are listed here from a top-down, or least fundamental to most fundamental issues. All the example ip commands shown here use a Linux-specific tool called iproute2. Many of the tasks can likely be done with ifconfig and ...


12

Firstly, try running pacman -Syy, then try to install sudo again. Check that the repositories are uncommented in /etc/pacman.conf. Or your mirrorlist might be outdated: Generate a current list of mirrors and copy it to /etc/pacman.d/mirrorlist Quoting from this relevant forum thread: You can: pick another mirror try using an http mirror, not ...


12

From man pacman: --noconfirm Bypass any and all “Are you sure?” messages. It’s not a good idea to do this unless you want to run pacman from a script. Note the qualification about using this with care... Arch is a rolling release, which means pacman has to, from time to time, manage some quite complex upgrades. At these times pacman will prompt ...


9

What this error actually says, is that the version of package-query that's installed depends on a lower version of pacman than the one you're trying to upgrade to. This can be solved by running pacman -Rs yaourt; pacman -Syu; and then rebuilding yaourt and package-query.


8

I found the answer on Arch Linux Forums Since pacman 3.4 you can use # pacman -D to modify only the database. So: # pacman -D --asexplicit <pkgs> will make <pkgs> explicitly installed.


7

Pacman won't upgrade Apache using your customized PKGBUILD; you will have to do that manually using ABS. What you can do, is prevent pacman from overwriting your customized package. To expand on Renan's answer, if you have more than one package that you wish to prevent pacman updating, you can include a groups field in the respective PKGBUILDs and then, in ...


7

Nothing is wrong. As the Arch Wiki notes: For this initialization entropy is required. Moving your mouse around, pressing random characters at the keyboard or running some disk-based activity (for example in another console running ls -R / or find / -name foo) should generate entropy. If your system does not already have sufficient entropy, this step may ...


6

If you're downloading packages manually, then it's easiest to install them with pacman: pacman -U curl-7.26.0-1-x86_64.pkg.tar.xz That way they'll also get tracked like any other package. If the reason for this mode of operation was a broken system, just run pacman afterwards (when you can) and the reinstallation will take care of tracking.


6

You delete files with the rm command, e.g.: rm /var/lib/pacman/db.lck I hate to be "that guy", but if you don't know how to delete a file from the Linux command line, Arch is not the Linux distribution for you. Try something easier, like Ubuntu or Linux Mint first.


6

In pacman, you can actually specify the cache directory: --cachedir <dir> set an alternate package cache location So if you plug a USB stick into your computer, you can do a full system upgrade the normal way and just toss the downloaded packages onto the stick, like so: pacman -Syu --cache /media/USB_STICK/pacman/ It doesn't take much space (a ...


6

From the Arch Wiki: To list all packages no longer required as dependencies (orphans): $ pacman -Qdt Or, to recursively remove orphans: orphans() { if [[ ! -n $(pacman -Qdt) ]]; then echo "No orphans to remove." else sudo pacman -Rs $(pacman -Qdtq) fi }


5

There are two separate, but related, issues. First, package-query is an unsupported package (from the AUR) and it is your responsibility to rebuild it whenever other dependencies—in this case pacman—are updated. Uninstall it, update pacman and then rebuild package-query against the newer version. Second, in addition to Shawn's advice to force ...


5

just put your repository above [extra] in pacman.conf. Your file should look like: [core] Include = /etc/pacman.d/mirrorlist [<your custom repository>] Server = <your repository location> [extra] Include = /etc/pacman.d/mirrorlist In this way your haskell packages will automatically be preferred over the official packages from extra with the ...


5

The ARM package has only just been updated; it likely just hasn't propagated to your mirror yet. You can change your mirror in /etc/pacman.d/mirrorlist and then force a rsync of your local database with pacman -Syyu. Or you could just wait for the package to arrive on your current mirror.


5

I'd recommend that you use rvm to manage Ruby versioning. First install rvm: curl -L get.rvm.io | bash -s stable --autolibs=enabled . ~/.rvm/scripts/rvm rvm requirements You'll probably want to source that on shell startup as well, so add it to your ~/.bashrc: cat >> ~/.bashrc << 'EOF' [[ -r ~/.rvm/scripts/rvm ]] && . ...


4

You shouldn't use the -c switch unless you really are sure of what you are doing. From man pacman: -c, --cascade Remove all target packages, as well as all packages that depend on one or more target packages. This operation is recursive, and must be used with care since it can remove many potentially needed packages. You have obviously ...


4

On Arch Linux, the python package contains python 3, and the python2 package contains python 2. Try pacman -Sy python python2 first. Once both of those packages are installed, compiz-fusion and python-qt should install. Oh, and you can't have updated your system in a while. dbus-python doesn't depend on the python package any more, but on the python2 ...


4

As of the end of this month, March 2012, all of the packages in the main databases (Core, Extra, Community and Multilib) and their Testing variants are signed. This means that you are able to, and should consider if you are interested in securing your machine, use Required in your SigLevel. Once you have checked and signed the master keys, it does not take ...


4

I'm not sure why your libcurl.* files are in /usr/local/lib, but mine are in /usr/lib where they're supposed to be. To confirm ldconfig isn't finding them, use ldconfig -p | grep curl It shouldn't print anything, if it does, check the version number, you may have gotten the wrong version. To rectify this, you need to tell ldconfig where to find the libs. ...


4

The problem is the error messages are not send to STDOUT but STDERR. You have to explicitly redirect STDERR as well, e.g: pacman -Q bison patch pkg-config 2>&1 | grep -c 'error' If you have something like bash or zsh you can use |& to automatically redirect STDOUT as well as STDERR: pacman -Q bison patch pkg-config |& grep -c 'error'


4

I think Dennis Kaarsemaker wrote the right thing: reinstall all packages. A few minutes googling revealed this Arch wiki article, with a section on reinstalling all packages. Since you didn't delete /var/cache/pacman/pkg, the process should happen locally. The command looks like this: pacman -Qenq | pacman -S - pacamn -Qeng only lists "explicitly ...


4

The option you are looking for is --noconfirm . It is available in pacman's 8 man page and is also available here however, it is best to avoid using it and is highly recommended to always read and understand pacman's output.


3

curl: (7) couldn't connect to host According to curl, it couldn't connect to the host. There may be many reasons for this, such as the file not being located on the server. My advice would be to try again later and if that doesn't work then to contact the host where the file is being downloaded from.


3

All of the packages can be viewed online in the Arch Package Database. Once you have located your package, simply view it in svntogit. If you use surfraw, there is even an elvis for the package database... Another alternative to Chris' answer is, if you have ABS installed, is just to read the PKGBUILD or $pkg-install file from your /var: For example, if ...


3

The most likely reason you are seeing packages with pacman -Qe that you don't remember installing is that they were part of a "group" (like base-devel, etc) that you installed. Side Note: I have personally also been looking for a while to switch a package from "explicit" to "implicit" (and even vice-versa) without reinstalling it, it even taking a package I ...


3

pacman -S has a --asexplicit flag that should do what you want. For example: > pacman -Qi mutagen ... Install Reason : Installed as a dependency for another package > pacman -S --asexplicit mutagen warning: mutagen-1.20-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... Targets (1): mutagen-1.20-1 ...


3

Yes It's not too hard. Make sure you have followed the instructions on Is it possible to update, upgrade and install software before flashing an image? carefully and you have qemu-user-static installed correctly on the mounted system. pacman.conf The /etc/pacman.conf file controls pacman, and normally, we wouldn't need to edit it. However, there is a ...



Only top voted, non community-wiki answers of a minimum length are eligible