Bitcoin Forum
May 11, 2024, 11:08:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: E: Package 'libqt4-dev' has no installation candidate  (Read 84 times)
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
September 29, 2022, 11:57:51 AM
Merited by NotATether (5), vapourminer (1)
 #1

when i install in ubuntu20
```
sudo apt-get install autoconf libtool pkg-config libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libevent-dev libqt4-dev libcanberra-gtk-module libdb++-dev
   
```
it show E: Package 'libqt4-dev' has no installation candidate

how can i solve it.
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
1715425732
Hero Member
*
Offline Offline

Posts: 1715425732

View Profile Personal Message (Offline)

Ignore
1715425732
Reply with quote  #2

1715425732
Report to moderator
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
September 29, 2022, 12:10:20 PM
Merited by vapourminer (1), ABCbits (1)
 #2

You may follow instructions from there:
https://ubuntuhandbook.org/index.php/2020/07/install-qt4-ubuntu-20-04/

Like ETFBitcoin wrote, you need to use an additional repository.

Maybe other option would be to manually download .deb packages from 18.04 and install them on 20.04?
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
September 29, 2022, 12:13:27 PM
 #3

Qt4 already each end of life, so Ubuntu 20.04 or other more recent linux distro no longer include Qt4 on their repository. You could add third party repository such as ppa:rock-core/qt4[1], but there's no guarantee you won't face another problem. Alternatively, setup a VM or Docker image which contain older linux distro, then compile the application inside it.

[1] https://launchpad.net/~rock-core/+archive/ubuntu/qt4/+packages
thanks ,i use this link https://askubuntu.com/questions/1234786/qt4-libqt4-in-ubuntu-20-04 .can it be ok?
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
September 29, 2022, 01:22:56 PM
Merited by vapourminer (1)
 #4

This is a highly annoying problem that can be solved by adding a PPA that packages QT4. Here are some PPAs for 20.04 and 22.04. In particular, Armory still depends on libqt4 (and it was actually wiped out when I upgraded from Focal to Jammy) but there is a beta version of Armory that runs on QT5.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!