GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Steam depends on jockey-common #18

Closed kochd closed 11 years ago

kochd commented 11 years ago

Steam depends on jockey-common which is ubuntu closed ecosystem only

GhostSquad57 commented 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

kochd commented 11 years ago

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

GhostSquad57 commented 11 years ago

@kochd Very nice! I'll test this out ASAP

GhostSquad57 commented 11 years ago

@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

kochd commented 11 years ago

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.

GhostSquad57 commented 11 years ago

@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.

testian commented 11 years ago

Alternatively I can put the fake package into the repository and you would add jockey-common as Depends or Recommends.

testian commented 11 years ago

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.

GhostSquad57 commented 11 years ago

@testian That's a pretty neat idea! Can you go ahead and upload the fake package so I can test this.

GhostSquad57 commented 11 years ago

@testian True, his script was a little... SYSTEM BREAKING, but I still thank him for giving me an idea.

testian commented 11 years ago

@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

GhostSquad57 commented 11 years ago

@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?

GhostSquad57 commented 11 years ago

@testian Could you move the fake jockey-common package from testing to wheezy?

Everything seems to work fine, so I think it's safe.

testian commented 11 years ago

@GhostSquad57 done

GhostSquad57 commented 11 years ago

@testian Thanks!

When the next upstream is available I'll make sure to rm steam-debian-depends.sh

tomasabril commented 11 years ago

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?

GhostSquad57 commented 11 years ago

@tomasabril Re-exeuting steam-debian-depends.sh should be enough.