Fedora Core 6 packages problem

Discussion regarding the installation and configuration of Linux distributions.
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Fedora Core 6 packages problem

Post by saquib_javed »

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. ;)
zaigham_tt
Havaldaar
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Contact:

Post by zaigham_tt »

hiz Simply goto "Add/Remove Programs" then select package u want and insert desired CD.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear saquib_javed,
Salam,

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

Best Regards.
Farrukh Ahmed
spirit_of_pak
Lance Naik
Posts: 17
Joined: Tue Sep 06, 2005 6:29 pm

Post by spirit_of_pak »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

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. ;)
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

yes but still it didn't worked
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

yeah i already disabled those but the error was related to media:// something
Use Linux and feel Free.
OR
Feel free to use Linux. ;)
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

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. ;)
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

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. ;)
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
saquib_javed
Naib Subedar
Posts: 344
Joined: Sat Apr 10, 2004 9:07 pm
Location: Karachi
Contact:

Post by saquib_javed »

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. ;)
Post Reply