Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Arch Linux Help > Pacman errors

Forgot Password?
 Arch Linux Help   Help an discussion related to Arch

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-02-2007   #1 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
Pacman errors

Well, I finally got Arch (VooDoo) installed and I am trying to get xorg installed right now, but I am having trouble with Pacman, here are the errors I get.
Do I need to change repos or something?

Quote:
failed downloading xf86-input-mouse-1.2.3-1.pkg.tar.gz from ftp.belnet.be: 550 xf86-input-mouse-1.2.3-1.pkg.tar.gz: No such file or directory
warning: failed to get filesize for xf86-video-vesa-1.3.0-5.pkg.tar.gz
failed downloading xf86-video-vesa-1.3.0-5.pkg.tar.gz from ftp.belnet.be: 550 xf86-video-vesa-1.3.0-5.pkg.tar.gz: No such file or directory
warning: failed to get filesize for libxfont-1.3.1-1.pkg.tar.gz
failed downloading libxfont-1.3.1-1.pkg.tar.gz from ftp.belnet.be: 550 libxfont-1.3.1-1.pkg.tar.gz: No such file or directory
warning: failed to get filesize for xkeyboard-config-1.0-1.pkg.tar.gz
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline  


Reply With Quote
Old 12-02-2007   #2 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
Quote:
Originally Posted by MikeTbob View Post
Well, I finally got Arch (VooDoo) installed and I am trying to get xorg installed right now, but I am having trouble with Pacman, here are the errors I get.
Do I need to change repos or something?
Hi, MikeTbob.

Can you post the contents of /etc/pacman.conf? I think that install CD had the base repo named current and they've since renamed it to core.

You might want to run the rankmirrors script for each repo you have enabled if you haven't already:
Code:
#rankmirrors /etc/pacman.d/*repo*
Also, of course, if you haven't already done it:
Code:
pacman -Syu
If all else fails, I think xorg is available on the install CD. You can copy it to your install and install packages locally with:
Code:
#pacman -U package.pkg.tar.gz
Thrillhouse is offline   Reply With Quote
Old 12-02-2007   #3 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
Hiya Thrillhouse, thanks for the reply.
Here is my pacman.conf file, and it looks like you are correct. Should I change the [current] to [core]?
Code:
cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# NOTE: If you find a mirror that is geographically close to you, please
#       move it to the top of the server list, so pacman will choose it
#       first.
#
# To re-sort your mirror lists by ping/traceroute results, use the
# /usr/bin/sortmirrors script.  It requires the "netselect" package.
#

# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
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
#

#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current
#Index of /linux/archlinux/current/os/i686
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra
#Index of /linux/archlinux/extra/os/i686
#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable

#[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
Server = Index of /linux/archlinux/community/os/i686
# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

[extra]
# Add your preferred servers here, they will be used first
Server = Index of /linux/archlinux/extra/os/i686
Include = /etc/pacman.d/extra
As you can see, I have been fiddling with it already, trying to make sense of it. One question I have is, Do the repos go into this file, or should I place them in /etc/pacman.d ?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 12-02-2007   #4 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
Well, I'm not sure if just renaming the repo in pacman.conf will do it because the pacman.d directory has all the repos and mirrors in it and those mirrors are probably referring to current right now too.

What version of pacman are you currently running (pacman -V)? I would try running:
Code:
pacman -Sy pacman
and see if it will automatically update your pacman and repos accordingly.

And yes, your repos are basically defined in the pacman.d directory but are controlled in pacman.conf. You can comment/uncomment the repos you want to use in pacman.conf.

Otherwise, your pacman.conf looks pretty normal, besides the two entries for extra. I would comment one of those out.
Thrillhouse is offline   Reply With Quote
Old 12-02-2007   #5 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
Change the words current to core in your pacman.conf file. Their are two instances of it.

You can use the files in pacman.d folder for your mirrors. Just put them in the order you want to use them and comment out any mirrors you don't want to use. You also need to make sure the current file is renamed core in that folder. Don't use the ftp.archlinux.org mirrors because they are throttled.

Hope this helps.

Edit: thrillhouse was faster than me.
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 12-02-2007   #6 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
OK, so you can do that. I wasn't sure considering a lot of the mirrors have URL's like:
Thrillhouse is offline   Reply With Quote
Old 12-02-2007   #7 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
They said current would work for a while, but I'm not sure how much longer that will be the case. The first time you do pacman -Syu it should update pacman and supply the new core folder with the proper mirrors, so I'm not sure how much difference changing the words to core really makes in the long run. In the end, every instance of the word current has to be replaced with core.
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 12-02-2007   #8 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
I only enable one mirror in each file located in pacman.d because it takes forever for each if any non-functional mirrors to timeout during any upgrade, so it was relatively easy for me to replace the 'current' words with core.

Hope I didn't cause any confusion, MikeTbob.
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 12-02-2007   #9 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
It didn't work fellas. Changing current to core just results in a "refresh" error, which I tried refreshing and it kept spitting the same error at me. So I changed it back to current and tried pacman -Syu pacman
Quote:
pacman -Syu pacman
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
:: community is up to date
:: Replace cvsup with csup from "current"? [Y/n] y
:: Replace traceroute with iputils from "current"? [Y/n] y
:: Replace slocate with mlocate from "current"? [Y/n] y
:: Replace util-linux with util-linux-ng from "current"? [Y/n] y
:: Replace gaim with pidgin from "extra"? [Y/n] y

:: pacman has detected a newer version of the "pacman" package.
:: It is recommended that you allow pacman to upgrade itself
:: first, then you can re-run the operation with the newer version.
::
:: Upgrade pacman first? [Y/n] y
error: unresolvable dependencies:
pacman: requires libarchive>=2.2.3 but it is not in the sync db
pacman: requires libdownload but it is not in the sync db
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 12-02-2007   #10 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
Try pacman -Sy pacman, MikeTbob. pacman -Syu updates the entire system regardless of what package name you specify.
Thrillhouse is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:37 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2