 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

7th February 2010, 09:47 AM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
|
download all packages and all rpmfusion packages
I download all packages of Fedora 12 64 bit and all rpmfusion packages , all of them free and nonfree. all of them is near 20GB, I download all of them by rsync
I download them in work,
In home I use Fedora12 64 bit and do not have internet connection , I copy all packages with USB flash and copy them to my Fedora box , and I want install VLC and other codecs and Nvidia driver for some games
What I must do ?
I said again I do not have internet connection in home but I have all packages , free and nofree and rpmfusion packages
|

7th February 2010, 09:55 AM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: India
Posts: 93

|
|
|
putting all the packages in /var/cache/yum/their respective repository folder/packages and then doing yum install might work
|

7th February 2010, 01:13 PM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
|
I do not think so , Fedora is not like ubuntu
|

7th February 2010, 01:45 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,215

|
|
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

7th February 2010, 01:45 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930

|
|
|
Hello mfaridi. Welcome to Fedora Forum. You can make local repositories for everything you've downloaded if I'm not mistaken. Can you tell me where the downloaded Fedora repository files are currently located?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

7th February 2010, 02:05 PM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
Quote:
Originally Posted by glennzo
Hello mfaridi. Welcome to Fedora Forum. You can make local repositories for everything you've downloaded if I'm not mistaken. Can you tell me where the downloaded Fedora repository files are currently located?
|
all files are in work machine , I use FreeBSD and download all packages rpmfusion packages and all update packages .
but I want use them in home , I can can not move work machine to home and use them , so I move all packages with USB Flash to home machine , in home machine I do have internet connection.
---------- Post added at 07:35 PM CST ---------- Previous post was at 07:27 PM CST ----------
Quote:
Originally Posted by bob
|
I read that link it is good , but it is about DVD , but I have all packages with rpm format .
can I put all packages and rpmfusion packages in one folder and make ISO from this folder and use that method you say ?
Can yum work with this huge ISO ? and install everything I need from 25GB ISO file?
|

7th February 2010, 03:12 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,215

|
|
|
I have no idea if this one will work for you, but it's worth a shot. DVD vs. Flash Drive vs. External Drive shouldn't matter. Hope Scott's idea works but I think that things changed back in FC-7.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

7th February 2010, 03:25 PM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
|
I wish ,this is happen sometimes i future :
I download all packages and put them in /var/cache and run yum install vlc mplaye and nvidia and yum install all packages from cache
like unbuntu
|

8th February 2010, 05:34 AM
|
|
Registered User
|
|
Join Date: Oct 2006
Posts: 4,752

|
|
Quote:
Originally Posted by mfaridi
I wish ,this is happen sometimes i future :
I download all packages and put them in /var/cache and run yum install vlc mplaye and nvidia and yum install all packages from cache
like unbuntu
|
You can put the packages anywhere you want.
I'll just use /var/cache/localrepo for example you can change that to whatever you want, so just copy all your packages there then do
Code:
su -
cd /var/cache/localrepo
createrepo .
nano /etc/yum.repos.d/local.repo
Make the contents of localrepo:
Code:
[local]
name=Local Repository
failovermethod=priority
baseurl=file:///var/cache/localrepo/
enabled=1
gpgcheck=0
Save the file then do
Code:
yum clean all
yum install <something>
creatrepo should be installed by default, but if it's not then just look for it in the packages you have and install it, it shouldn't have many dependencies.
|

8th February 2010, 05:59 AM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
|
thanks
I will check it
|

8th February 2010, 10:15 PM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
Quote:
Originally Posted by Dies
You can put the packages anywhere you want.
I'll just use /var/cache/localrepo for example you can change that to whatever you want, so just copy all your packages there then do
Code:
su -
cd /var/cache/localrepo
createrepo .
nano /etc/yum.repos.d/local.repo
Make the contents of localrepo:
Code:
[local]
name=Local Repository
failovermethod=priority
baseurl=file:///var/cache/localrepo/
enabled=1
gpgcheck=0
Save the file then do
Code:
yum clean all
yum install <something>
creatrepo should be installed by default, but if it's not then just look for it in the packages you have and install it, it shouldn't have many dependencies.

|
I do that everything you write , I create localrepo folder in cache and copy all package nonfree and free in localrepo folder and run after long time it create and I see this folder
with these files
Code:
[root@faridi repodata]# ls -ls
total 40328
20980 -rw-r--r--. 1 root root 21480126 2010-02-09 05:02 filelists.xml.gz
9616 -rw-r--r--. 1 root root 9838805 2010-02-09 05:02 other.xml.gz
9728 -rw-r--r--. 1 root root 9953366 2010-02-09 05:02 primary.xml.gz
4 -rw-r--r--. 1 root root 1379 2010-02-09 05:02 repomd.xml
[root@faridi repodata]#
and do other thing , but when I run this command for example
Code:
yum install mplayer
I see this error
Code:
[root@faridi repodata]# yum install mplayer
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package mplayer available.
Nothing to do
[root@faridi repodata]#
|

8th February 2010, 10:41 PM
|
|
Registered User
|
|
Join Date: Oct 2006
Posts: 4,752

|
|
The instructions are accurate and mplayer should be in the packages you downloaded from rpmfusion-free so....
Let's see if we can figure out what went wrong.
Please post the output from
Code:
cat /etc/yum.repos.d/local.repo
yum repolist
|

9th February 2010, 01:53 PM
|
 |
Registered User
|
|
Join Date: Jul 2008
Age: 24
Posts: 80

|
|
Quote:
Originally Posted by Dies
The instructions are accurate and mplayer should be in the packages you downloaded from rpmfusion-free so....
Let's see if we can figure out what went wrong.
Please post the output from
Code:
cat /etc/yum.repos.d/local.repo
yum repolist
|
Thanks , Thanks , Thanks ,.....
I delete all file in /etc/yum.repos.d and only use local.repo
after that I can install everything and I install vlc, mplayer and Nvidia driver.
Thanks all guys help me to solve this problem
---------- Post added at 07:23 PM CST ---------- Previous post was at 07:11 PM CST ----------
I download all update packages , rpmfusion too ,
Can I update my system by this method ?
|

9th February 2010, 08:59 PM
|
|
Registered User
|
|
Join Date: Oct 2006
Posts: 4,752

|
|
Quote:
Originally Posted by mfaridi
Thanks , Thanks , Thanks ,.....
I delete all file in /etc/yum.repos.d and only use local.repo
after that I can install everything and I install vlc, mplayer and Nvidia driver.
Thanks all guys help me to solve this problem
|
Good to hear.
Quote:
Originally Posted by mfaridi
I download all update packages , rpmfusion too ,
Can I update my system by this method ?
|
Yes, of course. You can make another local repo for updates or do it the easy way and just copy the updates to the same folder then delete the repodata folder and run createrepo again in that folder. Afterwards just do "yum clean all" and "yum update".
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 00:54 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|