Page 1 of 2

How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Apr 29, 2015 1:14 pm
by SiuLong
Hi all
I have a qBittorrent 2.9.8 unstable.
I'm interesting for upgrade to 3.1.12
I'm not very practical to upgrade, you know I explain step by step what should I do?
thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Apr 29, 2015 3:19 pm
by ciaobaby

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Apr 29, 2015 5:35 pm
by SiuLong
I followed step by step from the link you provided me, but when I got to the installation sudo apt-get-default QT5 gave me this error:
Can not find the package
How to solve it?
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Apr 29, 2015 5:55 pm
by Peter
On Debian, it's best and easiest to just use apt-pinning.

https://packages.debian.org/sid/qbittorrent

- You can get the package from sid.
- You can use the ARM package from Debian.
- How to APT-Pinning: http://jaqque.sbih.org/kplug/apt-pinning.html

Basically it's a way to install / update packages from testing, unstable, experimental - with no mess, no breaks, no sweat.

Good luck!

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Apr 29, 2015 7:26 pm
by SiuLong
What exact package from sid?
For ARM is armhf?
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 7:24 am
by Peter
Once you add the sid repo and the apt-pinning config file, you can update with this: $ apt-get -t unstable install qbittorrent
(Just like the page says at the bottom.)

You don't have to download anything by hand from the page I linked.

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 8:43 am
by SiuLong
I launch apt-get -t unstable qbittorrent...
I receive a error message

Lettura elenco dei pacchetti... Errore
E: Errore di scrittura - write (28: Spazio esaurito sul device)
E: Impossibile eseguire mmap su un file vuoto
E: Troncamento del file non riuscito - ftruncate (9: Descrittore di file errato)
E: L'elenco dei pacchetti o il file di stato non può essere letto o aperto.

Sorry I'm italian.
My Raspberry use a 16gb micro SD it's a impossible full a space on sd card :(
How to solve this problem?
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 12:36 pm
by ciaobaby
My Raspberry use a 16gb micro SD it's a impossible full a space on sd card
Maybe not but that is what the first error suggests.

Other than that, is the drive is formatted as FAT32?

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 1:50 pm
by SiuLong
Yes :o

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 1:56 pm
by SiuLong
I downloaded a new qbittorrent 3.1.12 from http://www.qbittorrent.org/download.php
I use this steps.
1 - cd ~

2 - wget http://sourceforge.net/projects/qbittor ... .12.tar.gz

3 - tar -xzvf qbittorrent-3.1.12.tar.gz

4 - rm qbittorrent-3.1.12.tar.gz

5 - cd qbittorrent-3.1.12

6 - ./configure

7 - make

8 - sudo make install


At the step SIX i receive this error:
Configuring qbittorrent ...
Verifying Qt 4 build environment ... fail

Reason: Unable to find the 'qmake' tool for Qt 4.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

1) --qtdir is set to the location of Qt
2) $QTDIR is set to the location of Qt
3) QtCore is in the pkg-config database
4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.

How to solve this?
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 2:00 pm
by SiuLong
I check using this command..sudo apt-cache search qmake
RESPONSE...
qconf - Nice configure script for your qmake-based project
qt3-assistant - The Qt3 assistant application
qt3-designer - graphical designer for Qt3 applications
qt3-dev-tools - Qt3 development tools
qt4-qmake - Qt 4 qmake Makefile generator tool

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 2:22 pm
by SiuLong
I installed apt-get install qt4-qmake libqt4-dev
and re run ./configure

RESPONSE
Configuring qbittorrent ...
Verifying Qt 4 build environment ... mkdir: cannot create directory `.qconftemp': Permission denied
./configure: 324: ./configure: cannot create .qconftemp/modules.cpp: Directory nonexistent
./configure: 601: ./configure: cannot create .qconftemp/modules_new.cpp: Directory nonexistent
./configure: 625: ./configure: cannot create .qconftemp/conf4.h: Directory nonexistent
./configure: 731: ./configure: cannot create .qconftemp/conf4.cpp: Directory nonexistent
./configure: 1549: ./configure: cannot create .qconftemp/conf4.pro: Directory nonexistent
./configure: 1581: cd: can't cd to .qconftemp
Cannot find file: conf4.pro.
fail

Reason: There was an error compiling 'conf'.  See conf.log for details.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

1) --qtdir is set to the location of Qt
2) $QTDIR is set to the location of Qt
3) QtCore is in the pkg-config database
4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.



Other...I using sudo  ./configure

RESPONSE

Configuring qbittorrent ...
Verifying Qt 4 build environment ... fail

Reason: There was an error compiling 'conf'.  See conf.log for details.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

1) --qtdir is set to the location of Qt
2) $QTDIR is set to the location of Qt
3) QtCore is in the pkg-config database
4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.


I'm not understanding anything  :'( :'( :'( :'( :'( :'( :'(

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 5:11 pm
by Peter
Run ./configure as root.
Or fix your permissions: "sudo chown -R username:username /home/username"

tl;dr: you have a permission issue

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 5:49 pm
by SiuLong
[quote="Peter"]
Run ./configure as root.
Or fix your permissions: "sudo chown -R username:username /home/username"

tl;dr: you have a permission issue
[/quote]

Ok I try
What is tl;dr: ???

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 5:52 pm
by Peter
tl;dr = too long, did not read

it's used to summarize stuff, so lazy people won't have to read a wall of text.