Fedora Core 6 packages problem

Discussion regarding the installation and configuration of Linux distributions.

Fedora Core 6 packages problem

Postby saquib_javed » Mon Apr 09, 2007 11:29 am

Hello everyone,

I installed FC6 :D from dvd by only selecting the gnome package(s); i thought i will add other packages using system-config-packages after installing it. but when the system was installed successfully the system-config-packages command only look for the ftp or http mirror from a baseurl in some of the yum's config file i tried to give my mounted folder to it but it didnt worked.

:?: Anybody knows how to configure it or how to install packages from the cd; i dont want to install through rpm command.

Thanks
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Postby zaigham_tt » Mon Apr 09, 2007 11:40 am

hiz Simply goto "Add/Remove Programs" then select package u want and insert desired CD.
zaigham_tt
Havaldaar
 
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Website: http://www.programming-world.4t.com

Re:

Postby LinuxFreaK » Tue Apr 10, 2007 11:07 am

Dear saquib_javed,
Salam,

FYI, http://david.wragg.org/blog/2006/12/ins ... thout.html

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby spirit_of_pak » Thu Apr 12, 2007 8:19 pm

Dear All Concerned,

Have a look at this link, it worked for me Now I can add/remove packages from my installation CD.

http://www.city-fan.org/tips/YumRepoFromImages
Linux is also user friendly
spirit_of_pak
Lance Naik
 
Posts: 17
Joined: Tue Sep 06, 2005 6:29 pm

Postby saquib_javed » Thu Apr 26, 2007 9:07 am

dude that didn't worked

well i did installed my packages with rpm but can u post you repo files here so i can try them

and sorry for the late response that i was busy then
Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Re:

Postby LinuxFreaK » Thu Apr 26, 2007 9:49 am

Dear saquib_javed,
Salam,

saquib_javed wrote:dude that didn't worked well i did installed my packages with rpm but can u post you repo files here so i can try them


Did you follow the link which i have given you ?

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby saquib_javed » Thu Apr 26, 2007 1:04 pm

yes but still it didn't worked
Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Re:

Postby LinuxFreaK » Fri Apr 27, 2007 10:57 am

Dear saquib_javed,
Salam,

saquib_javed wrote:yes but still it didn't worked


I might suspect that you might miss that part.

The FC6 DVD contents look suspiciously like a standard yum repository, with a repodata directory containing the usual XML files. So at this pooint it occurred to me that editing /etc/yum.repos.d/fedora-core.repo to include a baseurl=file:///media/FC_6%20x86_64%20DVD line referring to the DVD mount point might get things working. That still gave the same Unable to retrieve software information error, but that was because I left the fedora-extras and fedora-updates enabled. OK, I modified the relevant files under /etc/yum.repos.d to disable other repositories.

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby saquib_javed » Fri Apr 27, 2007 11:34 am

yeah i already disabled those but the error was related to media:// something
Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Re:

Postby LinuxFreaK » Sat Apr 28, 2007 10:51 am

Dear saquib_javed,
Salam,

Try to understand when we try to access file in mozilla then it will open file like this

file:///media/cdrom/

Where /media/cdrom is the mount point where CD/DVD has been mounted.

FYI, http://fedoranews.org/cms/node/1055 and http://www.city-fan.org/tips/YumRepoFromImages

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby saquib_javed » Wed May 02, 2007 9:39 am

here's the output
i still don't get it wheres the problem is; hope there is so that i can correct it

Code: Select all


[root@localhost /]# mount
/dev/hda8 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdc on /media/FC_6 i386 DVD type iso9660 (ro,noexec,nosuid,nodev,uid=0)
[root@localhost /]#
[root@localhost /]#
[root@localhost /]# cat /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=file:///media/FC_6%20i386%20DVD
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[root@localhost /]#
[root@localhost /]#
[root@localhost /]# yum install kdebase
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kdebase to pack into transaction set.
media://1161131669.029329%232/Fedora/RPMS/kdebase-3.5.4-12.fc6.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve Fedora/RPMS/kdebase-3.5.4-12.fc6.i386.rpm from core
error was [Errno 4] IOError: <urlopen error unknown url type: media>
[root@localhost /]#

Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Re:

Postby LinuxFreaK » Wed May 02, 2007 2:07 pm

Dear saquib_javed,
Salam,

Do not you think you below line should be

Code: Select all

baseurl=file:///media/FC_6%20i386%20DVD


Code: Select all

baseurl=file:///media/FC_6\ i386\ DVD/


Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby saquib_javed » Thu May 03, 2007 8:51 am

Code: Select all



[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cat /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=file:///media/FC_6\ i386\ DVD/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum install kdebase
Loading "installonlyn" plugin
Options Error: Error parsing 'file:///media/FC_6\\ i386\\ DVD/': URL must be http, ftp, file or https not ""
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#



Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi

Re:

Postby LinuxFreaK » Thu May 03, 2007 9:59 am

Dear saquib_javed,
Salam,

Use following configuration.

# mkdir -p /media/dvd
# mount -t iso9660 /dev/hdc /media/dvd


Code: Select all

[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
baseurl=file:///media/dvd
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
baseurl=file:///media/dvd
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
baseurl=file:///media/dvd
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby saquib_javed » Fri May 04, 2007 8:52 am

Code: Select all

[root@localhost /]#
[root@localhost /]#
[root@localhost /]# mount
/dev/hda8 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdc on /mnt/dvd type iso9660 (ro)
[root@localhost /]#
[root@localhost /]# cat /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=file:///mnt/dvd/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[root@localhost /]#
[root@localhost /]#
[root@localhost /]# yum install kdebase
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.3 kB    00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kdebase to pack into transaction set.
media://1161131669.029329%232/Fedora/RPMS/kdebase-3.5.4-12.fc6.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve Fedora/RPMS/kdebase-3.5.4-12.fc6.i386.rpm from core
error was [Errno 4] IOError: <urlopen error unknown url type: media>
[root@localhost /]#
[root@localhost /]#
Use Linux and feel Free.

OR

Feel free to use Linux. ;)
saquib_javed
Naib Subedar
 
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Website: http://www17.brinkster.com/saquibjaved
Location: Karachi


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron