You are not logged in.
Pages: 1
Hey everyone, I'm relatively new to Arch, and Linux in general, and I've been having some trouble with Pacman. I am running Arch on my Asus eee-pc 701.
The problem:
Any time I try to download anything, any file (pacman -S file), it gives me the following errors:
filename package not found, searching for group...
error: 'file': not found in sync db
This be the case weather I try to download: python, xorg-server, xorg, gnome, etc.
The status:
I have the second "Any" server uncommented and all of the "United States" servers uncommented in /etc/pacman.d/mirrorlist.
I have internet access through wired ethernet. Ping -c 5 www.google.com has no failures.
I have tried pacman -Sy, pacman -Syy, pacman -Syu, and pacman -Syyu. All have updated everything successfully, yet it has not solved my problem.
Any help would be appreciated, this is a fantastic community, and Arch is extremely stable (and awesome) for that matter.
Thanks
Last edited by Decryptic (2011-09-10 23:30:12)
Offline
How did you install Arch? From the latest 2011.08.19 release?
If you need a fresh mirrorlist, grab it from http://www.archlinux.org/mirrorlist/ then try 'pacman -Syu' again.
Don't run 'pacman -Sy foo' - it may lead to breakage.
There's no 'kernel-26' package, there was a 'lernel26' one (w/o the hyphen) but we're using linux 3 kernel now. You don't need to install it separately, just run 'pacman -Syu'.
Last edited by karol (2011-09-10 23:25:32)
Offline
Thanks for the reply. I bought a SD card with Arch on it from OSdisk or something like that two months ago, so it may not be the most recent release. And ignore what I said about kernel-26, the main problem is that I get errors regardless of the package I try to install.
Offline
Thanks for the reply. I bought a SD card with Arch on it from OSdisk or something like that two months ago, so it may not be the most recent release. And ignore what I said about kernel-26, the main problem is that I get errors regardless of the package I try to install.
Have you properly merged all the pacnew files and done all the necessary stuff to bring your system up to date, like running 'pacman-db-upgrade'?
You may want to try the latest release too.
Offline
Decryptic wrote:Thanks for the reply. I bought a SD card with Arch on it from OSdisk or something like that two months ago, so it may not be the most recent release. And ignore what I said about kernel-26, the main problem is that I get errors regardless of the package I try to install.
Have you properly merged all the pacnew files and done all the necessary stuff to bring your system up to date, like running 'pacman-db-upgrade'?
You may want to try the latest release too.
I guess not . Any idea where I could get started on all that?
Offline
I guess not . Any idea where I could get started on all that?
Check pacman's log /var/log/pacman.log.
[2011-03-28 12:49] Running 'pacman -S pacman'
[2011-03-28 12:49] warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
[2011-03-28 12:49] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
[2011-03-28 12:49] >>> The pacman database format has changed as of pacman 3.5.0.
[2011-03-28 12:49] >>> You will need to run `pacman-db-upgrade` as root.
[2011-03-28 12:49] >>>
[2011-03-28 12:49] upgraded pacman (3.4.3-1 -> 3.5.1-1)
[2011-03-28 12:50] Running 'pacman -U reflector-2011.03.26.3-4-any.pkg.tar.xz'
[2011-03-28 12:50] Running 'pacman -Syy'
[2011-03-28 12:50] synchronizing package lists
[2011-03-28 12:51] Running 'pacman -U reflector-2011.03.26.3-4-any.pkg.tar.xz'
[2011-03-28 12:51] installed python (3.2-1)
pacman's output tells you about .pacnew files and any other actions you might need to take.
Offline
Alright, so when I type in pacman -Syyu, the addition to the log is:
[2011-09-11 10:20] synchronizing package lists
[2011-09-11 10:20] starting full system upgrade
Yet when I type in something like: pacman -S xorg-server, the addition is only:
[2011-09-11 10:21] synchronizing package lists
Additional debug information: the error:
xorg-server package not found, searching for group...
error: 'xorg-server': not found in sync db
occurs weather the ethernet cable is in or not. It also occurs weather the mirror list has any uncommented lines or not. So perhaps it is a local files fault? I don't know, any help is appreciated.
Offline
'pacman -Syy' re-downloads the databases. What's the output of
ls -l /var/lib/pacman/sync
?
Offline
The output is:
total 12
drwxr-xr-x 2 root root 4096 Sep 11 10:31 community
drwxr-xr-x 2 root root 4096 Sep 11 10:31 core
drwxr-xr-x 2 root root 4096 Sep 11 10:31 extra
Offline
I think you're still using the previous pacman database format.
Offline
Oh, any way I can update it or something? If that'll fix the problem?
Offline
Have you run pacman-db-upgrade and any other stuff that was in the pacman output / log?
Offline
When I type pacman-db-upgrade, I get:
-bash: pacman-db-upgrade: command not found
The pacman log doesn't have any explicit information, the only thing it contains is the information at the time of the install, in addition to:
[(date)] synchronizing package lists
a few times.
Offline
What is the output of
pacman -Q pacman linux kernel26
Offline
Output:
[root@myhost /]# pacman -Q pacman linux kernel26
pacman 3.3.3-5
error: package "linux" not found
kernel26 2.6.33.4-1
Offline
OK, let's start at the beginning, double-checking every step.
1. Have you got a fresh mirrorlist?
2. Have you successfully run 'pacman -Syu'?
You're still using the old packages. Are you running some kind of live system of that SD card or is it a regular install?
Offline
Alright.
1. The mirror list was generated on 2011-01-31. There are certainly mirrors on here that work, including the second one:
2. Yes pacman -Syu works every time.
3. No this is a regular install.
Let me try reinstalling the operating system.
Offline
The mirrors might work i.e. be online, but they might be waaaay out of sync and thus provide out of date packages. Pacman uses the first mirror from the list, unless it's unaccessible.
If you have another SD card, a usb pendrive etc., I would recommend installing the 2011.08.19 release.
Last edited by karol (2011-09-11 01:26:31)
Offline
Pages: 1