Re: How to install SchoolTool 2.0 on Debian?



It's not that its not installable, its just that if you don't know what you are doing, or won't take the time to understand the ramifications of your actions, then its just better left alone.

You can very posibly damage your current Debian system if you just willy nilly start adding repos that are not native to your Debian system.

My suggestion if you are Hell-bent on installing that app: switch to ubuntu. This way at least the repo will be somewhat compatible and you'll be using the OS the repo was intended for.


Sent from my HTC.

----- Reply message -----
From: "Csanyi Pal" <csanyipal@xxxxxxxxx>
Date: Sat, Aug 18, 2012 7:04 am
Subject: How to install SchoolTool 2.0 on Debian?
To: <debian-user@xxxxxxxxxxxxxxxx>

Gary Dale <garydale@xxxxxxxxxx> writes:

On 18/08/12 05:06 AM, Csanyi Pal wrote:
Brian<ad44@xxxxxxxxxxxxxxx> writes:

On Sat 18 Aug 2012 at 09:31:52 +0200, Csanyi Pal wrote:

I wish to install on my Debian GNU/Linux testing/sid system the
SchoolTool 2.0: http://book.schooltool.org/install-2_0.html

I realise that that I can't follow steps:

$ sudo add-apt-repository ppa:schooltool-owners/dev
$ sudo apt-get update

$ sudo apt-get install schooltool

because on debian there isn't such command:
add-apt-repository
Correct.

$ sudo add-apt-repository ppa:schooltool-owners/dev
sudo: add-apt-repository: command not found

however if I edit my sources.list:
deb-src ppa:schooltool-owners/dev
Doesn't fit the pattern of other lines, does it? Try

http://ppa.launchpad.net/schooltool-owners/

in a browser and go from there to get a line which is not malformed.
Here follows is what I did.

Downloaded the
http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
file.

Edited it to correspond the newest version of Ubuntu:
echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu precise main" [snip]

In this line I replaced the word 'lucid' with 'precise'.

Copied this file to /usr/sbin.

Set up it's permissions so I have now:
$ ls -l /usr/sbin/add-apt-repository
-rwxr-xr-x 1 root root 723 aug 18 10:43 /usr/sbin/add-apt-repository

Run the script:
$ sudo add-apt-repository ppa:schooltool-owners/dev
schooltool-owners/dev
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
--secret-keyring /tmp/tmp.y
irs4BqhK8 --trustdb-name /etc/apt//trustdb.gpg --keyring
/etc/apt/trusted.gpg --primary-keyring /et
c/apt/trusted.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring
/etc/apt/trusted.gpg.d//debian-
archive-wheezy-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --k
eyserver keyserver.ubuntu.com --recv-keys C95C0E19386B7051
gpg: requesting key 386B7051 from hkp server keyserver.ubuntu.com
gpg: key 386B7051: public key "Launchpad PPA for SchoolTool Owners"
imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

$ sudo aptitude update

$ sudo aptitude install schooltool

but get:

The following NEW packages will be installed:
libjs-mochikit{a} python-openid{a} python-paste{a}
python-pastedeploy{a} python-pastescript{a} python-scgi{a}
python-schooltool{ab} python-schooltool.gradebook{ab}
python-schooltool.intervention{ab}
python-schooltool.lyceum.journal{ab} schooltool
0 packages upgraded, 11 newly installed, 0 to remove and 5 not
upgraded.
Need to get 5478 kB of archives. After unpacking 26.4 MB will be used.
The following packages have unmet dependencies:
python-schooltool.lyceum.journal :
Depends: python-zc.table which is a virtual package.
Depends: python-zodb but it is not going to be installed.

[snip]

Depends: python-zope.traversing (>= 3.13) but it is not going to be
installed.
Depends: python-zope.ucol which is a virtual package.
Depends: python-zope.viewlet which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) python-schooltool [Not Installed]
2) python-schooltool.gradebook [Not Installed]
3) python-schooltool.intervention [Not Installed]
4) python-schooltool.lyceum.journal [Not Installed]
5) schooltool [Not Installed]



Accept this solution? [Y/n/q/?]


So, SchoolTool 2.0 is not installable on Debian testing/sid?

There is no reason why it shouldn't be (in theory).

- You can try using apt-get instead of aptitude. Sometimes it allows
packages to be installed that aptitude rejects.

$ sudo apt-get install schooltool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
schooltool :
Depends: python-schooltool (>= 1:1.9) but it is not going to be
installed
Recommends: python-schooltool.gradebook but it is not going to be
installed
Recommends: python-schooltool.lyceum.journal but it is not going to be
installed
Recommends: python-schooltool.intervention but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.

- You can try installing the packages that aptitude is complaining
about before trying to install schooltool.

Tried that too and installed the installable packages but can't
installed those virtual packages only.

I get again message:
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) python-schooltool [Not Installed]
2) python-schooltool.gradebook [Not Installed]
3) python-schooltool.intervention [Not Installed]
4) python-schooltool.lyceum.journal [Not Installed]
5) schooltool [Not Installed]

Tried again apt-get:

$ sudo apt-get install schooltool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
schooltool :
Depends: python-schooltool (>= 1:1.9) but it is not going to be
installed
Recommends: python-schooltool.gradebook but it is not going to be
installed
Recommends: python-schooltool.lyceum.journal but it is not going to be
installed
Recommends: python-schooltool.intervention but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.


- You can try answering N to the "accept this solution" question, in
which case aptitude will usually present you with another solution.

Accept this solution? [Y/n/q/?] n

*** No more solutions available ***

So, SchoolTool 2.0 is not installable on Debian testing/sid?

--
Regards from Pal


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/87ehn4mmo3.fsf@xxxxxxxxx




Relevant Pages

  • Re: Linux Vs. FreeBSD
    ... >> has made a lot of effort towards making it easy to install. ... Debian's not a bad distro. ... although packages like this are few and far between. ... since the binary dependencies certainly wouldn't be any ...
    (comp.os.linux.misc)
  • Re: How to report bug in build-deps?
    ... it should install all the packages to allow that app to be built. ... do I report a bug in the build dependencies list for an app (there are ...
    (Ubuntu)
  • RE: FC5 - T3 - Had enough. Package Managers, Yumex is crap.
    ... install/update a huge number of packages would stress things out too ... Run "yum update yum". ... Say FC4, where you install it new, then ... dependencies, something that is a major bugbear in Linux that I've not ...
    (Fedora)
  • proper use of aptitude in stable/unstable mixed systems
    ... I have been using aptitude for a while now and prefer it greatly to ... I can pull it in along with its dependencies. ... A machine is running stable with a bunch of unstable packages (e.g. ... apt-get install -t testing logcheck ...
    (Debian-User)
  • Re: installing gnome-bluetooth on LXDE spin brings in host of packages
    ... I am running the LXDE spin with a host of other packages and I tried to ... Setting up Install Process ... --> Running transaction check ... Dependencies Resolved ...
    (Fedora)