|
889
|
LinuxMCE / Developers / Re: Kubuntu prep script for 8.10 installs
|
on: February 20, 2011, 05:52:24 pm
|
|
Had a small oversight. Corrected.
Script works well... but leaves sources LMCE does not require. Will hone it down to what is needed.
*juast noticed dist-upgrade works in download only mode. will tweak.
|
|
|
|
|
891
|
LinuxMCE / Developers / Re: Kubuntu prep script for 8.10 installs
|
on: February 20, 2011, 01:48:06 am
|
Better script. #!/bin/bash n1=$(grep -e 'security.' -e 'archive.' /etc/apt/sources.list | wc -l) #looks for references that shouldn't be there and counts them o1=0; if [ "$n1" -gt "$o1" ] ; then echo "Changing Repositories" sed -i.backup -e 's/us.archive/old-releases/' -e 's/security.ubuntu/old-releases.ubuntu/' -e 's/\/archive/\/old-releases/' /etc/apt/sources.list; #changes us.archive, security.ubuntu, and /archive to old-releases < /etc/apt/sources.tmp else echo "Repositories correct, running update." fi sort -u /etc/apt/sources.list > /etc/apt/sources.tmp; #removes duplicates in temp file cat /etc/apt/sources.tmp > /etc/apt/sources.list; #rewrites sources.list without duplicates apt-get update n1=$(grep -e 'security.' -e 'archive.' /etc/apt/sources.list | wc -l) #looks for references that shouldn't be there and counts them o1=0; if [ "$n1" -gt "$o1" ] ; then echo "Changing Repositories" sed -i.backup -e 's/us.archive/old-releases/' -e 's/security.ubuntu/old-releases.ubuntu/' -e 's/\/archive/\/old-releases/' /etc/apt/sources.list; #changes us.archive, security.ubuntu, and /archive to old-releases < /etc/apt/sources.tmp sort -u /etc/apt/sources.list > /etc/apt/sources.tmp; #removes duplicates in temp file cat /etc/apt/sources.tmp > /etc/apt/sources.list; #rewrites sources.list without duplicates else echo "Repositories correct, running dist-upgrade" fi apt-get dist-upgrade -ydu --force-yes n1=$(grep -e 'security.' -e 'archive.' /etc/apt/sources.list | wc -l) #looks for references that shouldn't be there and counts them o1=0; if [ "$n1" -gt "$o1" ] ; then echo "Changing Repositories" sed -i.backup -e 's/us.archive/old-releases/' -e 's/security.ubuntu/old-releases.ubuntu/' -e 's/\/archive/\/old-releases/' /etc/apt/sources.list; #changes us.archive, security.ubuntu, and /archive to old-releases < /etc/apt/sources.tmp else echo "Repositories Correct." fi sort -u /etc/apt/sources.list > /etc/apt/sources.tmp; #removes duplicates in temp file cat /etc/apt/sources.tmp > /etc/apt/sources.list; #rewrites sources.list without duplicates #echo "Installing LMCE" #env #sad=$SUDO_USER #sh /home/$sad/Desktop/LinuxMCE Can, but do not wish to launch install prog... would rather instantiate the rest of the processes from here, or push the button.
|
|
|
|
|
893
|
LinuxMCE / Developers / Kubuntu prep script for 8.10 installs
|
on: February 19, 2011, 06:24:30 am
|
This is a little script I wrote for those of us who install a lot. It looks for references in sources.list that should not be there and changes them. It then removes any duplicates. It then performs update and then dist-upgrade. It then starts the LMCE install. This is not fully tested as of this second (am fresh installing now)... but it will not do any harm if it bombs. Feel free to test, and post your results. #!/bin/bash n1=$(grep -e 'security.' -e 'archive.' /etc/apt/sources.list | wc -l) #looks for references that shouldn't be there and counts them o1=0; if [ "$n1" -gt "$o1" ] ; then echo "Changing Repositories" sed -i.backup -e 's/us.archive/old-releases/' -e 's/security.ubuntu/old-releases.ubuntu/' -e 's/\/archive/\/old-releases/' /etc/apt/sources.list; #changes us.archive, security.ubuntu, and /archive to old-releases sort -u /etc/apt/sources.list > /etc/apt/sources.tmp; #removes duplicates in temp file cat /etc/apt/sources.tmp > /etc/apt/sources.list; #rewrites sources.list without duplicates else echo "Repositories Correct, Running update, and dist-upgrade" fi apt-get update && apt-get dist-upgrade -ydu --force-yes #echo "Installing LMCE" #env #sad=$SUDO_USER #sh /home/$sad/Desktop/LinuxMCE Save as something.sh sudo chmod +x something.sh sudo ./something.sh Any feedback is welcome. Spawning the installer appears to break things, so have commented out. http://svn.linuxmce.org/trac.cgi/ticket/1003
|
|
|
|
|
894
|
LinuxMCE / Users / Re: DVB Cards info needed for Templates
|
on: February 17, 2011, 09:51:43 pm
|
Avermedia 780m pcie combo tuner Fresh dmesg: http://pastebin.com/CKCxhnMsWith native FW (skipping the script), using the other drivers: hg clone http://kernellabs.com/hg/~dheitmueller/ngene3 cd ngene3 make make install http://pastebin.com/Q0p38GVP make http://pastebin.com/RVy6XuLF make install Resulting in this dmesg http://pastebin.com/g5s4zwCpVendor ID: 18c307201461062e sudo lspci -vn http://pastebin.com/Wju59bCrsudo v4l2-ctl -n Failed to open /dev/video0: No such file or directory 1 Digital ATSC/QAM in 1 Analog "HD" in 1 S-Video in 1 Audio in Currently have 2 installed, working well on ATSC for both. Myth behaving famously. Though a little top heavy: 11696 root 19 -1 186m 169m 103m R 90 5.0 26:27.09 Xorg 18553 root 20 0 410m 241m 121m S 40 7.1 16:49.35 mythfrontend 9546 mythtv 20 0 323m 51m 14m S 2 1.5 1:01.44 mythbackend I cannot get VDPAU working on core (Asus M3N78-VM) w/on board 8200 for other media, have not tried with myth. model name : AMD Athlon(tm) II X2 240 Processor stepping : 2 cpu MHz : 2799.955 cache size : 1024 KB
|
|
|
|
|
899
|
LinuxMCE / Developers / Re: SiriusXM
|
on: February 15, 2011, 07:52:08 pm
|
|
Sounds like a fun project... but I think these guys are busy crushing bugs rather than feature enhancements. It sounds pretty easy, so I will look into it, because my powers are weak. I know that flash is... glitchy at best in firefox.
|
|
|
|
|
900
|
LinuxMCE / Developers / Re: Avermedia PCIE combo capture card (AverTV combo m780 b)
|
on: February 15, 2011, 02:50:21 am
|
|
After reboot, I have audio.
I have no idea wtf I did right, but assuredly there is a way to make this work without these steps... or even with... over my bunk connection, it was 10 minutes... but I expect the goal is to make it just work. I can't help there...
... today.
|
|
|
|
|