You are not logged in.
Pages: 1
Can anyone explain this?
[root@vladimir karam]# pacman -Sy vlc
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
error: 'vlc': not found in sync db
Last edited by tony5429 (2008-02-05 21:42:41)
Offline
Do you have a /var/lib/pacman/sync/extra/vlc-0.8.6d-2/ directory?
"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"
Offline
Have you tried another mirror?
Offline
I do not have that directory.
How do I change the mirror?
Offline
/etc/pacman.d/mirrorlist
Try commenting your current mirror and uncommenting another one and then resyncing.
Last edited by violagirl23 (2008-02-05 20:46:49)
"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"
Offline
Here is my current /etc/pacman.d/mirrorlist (the part under United States):
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://ftp.nethat.com/pub/linux/archlinux/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/x86_64
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/$
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
None of those are commented out...Does that look right?
Offline
Try commenting out all but the easynews server, or place the easynews servver at the top of the list, whichever is easier.
Also, what does /etc/pacman.conf look like?
Offline
Here's my pacman.conf. I'll try that easynews now.
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
#
#[testing]
#Include = /etc/pacman.d/testing
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/core
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Offline
Depending on what you prefer...
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
is also a nice mirror.
^^b
"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"
Offline
What are the mirrors listed in
/etc/pacman.d/core
Include /etc/pacman.d/extra
/etc/pacman.d/community
??
Mine personally just uses Include = /etc/pacman.d/mirrorlist for all of those. XD
"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"
Offline
Tony. what does 'pacman -V' return?
Change your mirrors in /etc/pacman.d/core, /extra and /community, then:
pacman -Syu
After pacman upgrades, change your /etc/pacman.conf like so:
[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
And change the repo in /etc/pacman.d/mirrorlist to the one you chose earlier.
Last edited by Misfit138 (2008-02-05 21:18:19)
Offline
What are the mirrors listed in
/etc/pacman.d/core
Include /etc/pacman.d/extra
/etc/pacman.d/community
??
Mine personally just uses Include = /etc/pacman.d/mirrorlist for all of those. XD
They are deprecated. You may safely delete them.
They are there from <pacman 3.1. Since you upgraded after initial install, they are still there, taking up space.
Offline
I am still getting the same error if I comment out everything except the easy news. Do I have to run something after saving the mirrorlist? Like mirrorlist-gen or something?
/etc/pacman.d/core
# United States
Server = ftp://ftp.archlinux.org/core/os/x86_64
Server = ftp://ftp.nethat.com/pub/linux/archlinux/core/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
Server = ftp://mirrors.unixheads.org/archlinux/core/os/x86_64
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
/etc/pacman.d/extra
# United States
Server = ftp://ftp.archlinux.org/extra/os/x86_64
Server = ftp://ftp.nethat.com/pub/linux/archlinux/extra/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/extra/os/x86_64
Server = ftp://mirrors.unixheads.org/archlinux/extra/os/x86_64
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/extra/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/extra/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/extra/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/extra/os/x86_64
/etc/pacman.d/community
# United States
Server = ftp://ftp.archlinux.org/community/os/x86_64
Server = ftp://ftp.nethat.com/pub/linux/archlinux/community/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
Server = ftp://mirrors.unixheads.org/archlinux/community/os/x86_64
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/community/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/community/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/community/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/community/os/x86_64
I should note that I used to have VLC installed. I uninstalled it a couple days ago using "pacman -Rs vlc." Now I am trying to reinstall it with "pacman -Sy vlc"... Am I doing something wrong?
Offline
First, what does
pacman -V
return?
Edit your /etc/pacman.d/core, /extra and /community to all use the easynews server.
Then:
pacman -Syu
Last edited by Misfit138 (2008-02-05 21:23:36)
Offline
Pacman v3.1.1 - libalpm v2.1.0
The easynews server has "core" in it though... VLC is in extra... will that be a problem?
Offline
Pacman v3.1.1 - libalpm v2.1.0
The easynews server has "core" in it though... VLC is in extra... will that be a problem?
Edit your /etc/pacman.conf to point to /etc/pacman.d/mirrorlist like this:
[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
Offline
Okay. I did that.
Offline
Now,
pacman -Syu
Then try installing vlc again.
Offline
Thanks! It works now.
Offline
Thanks! It works now.
NP
You may now safely delete /etc/pacman.d/core, /etc/pacman.d/extra, and /etc/pacman.d/community.
Keep /etc/pacman.d/mirrorlist. DO NOT DELETE IT.
Offline
Sure thing. Thanks again!
Offline
Keep /etc/pacman.d/mirrorlist. DO NOT DELETE IT.
A small note : removing that file is a bad idea, but losing it is not as critical as for example, /var/lib/pacman/local
For example, you can recover it from the package tarball : /var/cache/pacman/pkg/pacman*.pkg.tar.gz
If you don't have it anymore, you can download it directly from a mirror with a ftp or http client.
Or you can also get it there : http://cvs.archlinux.org/cgi-bin/viewcv … st?rev=1.1
and then replace @carch@ with sed or whatever.
Or even, you don't need to recover the whole file, one single working mirror is enough to get pacman back on track
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1