You are not logged in.

#1 2008-02-05 20:18:08

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

VLC not found in sync db?? [SOLVED]

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

#2 2008-02-05 20:27:01

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: VLC not found in sync db?? [SOLVED]

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

#3 2008-02-05 20:27:56

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

Have you tried another mirror?

Offline

#4 2008-02-05 20:38:44

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

I do not have that directory.

How do I change the mirror?

Offline

#5 2008-02-05 20:46:08

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: VLC not found in sync db?? [SOLVED]

/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

#6 2008-02-05 21:01:02

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

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

#7 2008-02-05 21:03:13

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

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

#8 2008-02-05 21:05:10

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

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

#9 2008-02-05 21:05:35

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: VLC not found in sync db?? [SOLVED]

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

#10 2008-02-05 21:07:36

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: VLC not found in sync db?? [SOLVED]

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

#11 2008-02-05 21:09:50

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

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

#12 2008-02-05 21:12:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

violagirl23 wrote:

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. smile
They are there from <pacman 3.1. Since you upgraded after initial install, they are still there, taking up space.

Offline

#13 2008-02-05 21:16:54

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

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

#14 2008-02-05 21:21:42

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

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

#15 2008-02-05 21:26:10

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

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

#16 2008-02-05 21:29:47

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

tony5429 wrote:

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

#17 2008-02-05 21:32:12

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

Okay. I did that.

Offline

#18 2008-02-05 21:33:13

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

Now,

pacman -Syu

Then try installing vlc again.

Offline

#19 2008-02-05 21:42:26

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

Thanks! It works now.

Offline

#20 2008-02-05 21:46:23

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: VLC not found in sync db?? [SOLVED]

tony5429 wrote:

Thanks! It works now.

NP smile

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

#21 2008-02-05 21:51:09

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: VLC not found in sync db?? [SOLVED]

Sure thing. Thanks again!

Offline

#22 2008-02-05 21:57:32

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: VLC not found in sync db?? [SOLVED]

Misfit138 wrote:

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 wink
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 smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB