benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Installing PyLoad

Sat Sep 27, 2014 1:18 pm

Hi guys. Just registered on the forums to get some help. Got my RPI B+ and setup. Had a few hiccups at the start (Noob alert). Got transmission up and running. Been using for 2 weeks now.

Now I am trying to configure PyLoad. Using this guide http://jankarres.de/2013/06/raspberry-p ... admanager/

I am stuck at step 2. I get the error "Unable to locate package liblept3".

Would really appreciate the help.

DirkS
Posts: 10086
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Installing PyLoad

Sat Sep 27, 2014 2:07 pm

That package should be available for Raspbian.

Did you copy / paste the install command? If that's the case then try entering it manually. Copy / paste from websites can introduce (invisible) characters that the command interpreter cannot deal with.

Gr.
Dirk.

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sat Sep 27, 2014 2:41 pm

I tried both ways. Copy pasting plus manual typing

Image

DirkS
Posts: 10086
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Installing PyLoad

Sat Sep 27, 2014 4:18 pm

Did you change /etc/apt/sources.list? Can you post the contents of this file.

Gr.
Dirk.

User avatar
B.Goode
Posts: 9015
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Installing PyLoad

Sat Sep 27, 2014 4:34 pm

Looks OK to me on a standard installation of Raspbian. Like Dirk, I suspect an inappropriate change to /etc/apt/sources.list

Code: Select all

pi@raspberrypi ~ $ apt-cache search liblept3
liblept3 - image processing library
pi@raspberrypi ~ $ sudo apt-get install liblept3 -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  liblept3
0 upgraded, 1 newly installed, 0 to remove and 139 not upgraded.
Inst liblept3 (1.69-3.1 Raspbian:7.0/stable [armhf])
Conf liblept3 (1.69-3.1 Raspbian:7.0/stable [armhf])
pi@raspberrypi ~ $ sudo apt-get install liblept3 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  liblept3
0 upgraded, 1 newly installed, 0 to remove and 139 not upgraded.
Need to get 693 kB of archives.
After this operation, 1,543 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblept3 armhf 1.69-3.1 [693 kB]
Fetched 693 kB in 1s (474 kB/s)
Selecting previously unselected package liblept3.
(Reading database ... 109393 files and directories currently installed.)
Unpacking liblept3 (from .../liblept3_1.69-3.1_armhf.deb) ...
Setting up liblept3 (1.69-3.1) ...
pi@raspberrypi ~ $

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sat Sep 27, 2014 4:47 pm

Attached the file for contents of sources list
Attachments
Screenshot_2014-09-27-22-16-31.png
Screenshot_2014-09-27-22-16-31.png (47.79 KiB) Viewed 6400 times

DirkS
Posts: 10086
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Installing PyLoad

Sat Sep 27, 2014 5:08 pm

benryu wrote:Attached the file for contents of sources list
You're missing the 'deb' line. Did you maybe change 'deb' to 'deb-src'?
I see you're editing with nano so you can easily duplicate the source line:
Select the line with deb-src, cut it (control-K) and then uncut it twice (control-U). After that change 'deb-src' on the first line to 'deb'

You should end up with

Code: Select all

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
HTH
Dirk.

DirkS
Posts: 10086
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Installing PyLoad

Sat Sep 27, 2014 5:09 pm

Forgot to mention: after changing the file you do need to run 'sudo apt-get update' again.

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sat Sep 27, 2014 5:13 pm

Ok. It's late here. I'll give it a try tomorrow and update you. Thanks a lot for the help.

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sun Sep 28, 2014 2:29 am

I have done as you said. But now i am getting something else which I dont understand.
Attachments
pyload.png
pyload.png (48.1 KiB) Viewed 6329 times

User avatar
B.Goode
Posts: 9015
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Installing PyLoad

Sun Sep 28, 2014 7:39 am

Have you tried

Code: Select all

sudo apt-get -f install
as it suggests?

(You probably got your system into an inconsistent state by making unneeded changes to the sources.list file: it is suggesting a way to get back to a situation it can deal with.)

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sun Sep 28, 2014 7:53 am

ok let me give it a try. dint want to do anything else without guidance.

Thanks for everybody's help. I have completed the setup. I will test it and update so that thread can be closed.

benryu
Posts: 26
Joined: Sat Sep 27, 2014 1:11 pm

Re: Installing PyLoad

Sat Dec 27, 2014 4:42 pm

Update: pyLoad working properly

Return to “Troubleshooting”