mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
how can't i install qt 4.2.0 on debian10 #9466
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#9466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saeson001 on GitHub (Dec 14, 2019).
Please provide the following information
qBittorrent version and Operating System
4.2.0,debian10 no gui
If on linux, libtorrent-rasterbar and Qt version
(type here)
What is the problem
can't install
What is the expected behavior
(type here)
Steps to reproduce
(type here)
Extra info(if any)
(type here)
@FranciscoPombal commented on GitHub (Dec 14, 2019):
Here is your problem:
You don't have
qmakeand possibly other required qt5 packages installed. Read this for more info, particularly the section titled "Required dependencies":https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu
@thewonderer73 commented on GitHub (Dec 14, 2019):
Or you could use the compiled packages at ppa launchpad. Just add the qbittorrent-stable release as your new source. Plenty of guides on the net.
@saeson001 commented on GitHub (Dec 15, 2019):
I did it according to the above tutorial, or the same, qmake made an error in configure, how to eliminate the problem?
@saeson001 commented on GitHub (Dec 15, 2019):
I'm using the version provided on GitHub, and I don't see any others
@Kolcha commented on GitHub (Dec 15, 2019):
first of all, there is NO 4.2.0 binary packages for Debian, Ubuntu' PPA is NOT applicable for Debian too.
second, if you want to build libtorrent, you don't need to install its "dev" package.
third, you still have no Qt dev packages installed...
I read the instructions following provided link... This just confuses me...
So, I provide very simple script to you to build libtorrent 1.2.x (using code from RC_1_2 branch) + qBittorrent 4.2.0 (release version). But before running it uninstall everything you installed followed that manual! also remove everything related to libtorrent from /usr/local as you already build it... This script will install required packages by itself.
P.S.> script rely on
sudo, so run it as non-root user, or just modify it removing thesudofrom it@saeson001 commented on GitHub (Dec 15, 2019):
According to the script you provided, I ran it in both environments and got different results. This is a newly installed system
I didn't know why it was wrong
@saeson001 commented on GitHub (Dec 15, 2019):
This is executed under the old system, and it is also a qmake error
@Kolcha commented on GitHub (Dec 15, 2019):
run
dpkg-query -Wand post results here. it is very strange... you still don't have Qt dev tools or it is too old (not Debian 10?). output from this command will list everything installed in your system.please attach any output listsing/logs as files (or even better links to files, which can be easy dropped to do not waste the space), it is very hard to read them as "message text", moreover, GitHub tries to apply some formatting...
As alternative solution, I can provide the script which will build everything (including Qt) from sources, but running this script will take pretty much time (about a hour) on weak (2 CPU cores) machine.
@Kolcha commented on GitHub (Dec 15, 2019):
so... I packaged qBittorrent 4.2.0 for Debian (10, testing and unstable). All dependencies are used from official Debian repositories, as result libtorrent 1.1 is used.
Both GUI and headless (daemon, nox) versions are packaged.
anyone interested can download it here. Just follow instructions on the page, install
qbittorrent-noxinstead ofqbittorrent(as shown) if you need daemon.P.S.> only x86_64 builds are available right now, feel free to ask me to add build for ARM for example. build service provides wide range of architectures
@sledgehammer999 commented on GitHub (Dec 15, 2019):
You apparently aren't reading and following the wiki closely. You do this:
While the wiki clearly states that it is a step for Ubuntu 16.04 LTS. It also clearly states that for Debian 10 you don't need a special PPA. Just use the command it shows below. (Now you have to remove that PPA and do a
sudo apt-get update).How you get these versions on Debian 10 is beyond me:
Current debian 10 version is 5.11.3. Yours seems to come from Debian 9. Did you do an upgrade to Debian 10 on top of Debian 9? If so, your repos are probably messed up that's why you get bad results.
@saeson001 commented on GitHub (Dec 16, 2019):
@saeson001 commented on GitHub (Dec 16, 2019):
Linux U-NAS 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux
The system provider told me that it had been updated to Debian 10
I attach the download address of the system. Actually, I don't know much about it. I'm still in the exploratory stage
http://www.u-nas.cn/download/U-NAS_4.0.4_X86-64_ZH_DVD_build201910301.iso
@saeson001 commented on GitHub (Dec 16, 2019):
Actually, I'm not very good at wikis, and I'm not very comfortable with this kind of website.
The question of Debian 9 or 10, I said according to the prompt given to me by the system vendor, in fact, I don't quite understand it is 9 or 10
If it is 9, then the problem is that I install QBT of 4.1.6, and qmake error also occurs
This is the information I got with uname-a:Linux U-NAS 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux
@Kolcha commented on GitHub (Dec 16, 2019):
according to packages version, looks like you have Debian 9. 4.9.0 kernel is too old, and it is used on Debian 9 (I have such system now). I can't read Chinese, official site of your distro has no English interface (or at least I didn't find any way to switch it), I have no information which versions of their system based on what.
for Debian 9 you have to build suitable Qt by yourself. use this script to build everything (Qt, Boost, libtorrent 1.2, qBittorrent 4.2.0) from sources. You can safely remove libtorrent and Qt development packages from your system, but keep all build tools (automake and related autotools, build-essential metapackage, libssl-dev and zlib1g-dev)
@sledgehammer999 commented on GitHub (Dec 16, 2019):
Also don't paste "walls of info" on each post. It makes them really long and very hard to follow the conversation. You can paste those info into sites like pastebin.com and provide a link to that in the post.
@saeson001 commented on GitHub (Dec 16, 2019):
copy
@FranciscoPombal commented on GitHub (Feb 18, 2020):
Your system is severely broken one way or another, as mentioned in previous comments. This is not an issue with qBittorrent. If you need further assistance, try the forum or subreddit, contact your system vendor, or post in some other *nix system-focused help community.