LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 08-09-2011, 05:20 PM   #1
theW
Member
 
Registered: Jul 2011
Distribution: arch, vector, mint
Posts: 37

Rep: Reputation: Disabled
Trouble with offline installation of packages


I have recently installed arch on a new computer, and am working on setting up networking. Unfortunately ethernet and wifi need me to install drivers so i have no networking on this computer until i get everything working. I have tried to follow the offline installation instructions on the arch wiki and install mc on the new computer as a test before i try to install the drivers I need. I have encountered a problem with the section of the article that tells me to create a repo in the new folder i created to act as a local repository for this one package. when i try this i get the error
Quote:
==> ERROR: Repository file 'mc-4.7.5.3-1-i686.pkg.tar.xz' is not a proper pacman database.
please help me, i really need to get this system working
 
Old 08-10-2011, 08:41 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Quote:
Originally Posted by theW View Post
when i try this i get the error ...
Error: "this" is undefined.

Since you don't tell us what you tried, how do you expect any help?

Most likely you are entering a repo-add command but are confusing the package with the pacman database, but I have no way to know for sure.

https://wiki.archlinux.org/index.php...cal_repository
 
Old 08-11-2011, 08:05 AM   #3
theW
Member
 
Registered: Jul 2011
Distribution: arch, vector, mint
Posts: 37

Original Poster
Rep: Reputation: Disabled
Sorry about not being specific, this error appears when I try to crete a local repository, like in the link you sent me. Specifically I am using the command
Quote:
repo-add mc-4.1.7.5.3-1-i686.pkg.tar.xz *.pkg.tar.xz
Sorry for any confusion.
 
Old 08-11-2011, 09:39 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
First argument to repo-add is the repo database to be created, not the package that you want to put in it. Second argument is the path to the package files. It would be really nice if the docs actually gave useful examples.
 
1 members found this post helpful.
Old 08-12-2011, 08:10 AM   #5
theW
Member
 
Registered: Jul 2011
Distribution: arch, vector, mint
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thank you so much. This fixed the problem.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: HOWTO: Installing Ubuntu Packages Offline LXer Syndicated Linux News 0 06-14-2010 02:10 AM
LXer: "Sushi Huh?" - Easily Download Packages For Offline Installation In Debian, Ubu LXer Syndicated Linux News 0 12-05-2009 06:20 PM
installing multiple packages and dependencies offline quidoloremipsum Debian 3 02-01-2009 09:21 AM
offline installation sulekha Ubuntu 3 09-16-2007 10:34 AM
Offline installation in FC6 ravi_npatty Linux - Newbie 3 02-08-2007 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration