element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum RPi / Arch Linux.. pacman error 404, too slow/?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 676 subscribers
  • Views 856 views
  • Users 0 members are here
  • helpme
  • raspberry_pi
Related

RPi / Arch Linux.. pacman error 404, too slow/?

Former Member
Former Member over 12 years ago

First post here, hope I'm putting it in right place.

I received a Raspberry Pi as a gift.  I think it's a model B rev 1.0. 

I loaded up an 8GB SD card with Arch Linux, and set up the network, and expanded the SD card to use the full size.

I did NOT add a swap partition after expanding the size.

 

I then decided to try to use pacman to download a couple programs.

When I first tried pacman, it gave an error very quickly,  which I can't remember. I then googled, and found a post which indicated that I needed

to first set up pacman via a

pacman-key --init

command to set up the pacman files.  When I did that it started out saying that it didn't find some file, then went on saying it was creating it.

It then seemed to do nothing. I let it run for 2 or 3 hours. I did a ps -A which showed that it was still running, but on doing a top command, I didn't see any activity

from that process, so I finally canceled out of it.

After leaving the process, I once again tried to use pacman to grab a couple programs.  This time, it found the programs, gave me an option to say "Y" to install it, and then started the download process, however then I got these error 404 messages, saying that less than 1 kB of data transferred in 10 seconds, so transfer was terminated.  One of the programs I tried this on had several dozen files to download.  Most did as described, giving the error 404, but others were sucessful, indicating rates of a few Mbps. But since all the files weren't downloaded, the installation failed.

   Question is WHY? 

I thought perhaps my SD card isn't fast enough, but I tested FTP transfers to/from the card, and it indicated speeds of around 7 Mbps. 

My lan is connected to the internet via an 11 Mbps WildBlue Exede sat internet system, and it worked fine downloading files to a desktop with Ubuntu, via it's manager.

Is it possible that I need to install a swap partition? If so, how is that done?

Is it possible that I need to repeat the pacman-key --init process, and if so, what did I do wrong to cause it to hang?  

Any other ideas?

Thanks for any help.  The Raspberry is working great other than this, and I'm sure I can get by without pacman, but I'm confused re what I'm doing wrong.

I asked this question on another forum as well.

  • Sign in to reply
  • Cancel
  • kgas
    kgas over 12 years ago

    Did you change the mirrors and check the down loading? or use wget to down load the packages. see pacman.conf for details.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Update. Sorry to update so fast, but above post was based on what I did yesterday, and I just decided to try again and attempt to get some files via pacman, after a reboot.

    Today, I still get error 404, however I no longer get the message telling me that the transfers are too slow.

    So maybe today speed is not an issue, but I don't know what error 404 is.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    to KGAS

       Thanks for replying.

    I'm a complete newbee to using pacman, but have used the Ubuntu equivalent a few times, but that was already set up.

     

    Re the mirrors, I just now changed from the default mirror to a closer mirror (Va, US).  Tried it again, still got same result with error 404.

    Not getting too slow message.

    I haven't used the wget command.  I was considering also downloading via web to a windows computer, but was trying to learn how to use this pacman thing.

     

    Thanks for reply.  I'll read through the .conf file and see if I can see anything.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to kgas

    Thanks for pointing me in right direction.  I was looking through all the related files, and then found at another site that error 404 was a file not found error. 

       I looked at the dependencies listed when starting the transfer, and the list of files it was trying to download, then I used a browser to actually go to the mirror site, and I found that pacman was trying to download a version of the various files that weren't actually at the mirror site.  The mirror site had a slightly older version of the files, and I guess returned the file not found error. 

     

    Anyway, I guess I don't understand how this pacman thing would ever work if all these necessary files keep changing versions all the time.   I also don't have any idea of what was causing the "too slow" errors I was getting yesterday, but I guess whatever it was, it's not an issue now.

    Anyway, I feel better about things not working now.  Thanks for responding.  I guess I have some more learning to do.

     

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ghoul
    ghoul over 12 years ago in reply to Former Member

    All what you need to do is to update your repository  by running (as root): pacman -Syu

    That should solve your problem and you can now install what you need without having 404 error.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to ghoul

    Thanks.  Yes, I finally figured that out with some help on another forum, and forgot to followup here.

    Finally got it going, but ran into other issues, and am now trying a couple other systems, but will definately get back to ArchLinux. 

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube