PDA

View Full Version : Package manager!!


tomsyco
12th February 2006, 04:38 PM
I want a package manager like synaptic and apt but i don't know how to easily install it. I tried synaptic in the updater and it failed the dependencies test.

Bashev
12th February 2006, 04:40 PM
system-config-packages
yum (yumex)

nlkrio
12th February 2006, 04:41 PM
fedora have yum(by default) and yumex,for more read http://www.fedorafaq.org/
or better http://stanton-finley.net/fedora_core_4_installation_notes_nocss.html

Firewing1
12th February 2006, 05:32 PM
SmartPM
Firewing1

Botond
12th February 2006, 08:10 PM
I would prefer aptitude, AFAIK apt was already ported for RPM. Another hero could port aptitude as well. :)

Spoon!
13th February 2006, 01:33 AM
Yes, Fedora does has APT (yum install apt), Synaptic (yum install synaptic), etc; but it is not recommended to use Apt in Fedora for these reasons (http://fedoraproject.org/wiki/Tools/Apt).

tomsyco
13th February 2006, 08:08 PM
Can any of you step by step show me how to update the repositories so i can get more software?

Firewing1
13th February 2006, 10:26 PM
Here's a setup for Yum & YumEx:
download these files to your home:
rpmforge-release (http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc4/i386/RPMS.dries/rpmforge-release-0.2-2.2.fc4.rf.i386.rpm)
livna-release4 (http://rpm.livna.org/livna-release4.rpm)

cd ~
su
rpm -Uvh livna-release4.rpm
rpm -Uhv rpmforge-release-0.2-2.2.fc4.rf.i386.rpm
gedit /etc/yum.repos.d/gstreamer.repo
add the following to the file:
[gstreamer-deps]
name=Fedora Core $releasever - $basearch - GStreamer dependencies
baseurl=http://gstreamer.freedesktop.org/pkg/fedora/$releasever/$basearch/yum/deps

[gstreamer]
name=Fedora Core $releasever - $basearch - GStreamer
baseurl=http://gstreamer.freedesktop.org/pkg/fedora/$releasever/$basearch/yum/gst
then finally install YumEx:yum install yumex
Now use Yumex to install packages.
Firewing1

tomsyco
13th February 2006, 11:22 PM
[root@localhost Desktop]# ll
total 60
-rw-r--r-- 1 root root 4481 Feb 12 04:12 Home.desktop
-rw-r--r-- 1 root root 4820 Feb 13 18:05 livna-release4.rpm
-rw-r--r-- 1 root root 15797 Feb 13 18:11 rpmforge-release-0.2-2.2.fc4.rf.i386.rpm
-rw-r--r-- 1 root root 3606 Feb 12 04:12 System.desktop
-rw-r--r-- 1 root root 154 Feb 13 09:15 trash.desktop
[root@localhost Desktop]# rpm -Uvh livna-release4.rpm
warning: livna-release4.rpm: Header V3 DSA signature: NOKEY, key ID a109b1ec
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@localhost Desktop]# rpm -Uhv rpmforge-release-0.2-2.2.fc4.rf.i386.rpm
warning: rpmforge-release-0.2-2.2.fc4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@localhost Desktop]# gedit /etc/yum.repos.d/gstreamer.repo
bash: gedit: command not found
[root@localhost Desktop]# yum install gedit
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 951 B 00:00
livna : ##################################### 3/4http://rpm.livna.org/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:16:38 GMT
Server: Apache/2.0.51 (Fedora)
Content-Length: 324
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://livna.cat.pdx.edu/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Content-Type: text/html
Content-Length: 345
Date: Mon, 13 Feb 2006 23:16:38 GMT
Server: lighttpd/1.4.9
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:16:39 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 391
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:16:40 GMT
Server: Apache/2.0.54 (Fedora)
Vary: accept-language,accept-charset
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Content-Language: en
Trying other mirror.
Cannot open/read repomd.xml file for repository: livna
failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
[root@localhost Desktop]# yum list
Loading "installonlyn" plugin
Setting up repositories
livna : ##################################### 3/4http://rpm.livna.org/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:17:14 GMT
Server: Apache/2.0.51 (Fedora)
Content-Length: 324
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://livna.cat.pdx.edu/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Content-Type: text/html
Content-Length: 345
Date: Mon, 13 Feb 2006 23:17:14 GMT
Server: lighttpd/1.4.9
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:17:15 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 391
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/4.91/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:17:15 GMT
Server: Apache/2.0.54 (Fedora)
Vary: accept-language,accept-charset
Accept-Ranges: bytes
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Content-Language: en
Trying other mirror.
Cannot open/read repomd.xml file for repository: livna
failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
[root@localhost Desktop]# kate /etc/yum.repos.d/gstreamer.repo
QObject::disconnect: Unexpected null parameter
[root@localhost Desktop]# yum install yumex
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
gstreamer-: ################ 2/6http://gstreamer.freedesktop.org/pkg/fedora/4.91/i386/yum/deps/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:17:02 GMT
Server: Apache/2.0.54 (Debian GNU/Linux)
Content-Length: 348
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: gstreamer-deps
failure: repodata/repomd.xml from gstreamer-deps: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from gstreamer-deps: [Errno 256] No more mirrors to try.
[root@localhost Desktop]# cd /..
[root@localhost /]# yum install yumex
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
gstreamer-: ################ 2/6http://gstreamer.freedesktop.org/pkg/fedora/4.91/i386/yum/deps/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 13 Feb 2006 23:17:22 GMT
Server: Apache/2.0.54 (Debian GNU/Linux)
Content-Length: 348
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: gstreamer-deps
failure: repodata/repomd.xml from gstreamer-deps: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from gstreamer-deps: [Errno 256] No more mirrors to try.
[root@localhost /]#

Firewing1
13th February 2006, 11:26 PM
You're using FC5 test, right? Sorry to say, but don't expect to be yuming programs before FC5 officially comes out. Livna, gstreamer, RPMForge, ATRPMS will come out w/ FC5 packages when the beta is over. RPMForge and ATRPMS do have testings repos, but I wouldn't use them 'cause they're sort-of like testing-testing status. You're using "testing" RPMS on a "testing" distribution, not a good idea :eek:
Firewing1

tomsyco
14th February 2006, 01:36 AM
You're using FC5 test, right? Sorry to say, but don't expect to be yuming programs before FC5 officially comes out. Livna, gstreamer, RPMForge, ATRPMS will come out w/ FC5 packages when the beta is over. RPMForge and ATRPMS do have testings repos, but I wouldn't use them 'cause they're sort-of like testing-testing status. You're using "testing" RPMS on a "testing" distribution, not a good idea :eek:
Firewing1

Help me get it back to the original state then please?

Firewing1
14th February 2006, 01:45 AM
su -
rm /etc/yum.repos.d/gstreamer.repo
rpm -e rpmforge-release livna-release
exit

Firewing1

tomsyco
14th February 2006, 02:32 AM
thanks alot looks like it worked

tomsyco
14th February 2006, 04:37 AM
Any hope of fedora releasing better package managers? It would be nice to use apt-get and synaptic again.

Finalzone
14th February 2006, 06:21 AM
Read post #6 (http://forums.fedoraforum.org/showpost.php?p=453630&postcount=6). In many ways, yum is better than apt4rpm especially for x86-64 users.

As for other package managers, it is up to users to bring them on Fedora Extras.

BTW, system-config-packages is replaced by Pirut which uses yum as backend. Latest version of yumex is quite speedy and takes advantages of yum plugins such as installonlyn .

b_martinez
20th February 2006, 05:40 AM
quote Finalzone>
Latest version of yumex is quite speedy and takes advantages of yum plugins such as installonlyn .
< end quote
Off the subject, I know,but what is the purpose of 'installonlyn' plugin? I updated a spankin new install to todays latest, and cannot init the kernel (1995).
I had to re-install after totally hosing a previous test-bed by updating to kernel(1884) [at the time the newest ] without the intallonlyn plugin checked. How to activate/initialize a new kernel?
Bill
p.s. sorry for jacking the thread

Finalzone
20th February 2006, 06:35 AM
installonlyn plugins leave the number of recent installed kernels (2 by default) and remove older kernels from the system.

I had to re-install after totally hosing a previous test-bed by updating to kernel(1884) [at the time the newest ] without the intallonlyn plugin checked. How to activate/initialize a new kernel?
Did you use bootloader to switch to the new kernel? I presume you mean "installing a new kernel" instead of updating.

b_martinez
20th February 2006, 03:31 PM
Actually, I did mean updating. I clicked the 'select all' radio button when I first ran yumex to update. When I use grub to attempt to boot into the 1995 kernel, I get the error message 'file not found'. Could it be that I use a bootloader version installed by FC4?
[root@the-asylum ~]# fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 64 514048+ 83 Linux
/dev/hda2 65 3251 25599577+ fd Linux raid autodetect
/dev/hda3 3252 5801 20482875 fd Linux raid autodetect
/dev/hda4 * 5802 19457 109691820 5 Extended
/dev/hda5 5802 7076 10241406 fd Linux raid autodetect
/dev/hda6 7077 8351 10241406 fd Linux raid autodetect
/dev/hda7 8352 8482 1052226 fd Linux raid autodetect
/dev/hda8 8483 10441 15735636 fd Linux raid autodetect
/dev/hda9 10573 12531 15735636 fd Linux raid autodetect
/dev/hda10 12598 12663 530113+ 82 Linux swap / Solaris
/dev/hda11 12664 13938 10241406 fd Linux raid autodetect
/dev/hda12 13939 19457 44331336 fd Linux raid autodetect
/dev/hda13 10442 10572 1052226 82 Linux swap / Solaris
/dev/hda14 12532 12597 530113+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3187 25599546 fd Linux raid autodetect
/dev/hdb2 3188 5737 20482875 fd Linux raid autodetect
/dev/hdb3 5738 7012 10241437+ fd Linux raid autodetect
/dev/hdb4 7013 19457 99964462+ 5 Extended
/dev/hdb5 7013 8287 10241406 fd Linux raid autodetect
/dev/hdb6 8288 8418 1052226 fd Linux raid autodetect
/dev/hdb7 8419 10377 15735636 fd Linux raid autodetect
/dev/hdb8 10509 12467 15735636 fd Linux raid autodetect
/dev/hdb9 12534 12599 530113+ 82 Linux swap / Solaris
/dev/hdb10 12600 13874 10241406 fd Linux raid autodetect
/dev/hdb11 13875 14005 1052226 82 Linux swap / Solaris
/dev/hdb12 14006 19457 43793158+ fd Linux raid autodetect
/dev/hdb13 10378 10508 1052226 82 Linux swap / Solaris
/dev/hdb14 12468 12533 530113+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/md0: 20.9 GB, 20974338048 bytes
2 heads, 4 sectors/track, 5120688 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md8: 90.2 GB, 90239139840 bytes
2 heads, 4 sectors/track, 22031040 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md8 doesn't contain a valid partition table

Disk /dev/md6: 10.4 GB, 10487070720 bytes
2 heads, 4 sectors/track, 2560320 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md6 doesn't contain a valid partition table

Disk /dev/md7: 32.2 GB, 32226410496 bytes
2 heads, 4 sectors/track, 7867776 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md7 doesn't contain a valid partition table

Disk /dev/md5: 16.1 GB, 16113205248 bytes
2 heads, 4 sectors/track, 3933888 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Device Boot Start End Blocks Id System

Disk /dev/md4: 2154 MB, 2154823680 bytes
2 heads, 4 sectors/track, 526080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md4 doesn't contain a valid partition table

Disk /dev/md1: 20.9 GB, 20974141440 bytes
2 heads, 4 sectors/track, 5120640 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md2: 20.9 GB, 20974141440 bytes
2 heads, 4 sectors/track, 5120640 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md3: 52.4 GB, 52427489280 bytes
2 heads, 4 sectors/track, 12799680 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md3 doesn't contain a valid partition table

Although the results of fdisk -l show that I have no valid partitiion tables, I use md0 thru md4 for FC4, md5 &md7 for Open SUSE10.0 and md6 & md8 for FC5t2 FC4 boots fine. Adding the original FC5 kernel/initrd lines to the menu.lst worked well. Adding the 1995 kernel to menu.lst doesn't work at all.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/md6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core 4 (2.6.14-1.1656_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.14-1.1656_FC4 ro root=/dev/md0 rhgb quiet
initrd /initrd-2.6.14-1.1656_FC4.img
title Fedora Core 5 (2.6.15-1.1826.2.10_FC5)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.1826.2.10_FC5 ro root=/dev/md6 rhgb quiet
initrd /initrd-2.6.15-1.1826.2.10_FC5.img
title Fedora Core 5 (2.6.15-1.1995_FC5)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.1995_FC5 ro root=/dev/md6 rhgb quiet acpi=off
initrd /initrd-2.6.15-1.1995_FC5.img
title Fedora Core 4 (2.6.14-1.1644_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.14-1.1644_FC4 ro root=/dev/md0 rhgb quiet
initrd /initrd-2.6.14-1.1644_FC4.img
title Fedora Core 4 (2.6.14-1.1637_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.14-1.1637_FC4 ro root=/dev/md0 rhgb quiet
initrd /initrd-2.6.14-1.1637_FC4.img
title Fedora Core 4 (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/md0 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title SUSE-10.0
rootnoverify (hd0,8)
kernel /vmlinuz root=/dev/md5 vga=0x31a selinux=0 swapoff /dev/md4 resume=/dev/hdb7 splash=silent showopts
initrd /initrd
I usually have no problems with figuring our Grub boot problems, but his is making me crazy.
Thanks for your help
Bill

Firewing1
20th February 2006, 11:18 PM
It means ther kenrnel didn't install properly. Try reinstalling the new kernel.
Firewing1

Jiujiang Travel Photos on Instagram - Muricay Photos - Santiago Momoxpan Instagram Photos