View Single Post
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#7
Hmmm, this has really gotten me busting my brains now, WTF.

I've created a local pool with two deb packs, one is rootsh and one I've called puf, whereby just copied the rootsh and renamed it etc and renamed the binary from root to puf, and deleted the other rootsh binary - reason below...

Now, the Packages file:
Code:
Package: puf
Version: 0.1
Architecture: all
Maintainer: Faheem Pervez <trippin1@gmail.com>
Depends: sudo
Filename: ./puf_0.1_all.deb
Size: 688
MD5sum: ece114b21f8e5f9a7eb261f9596e9868
SHA1: 68f1daf724ab546cc9eb6e1982c9cb88ce03e084
SHA256: e3dd505d1098f23240ac10f791fd8d0039c6a7bb56e882475f6ad3e11edb707b
Section: user/system
Priority: optional
Description: Puf puf

Package: rootsh
Version: 1.8-1
Architecture: all
Maintainer: Faheem Pervez <trippin1@gmail.com>
Installed-Size: 32
Depends: sudo
Conflicts: rootsh (<= 1.5), becomeroot, easyroot, GodMode
Replaces: becomeroot, easyroot, GodMode
Provides: becomeroot, easyroot, GodMode
Filename: ./rootsh_1.8-1_all.deb
Size: 1440
MD5sum: ae34d36f802dc1c2f9e31479a0a08c4e
SHA1: e2992f7f08b0e3dc259f629e10464ecd1df1bb08
SHA256: bb238fc328b5cdc4f02bd093399741d3f3fb541e664f86cae092d7e17d9b35f0
Section: user/system
Priority: optional
Description: Enable root access, via the "sudo gainroot" command
 "sudo gainroot" will work without requiring you to enable R&D mode.
rootsh.install
Code:
[install]
catalogues = jj-local-pool
package = rootsh

[jj-local-pool]
name = jj-local-pool
uri = file:///media/mmc1/install/jj-local-pool/
dist = /
puf.install
Code:
[install]
catalogues = jj-local-pool
package = puf

[jj-local-pool]
name = jj-local-pool
uri = file:///media/mmc1/install/jj-local-pool/
dist = /
Now, if I click the puf.install, it'll ask about adding the repository and then it'll install the local file.

If I click the rootsh.install, it'll ask about adding the repository and then bomb with:
Code:
Unable to download 'rootsh'.
Application package not found.
WTF, how could this be?

If I go through apt-get both install fine. But obviously, if there's no root access, there won't be the ability to use apt-get.

I'm thinking it has to be something trivial but I can't get over this...

Any thoughts?