What a damned useful little script! Many Thanks.
What a damned useful little script! Many Thanks.
I laughed, I cried, I jumped with joy. I was here before Killroy. 8)
I am completely new to ubuntu and need to know what exactly i need to do to change the dependency in boxee from "libxmlrpc-c3" to "libxmlrpc-c3-0".
Thanks in advance for any help,
Ryan.
Registered just to say thanks! This script did exactly what I needed.
Hello All,
I'm new to linux & have the problem "dependency is not satisfiable libxmlrpc-c3"
So plz, tell me how can I solve it?
awesome script. Thanks!
Im getting:
$sudo: videbcontrol: command not found
Im running Ubuntu server 11.04
I've got some questions, because I'm a straight up n00b and downloaded Ubuntu only because it was the best of the "free" options since my copy of windows apparently lost its legitimacy when I did a clean install. I'm trying to turn this computer into a media center, so if someone could basically explain this to me step-by-step, I would greatly appreciate it.
Thanks! I was leary - 4 year old scripts rarely work, but this did exactly what I needed to get boxee to ignore my libvdpau1 problem. Only one slight modification on line 31 - vim is better than vi.
As for mrgoodknife, it is frowned upon to post unrelated questions in forums. Start a new thread to ask your question. Better yet, ask Google, who knows all.
Found this script and it's well made. My only gripe is that I hate vi, just isn't intuitive for me. So I just made a quick modification. It will now open with gedit instead and wait for you to save and hit enter before continuing.
(Note: If you have problems opening the script try "bash debcontrol" in the directory of the script. Should execute the script even if it's not +x tagged)
Code:#!/bin/bash #modded by japzone if [[ -z "$1" ]]; then echo "Syntax: $0 debfile" exit 1 fi DEBFILE="$1" TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1 OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb if [[ -e "$OUTPUT" ]]; then echo "$OUTPUT exists." rm -r "$TMPDIR" exit 1 fi dpkg-deb -x "$DEBFILE" "$TMPDIR" dpkg-deb --control "$DEBFILE" "$TMPDIR"/DEBIAN if [[ ! -e "$TMPDIR"/DEBIAN/control ]]; then echo DEBIAN/control not found. rm -r "$TMPDIR" exit 1 fi CONTROL="$TMPDIR"/DEBIAN/control MOD=`stat -c "%y" "$CONTROL"` gedit "$CONTROL" read -p "Press any key once you've finished editing and saved" if [[ "$MOD" == `stat -c "%y" "$CONTROL"` ]]; then echo Not modfied. else echo Building new deb... dpkg -b "$TMPDIR" "$OUTPUT" fi rm -r "$TMPDIR"
Last edited by japzone; March 5th, 2012 at 05:18 AM.
Bookmarks