[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to install SchoolTool 2.0 on Debian?



Gary Dale <garydale@rogers.com> writes:

> On 18/08/12 05:06 AM, Csanyi Pal wrote:
>> Brian<ad44@cityscape.co.uk>  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


Reply to: