Closed kochd closed 11 years ago
As said in the README, executing the command sh /usr/lib/steam/steam-debian-depends.sh
solves the need for jockey-common. That being said, I'm currently trying to find a way to remove jockey-common as a depend
Instaed of installing jockey we could claim that it is. There is /var/lib/dpkg/status which cotains the information about pkgs.
This could do the trick ( not tested yet ) https://gist.github.com/kochd/5819972
@kochd Very nice! I'll test this out ASAP
@kochd Okay, big problem. The script blanks /var/lib/dpkg/status
I'm pretty sure this is because of the line: > $status
it should be >> $status
>> means append whereas > means replace/overwrite
Yes thats just a concept. Sorry ab out that. I figured out more problems that need to be fixed. But it will work
Keith notifications@github.com schrieb:
@kochd Okay, big problem. The script blanks /var/lib/dpkg/status
I'm pretty sure this is because of the line: > $status it should be >> $status >> means append whereas > means replace/overwrite
— Reply to this email directly or view it on GitHub.
@kochd Wrote my own shell script inspired by your script. Thank you very much for your contribution. Hopefully one day I'll find a way to flat-out eliminate jockey-common as a dependency, but until then, this script should work quite nicely.
Alternatively I can put the fake package into the repository and you would add jockey-common as Depends or Recommends.
I also think that its a crime what kochd was trying to do. Don't mess with package managers internals you'll definitely break your entire system irreversibly.
@testian That's a pretty neat idea! Can you go ahead and upload the fake package so I can test this.
@testian True, his script was a little... SYSTEM BREAKING, but I still thank him for giving me an idea.
@GhostSquad57 yes, the idea is really good. I tend to see the negative side first and was forgetting about the experimental nature - but in order to get this to work we should experiment.
I will upload the package soon - you will need to copy my deb lines and rename "wheezy" to "testing"
Okay, it's uploaded to testing
@testian Alright. After a bit of testing, the repo trick seems to work just fine.
and you would add jockey-common as Depends or Recommends.
The problem with making jockey-common
a depend, is that the user would have to manually add your repo to sources.list
and then apt update just to be able to install steam-debian, which is a bit too much IMO.
The current method works pretty well: the user launches steam-debian, steam prompts the user to enter his or her password, steam installs jockey-common from your repo and never asks again.
Before I push any changes, do you have any thoughts?
@testian Could you move the fake jockey-common
package from testing to wheezy?
Everything seems to work fine, so I think it's safe.
@GhostSquad57 done
@testian Thanks!
When the next upstream is available I'll make sure to rm steam-debian-depends.sh
A question. I used the steam-debian-depends.sh after installing steam. What should be the update procedure? is just installing steam-debian*.deb again enough? Or do I have to reverse something that the old script did?
@tomasabril Re-exeuting steam-debian-depends.sh
should be enough.
Steam depends on jockey-common which is ubuntu closed ecosystem only