Solving problems with Installing Software

YDL running on the Sony Playstation 3

Moderator: billb

Re: Solving problems with Installing Software

Postby ppietro » 19 Mar 2010, 12:42

otakusupreme wrote:1 more thing that i just remembered but not a huge deal if you dont have the time but im taking like a full 3mins to boot because of something called sendmail if you could tell me how to disable or rvrn just how to stop it from taking so long i wouold appreciate it thanks.


I'm not at my Linux box right now, but you should be able to use chkconfig for that.

Something like "chkconfig sendmail off", but that's probably not the right syntax.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Solving problems with Installing Software

Postby aguilarojo » 19 Mar 2010, 23:24

ppietro wrote:
otakusupreme wrote:1 more thing that i just remembered but not a huge deal if you dont have the time but im taking like a full 3mins to boot because of something called sendmail if you could tell me how to disable or rvrn just how to stop it from taking so long i wouold appreciate it thanks.


I'm not at my Linux box right now, but you should be able to use chkconfig for that.

Something like "chkconfig sendmail off", but that's probably not the right syntax.

Cheers,
Paul


A few clarifications. chkconfig lives in /sbin and of course is most quickly accessed by using su -. Without turning this into a treatise on the topic I'll demonstrate a few uses applying problems discussed earlier in this thread:

Code: Select all
[aguila@arakus ~]$ su -
Password:
[root@arakus ~]# ksh
# chkconfig --list|grep yum*
yum-updatesd    0:off   1:off   2:off   3:on    4:on    5:on    6:off
# chkconfig --list|grep sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
#



Of course what chkconfig is looking at are what daemons are running at which level.
Of course, before making any changes regarding what levels the daemons are to run be sure to check references regarding what each runlevel actually is supposed to be and do. After you've acquired that understanding then changing a runlevel to on/off is the same. You do the following:

Code: Select all
# chkconfig --level 2 yum-updatesd on


Good Luck...

Everything on the Earth has a purpose.
Every disease an herb to cure it.
And every person has a mission.
This is the Indian Theory of Existence.
-- Morning Dove, Salish (1888-1936)
User avatar
aguilarojo
ydl guru
ydl guru
 
Posts: 227
Joined: 06 May 2009, 14:50
Location: New York City

Re: Solving problems with Installing Software

Postby ppietro » 20 Mar 2010, 01:10

aguilarojo wrote:Of course what chkconfig is looking at are what daemons are running at which level.
Of course, before making any changes regarding what levels the daemons are to run be sure to check references regarding what each runlevel actually is supposed to be and do. After you've acquired that understanding then changing a runlevel to on/off is the same. You do the following:

Code: Select all
# chkconfig --level 2 yum-updatesd on



Actually - with the latest versions of chkconfig it isn't necessary to do that if the startup script is written correctly. That information is now contained in the startup script itself.

e.g. for /etc/rc.d/init.d/sendmail

Code: Select all
[root@localhost ~]# cat /etc/rc.d/init.d/sendmail
#!/bin/bash
#
# sendmail      This shell script takes care of starting and stopping
#               sendmail.
#
# chkconfig: 2345 80 30
# description: Sendmail is a Mail Transport Agent, which is the program \
#              that moves mail from one machine to another.
# processname: sendmail
# config: /etc/mail/sendmail.cf
# pidfile: /var/run/sendmail.pid


See that commented out chkconfig line? That tells the chkconfig utility what the default parameters are. So - rather than checking the run config at each level:

Code: Select all
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost ~]#


and turning it off level by level as you suggested, for most people, you can do this:

Code: Select all
[root@localhost ~]# chkconfig sendmail off
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost ~]#


and if you want to restore the default settings:

Code: Select all
[root@localhost ~]# chkconfig sendmail on
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost ~]#


Neat, huh? Much easier for beginners. :D

It also sets the correct name for the startup and kill scripts in the various runlevel directories. Again, using the sendmail example above, we see that the start script should be prefixed with an 80, and the kill script prefixed with a 30. On my unix box:

Code: Select all
[root@localhost rc.d]# cd rc0.d
[root@localhost rc0.d]# ls |grep sendmail
K30sendmail
[root@localhost rc0.d]# cd ../rc3.d
[root@localhost rc3.d]# ls |grep sendmail
S80sendmail
[root@localhost rc3.d]#


Coming from a Solaris background, where you had to do all of this on the file system itself, I do love this utility. :D

Anyway - otakusupreme - you want to do this from a terminal window:

su -l
<enter root password>
chkconfig sendmail off


The output should look something like this:

Code: Select all
[paulp@localhost ~]$ su -l
Password:
[root@localhost ~]# chkconfig sendmail off
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost ~]#


Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Solving problems with Installing Software

Postby otakusupreme » 20 Mar 2010, 03:40

thank you so much for your quick replies... but actually when i ran the yum update... the boot up is now much faster... you should have a sticky somewhere saying that this is the first thing that people need to do... it would have helped me rather than me being a noob and just reinstalling linux. thank you though so much for your help.
otakusupreme
ydl addict
ydl addict
 
Posts: 115
Joined: 14 Mar 2010, 08:23

Re: Solving problems with Installing Software

Postby Fabur » 20 Mar 2010, 21:17

Hey everyone,

I am new to YDL and wanted to add some more programs to it.
I followed the tutorial for v. 6.2 viewtopic.php?f=19&t=3017 (but only installed the ps3bodega repo), but I am having some problems installing the yum-protectbase.
This is what I get:
Code: Select all
[root@localhost ~]# yum install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
PS3Bodega                 100% |=========================| 1.9 kB    00:00     
updates                   100% |=========================|  951 B    00:00     
http://ftp.aarnet.edu.au/pub/yellowdog/yum/6.2/base/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/base/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
base                      100% |=========================| 1.1 kB    00:00     
http://ftp.aarnet.edu.au/pub/yellowdog/yum/6.2/extras/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/extras/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
extras                    100% |=========================|  951 B    00:00     
Nothing to do


It looks like it can't find the files for the repos that were pre-installed.
Does anyone know why it can't find the files for the official repos in the newest release?

When I try it again I get this:
Code: Select all
[root@localhost ~]# yum install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Nothing to do


But it doesn't create a /etc/yum/pluginconf.d/protectbase.conf file (as mentioned here http://wiki.centos.org/PackageManagement/Yum/ProtectBase).

Anyone got an idea?
Oh and I already did an update and my system has all the newest versions.

Thanks,
Marcus
Fabur
ydl newbie
ydl newbie
 
Posts: 5
Joined: 20 Mar 2010, 20:50

Re: Solving problems with Installing Software

Postby Noons » 20 Mar 2010, 21:20

Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2... let me check that out

Cheers
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: Solving problems with Installing Software

Postby Fabur » 20 Mar 2010, 21:24

Noons wrote:Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2

Cheers


Ah OK, thank you for your fast reply!

But I still should be able to install protectbase under ydl 6.2 right?
Fabur
ydl newbie
ydl newbie
 
Posts: 5
Joined: 20 Mar 2010, 20:50

Re: Solving problems with Installing Software

Postby Noons » 20 Mar 2010, 21:28

Fabur wrote:
Noons wrote:Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2

Cheers


Ah OK, thank you for your fast reply!

But I still should be able to install protectbase under ydl 6.2 right?


Yeah but I'm not sure which repo it's located in..
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: Solving problems with Installing Software

Postby billb » 20 Mar 2010, 22:27

yum-protectbase isn't in the ps3bodega repo for YDL 6.2 or the default YDL repos. It was in previous versions of the ps3bodega repo (6.0 & 6.1) since they were meant to work with fedora-extras, but the 6.2 version is meant to be a stand-alone add on for YDL 6.2. By design it replaces some of YDL's packages (such as Qt4) so protectbase isn't needed.

protectbase is recommended in this guide since the 3rd party repos mentioned were not designed to work with YDL and you DO want to avoid having certain packages replaced.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Solving problems with Installing Software

Postby Fabur » 21 Mar 2010, 00:10

So it is in one of the other additional repos?
I am thinking of installing them too as I am missing some stuff to fully use fluxbox (following the guide on this board).
In that case I should set enable=0 for the yellowdog-extras and ps3bodega repos or yellowdog-extras alone?
Fabur
ydl newbie
ydl newbie
 
Posts: 5
Joined: 20 Mar 2010, 20:50

Re: Solving problems with Installing Software

Postby Noons » 21 Mar 2010, 00:50

Fabur wrote:So it is in one of the other additional repos?
I am thinking of installing them too as I am missing some stuff to fully use fluxbox (following the guide on this board).
In that case I should set enable=0 for the yellowdog-extras and ps3bodega repos or yellowdog-extras alone?


I would leave your repos how they are (IMHO); you don't need protectbase. as for fluxbox, you might want to try posting your error message in that thread, most likely the software that is needed can be installed through alternate methods.

Cheers
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: Solving problems with Installing Software

Postby Fabur » 21 Mar 2010, 19:04

Thanks for your help.
I didn't really get any error message, it's just the standard wallpaper setter that is not so good (don't know what nautilus is using), as it can't maximize the pictures.
Some of the programs used in the fluxbox tutorial are not in the standard or ps3bodega repos and he doesn't say which one he uses.

But I did some research on how to install software the "hard" way and I think that I will manually install feh, newest fluxbox and conky.

Again, thanks for your fast help!
Fabur
ydl newbie
ydl newbie
 
Posts: 5
Joined: 20 Mar 2010, 20:50

Re: Solving problems with Installing Software

Postby otakusupreme » 27 Mar 2010, 04:19

hey everybody i think i messed up something again. i keep getting missing dependencies for vlc and other things, and now i cant even find some rpm's from the add remove software program, specifically a bittorrent client. heres my code
Code: Select all
[benjy1313@dhcppc3 ~]$ su -
Password:
[root@dhcppc3 ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/ps3bodega.repo
::::::::::::::
[PS3Bodega]
name=PS3Bodega repo for Yellow Dog 6.2
baseurl=http://pleasantfiction.ipower.com/ps3linux/ps3bodega62/ppc/
gpgcheck=0
enabled=1
::::::::::::::
/etc/yum.repos.d/ps3bodega-testing.repo
::::::::::::::
[PS3Bodega-testing]
name=PS3Bodega repo for Yellow Dog 6.2
baseurl=http://pleasantfiction.ipower.com/ps3linux/ps3bodega62/testing/ppc/
gpgcheck=0
enabled=0
::::::::::::::
/etc/yum.repos.d/yellowdog-base.repo
::::::::::::::
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.2 Base
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo~
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repo
::::::::::::::
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.2 Updates
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

thanks for the help in advance.

UPDATE: just so everyone knows i did i freah inatall of ydl 6.2 and im still missing dependencies. all i have now is the ps3bodega repo and the yellow dog standards. i dont know what happened because everything was worling fine b4 i had to re install yesterday to get rid of zerogame. this is my 2nd reinstall in the last 24 hours... someone please help. these missing dependencies arent only affecting my vlc and bittorent i cant download emulators either.
otakusupreme
ydl addict
ydl addict
 
Posts: 115
Joined: 14 Mar 2010, 08:23

Re: Solving problems with Installing Software

Postby billb » 27 Mar 2010, 13:09

::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


Why do you have yellowdog-extras.repo disabled? That would be why the dependencies are "missing" ...
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Solving problems with Installing Software

Postby otakusupreme » 27 Mar 2010, 13:39

EDIT: Note -- the same third party repos still appear to work OK with YDL 6.1. The additional repos may cause problems with YDL 6.2. If you want to use these third party repos with 6.2, at this point I'm recommending that you disable the yellowdog-extras repo (change enabled=1 to enabled=0)

that would be why its disabled
otakusupreme
ydl addict
ydl addict
 
Posts: 115
Joined: 14 Mar 2010, 08:23

PreviousNext

Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 22 guests

cron