You are not logged in.
I am trying to install Transmission for downloading torrent files but terminal is showing this error. I am new to linux so i don't have much idea about it.
This is the error:
[x@BlackOut transmission-cli-git]$ makepkg -si
==> Making package: transmission-cli-git 3.00.r184.g59efe4642-1 (Fri Sep 3 19:25:06 2021)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for x:
error: target not found: libutp
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> miniupnpc
-> opendht
-> libb64
-> libutp
-> libnatpmp
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
I am downloading it from official aur respository
https://aur.archlinux.org/packages/tran … n-cli-git/
What should I do ??
Last edited by 333BlackOut (2021-09-03 15:47:24)
Offline
Admitedly, that error output could be much better, the way it's presented can make it appear as though pacman failed to install all those dependencies. But the relevant line is the less-well highlighted line with the first "error":
error: target not found: libutp
When pacman couldn't install *all* the dependencies in one go, it exited and makepkg then proceeded to report in a much more highlighted and colorful message that *all* dependencies were missing (even though just one couldn't be found). But the problem is just libutp: pacman can't install it if it's in the AUR. You need to install any AUR dependencies of AUR packages yourself manually.
So install libutp from the AUR just as you are trying to do with transmission-cli (but you could add the --asdeps flag to the makepkg call if you'd like), then rerun makepkg -si in the transmission-cli directory.
EDIT: it seems the relevant AUR package is libutp-git which provides "libutp" and will satisfy the dependency.
EDIT - SIDENOTE: as you get settled into the forums here, please have a look around at some of our guidelines on posting including the use of "bbcode" tags for which there is a link to under every post-creation box. While your post here was perfectly clear as the command output was short, we'd prefer to have commands and terminal outputs wrapped in [ code ] tags like I did with the error message I quoted above.
Last edited by Trilby (2021-09-03 14:12:14)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Admitedly, that error output could be much better, the way it's presented can make it appear as though pacman failed to install all those dependencies. But the relevant line is the less-well highlighted line with the first "error":
error: target not found: libutp
When pacman couldn't install *all* the dependencies in one go, it exited and makepkg then proceeded to report in a much more highlighted and colorful message that *all* dependencies were missing (even though just one couldn't be found). But the problem is just libutp: pacman can't install it if it's in the AUR. You need to install any AUR dependencies of AUR packages yourself manually.
So install libutp from the AUR just as you are trying to do with transmission-cli (but you could add the --asdeps flag to the makepkg call if you'd like), then rerun makepkg -si in the transmission-cli directory.
EDIT: it seems the relevant AUR package is libutp-git which provides "libutp" and will satisfy the dependency.
EDIT - SIDENOTE: as you get settled into the forums here, please have a look around at some of our guidelines on posting including the use of "bbcode" tags for which there is a link to under every post-creation box. While your post here was perfectly clear as the command output was short, we'd prefer to have commands and terminal outputs wrapped in [ code ] tags like I did with the error message I quoted above.
Sorry, I will keep that in mind.
Offline
Admitedly, that error output could be much better, the way it's presented can make it appear as though pacman failed to install all those dependencies. But the relevant line is the less-well highlighted line with the first "error":
error: target not found: libutp
When pacman couldn't install *all* the dependencies in one go, it exited and makepkg then proceeded to report in a much more highlighted and colorful message that *all* dependencies were missing (even though just one couldn't be found). But the problem is just libutp: pacman can't install it if it's in the AUR. You need to install any AUR dependencies of AUR packages yourself manually.
So install libutp from the AUR just as you are trying to do with transmission-cli (but you could add the --asdeps flag to the makepkg call if you'd like), then rerun makepkg -si in the transmission-cli directory.
It seems installing libutp-git really did work, but now I am getting a new error
[x@BlackOut ~]$ cd transmission-cli-git
[x@BlackOut transmission-cli-git]$ makepkg -si
[ins]==>[/ins] [b]Making package: transmission-cli-git 3.00.r184.g59efe4642-1 (Fri Sep 3 20:09:13 2021)[/b]
[ins]==>[/ins] [b]Checking runtime dependencies...[/b]
[ins]==>[/ins] [b]Installing missing dependencies...[/b]
resolving dependencies...
looking for conflicting packages...
Packages (6) fmt-8.0.1-1 http-parser-2.9.4-1 libb64-1.2.1-4 libnatpmp-20150609-3
miniupnpc-2.2.2-1 opendht-1:2.1.10-3
Total Download Size: 1.48 MiB
Total Installed Size: 5.08 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
miniupnpc-2.2.2-1-... 41.3 KiB 8.18 KiB/s 00:05 [############################] 100%
fmt-8.0.1-1-x86_64 428.4 KiB 2.38 MiB/s 00:00 [############################] 100%
http-parser-2.9.4-... 21.8 KiB 346 KiB/s 00:00 [############################] 100%
opendht-1:2.1.10-3... 1004.0 KiB 3.86 MiB/s 00:00 [############################] 100%
libb64-1.2.1-4-x86_64 6.6 KiB 105 KiB/s 00:00 [############################] 100%
libnatpmp-20150609... 12.0 KiB 279 KiB/s 00:00 [############################] 100%
Total (6/6) 1514.1 KiB 256 KiB/s 00:06 [############################] 100%
(6/6) checking keys in keyring [############################] 100%
(6/6) checking package integrity [############################] 100%
(6/6) loading package files [############################] 100%
(6/6) checking for file conflicts [############################] 100%
(6/6) checking available disk space [############################] 100%
:: Processing package changes...
(1/6) installing miniupnpc [############################] 100%
(2/6) installing fmt [############################] 100%
(3/6) installing http-parser [############################] 100%
(4/6) installing opendht [############################] 100%
Optional dependencies for opendht
python: to use the Python bindings [installed]
(5/6) installing libb64 [############################] 100%
(6/6) installing libnatpmp [############################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[ins]==>[/ins] [b]Checking buildtime dependencies...[/b]
[ins]==>[/ins] [b]Retrieving sources...[/b]
-> Cloning transmission git repo...
Cloning into bare repository '/home/x/transmission-cli-git/transmission'...
remote: Enumerating objects: 113464, done.
remote: Counting objects: 100% (1581/1581), done.
remote: Compressing objects: 100% (911/911), done.
remote: Total 113464 (delta 869), reused 1206 (delta 657), pack-reused 111883
Receiving objects: 100% (113464/113464), 101.26 MiB | 5.02 MiB/s, done.
Resolving deltas: 100% (87465/87465), done.
-> [b]Found transmission-cli.sysusers[/b]
-> [b]Found transmission-cli.tmpfiles[/b]
[ins]==>[/ins] [b]Validating source files with sha256sums...[/b]
transmission ... Skipped
transmission-cli.sysusers ... Passed
transmission-cli.tmpfiles ... Passed
[ins]==>[/ins] [b]Extracting sources...[/b]
-> [b]Creating working copy of transmission git repo...[/b]
Cloning into 'transmission'...
done.
[ins]==>[/ins] [b]Starting prepare()...[/b]
Submodule 'third-party/dht' ([url]https://github.com/transmission/dht[/url]) registered for path 'third-party/dht'
Submodule 'third-party/googletest' ([url]https://github.com/google/googletest.git[/url]) registered for path 'third-party/googletest'
Submodule 'third-party/libb64' ([url]https://github.com/transmission/libb64[/url]) registered for path 'third-party/libb64'
Submodule 'third-party/libevent' ([url]https://github.com/transmission/libevent[/url]) registered for path 'third-party/libevent'
Submodule 'third-party/libnatpmp' ([url]https://github.com/transmission/libnatpmp[/url]) registered for path 'third-party/libnatpmp'
Submodule 'third-party/libutp' ([url]https://github.com/transmission/libutp[/url]) registered for path 'third-party/libutp'
Submodule 'third-party/miniupnpc' ([url]https://github.com/transmission/miniupnpc[/url]) registered for path 'third-party/miniupnpc'
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/dht'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/googletest'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/libb64'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/libevent'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/libnatpmp'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/libutp'...
Cloning into '/home/x/transmission-cli-git/src/transmission/third-party/miniupnpc'...
Submodule path 'third-party/dht': checked out '25e12bb39eea3d433602de6390796fec8a8f3620'
Submodule path 'third-party/googletest': checked out '68ca04c261ded1b936ef5c121618247f7010d445'
Submodule path 'third-party/libb64': checked out '8456a5b5c99ef4544a2ed8e8f20a2fb673dd4192'
Submodule path 'third-party/libevent': checked out 'e91a51eb5daba37418cc8426bd1f786f303ddbb1'
Submodule path 'third-party/libnatpmp': checked out '4d3b9d87bbe7549830c212ce840600619abcf887'
Submodule path 'third-party/libutp': checked out 'fda9f4b3db97ccb243fcbed2ce280eb4135d705b'
Submodule path 'third-party/miniupnpc': checked out 'e37cde82e8673a5e71bae43086828704fd5eeac1'
[ins]==>[/ins] [b]Starting pkgver()...[/b]
[ins]==>[/ins] [b]Updated version: transmission-cli-git 3.00.r186.g696b0bcab-1[/b]
[ins]==>[/ins] [b]Starting build()...[/b]
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.33.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CURL: /usr/lib/libcurl.so (found suitable version "7.78.0", minimum required is "7.28.0")
-- Found ICONV: /usr/lib/libc.so
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1l", minimum required is "0.9.7")
-- Found ZLIB: /usr/lib/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
-- Found EVENT2: /usr/lib/libevent-2.1.so (found suitable version "2.1.12", minimum required is "2.0.10")
-- Found NATPMP: /usr/lib/libnatpmp.so
-- Found MINIUPNPC: /usr/lib/libminiupnpc.so (found version "2.2.2")
[color=#FF0000]CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find DHT (missing: DHT_LIBRARY DHT_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindDHT.cmake:23 (find_package_handle_standard_args)
cmake/TrMacros.cmake:75 (find_package)
CMakeLists.txt:334 (tr_add_external_auto_library)[/color]
-- Configuring incomplete, errors occurred!
See also "/home/x/transmission-cli-git/src/transmission/build/CMakeFiles/CMakeOutput.log".
See also "/home/x/transmission-cli-git/src/transmission/build/CMakeFiles/CMakeError.log".
[ins]==>[/ins] [b]ERROR: A failure occurred in build().
Aborting...[/b]
Last edited by ewaller (2021-09-03 15:33:26)
Offline
Sorry, I will keep that in mind.
You will, will you? Your last post definitely needs code tags for readability (not "color" tags or "ins" for highlighting). Please click the edit button on that post and add code tags.
EDIT: nvm, ewaller handed you a fish instead. We all have different views: give someone a fish, teach someone to fish ... I tend to slap people with the fish until learning happens
Now, on the actual error, please read the comments (at least the first one) on the AUR page for that package. This error, and an apparent solution, is clearly noted there.
Last edited by Trilby (2021-09-03 15:38:31)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby beat me to it. I took the liberty of adding code tags to your post. You can use the edit function to see how it is done in the futute.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
333BlackOut wrote:Sorry, I will keep that in mind.
You will, will you? Your last post definitely needs code tags for readability (not "color" tags or "ins" for highlighting). Please click the edit button on that post and add code tags.
Sorry my mistake, I corrected the first one as the second one was corrected by Ewaller
Offline
Now, on the actual error, please read the comments (at least the first one) on the AUR page for that package. This error, and an apparent solution, is clearly noted there.
This was the first comment there;
Hello, please add provides=(transmission-cli) to the PKGBUILD, so transmission-cli could be easily re-installed by this package without breaking the dependencies.
I don't know if I did the right thing or not. Can you please check the code and if it's wrong please tell me what the correct code is.
The output via this code is this:
[x@BlackOut transmission-cli-git]$ makepkg provides=(transmission-cli) -si
bash: syntax error near unexpected token `('
[x@BlackOut transmission-cli-git]$ makepkg provides=transmission-cli -si
==> Making package: transmission-cli-git 3.00.r186.g696b0bcab-1 (Fri Sep 3 21:39:36 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating transmission git repo...
Fetching origin
-> Found transmission-cli.sysusers
-> Found transmission-cli.tmpfiles
==> Validating source files with sha256sums...
transmission ... Skipped
transmission-cli.sysusers ... Passed
transmission-cli.tmpfiles ... Passed
==> Extracting sources...
-> Creating working copy of transmission git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find DHT (missing: DHT_LIBRARY DHT_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindDHT.cmake:23 (find_package_handle_standard_args)
cmake/TrMacros.cmake:75 (find_package)
CMakeLists.txt:334 (tr_add_external_auto_library)
-- Configuring incomplete, errors occurred!
See also "/home/x/transmission-cli-git/src/transmission/build/CMakeFiles/CMakeOutput.log".
See also "/home/x/transmission-cli-git/src/transmission/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
[x@BlackOut transmission-cli-git]$
Offline
I installed DHT package from aur as one of the error said that DHT is missing and Transmission is installed successfully.
[x@BlackOut ~]$ transmission-cli --version
transmission-cli 3.00+ (696b0bcab9)
But I am not able to find how to lauch it. Terminal shows it is installed but I have no way to launch it.
How can i add it to menu?
Offline
I suspect you only get typical desktop stuff like menu entries when you install transmission-gtk or -qt. These are all in the official repos, btw. Any reason you went for the -git version from AUR?
Offline
I suspect you only get typical desktop stuff like menu entries when you install transmission-gtk or -qt. These are all in the official repos, btw. Any reason you went for the -git version from AUR?
I thought that's the only way i can download Transmission. I don't know if there is any other way of downloading it. Snap is also not correct for Transmission. By the way, if transmission is installed then how can I install my torrent files ??
EDIT:
Sorry thought you were asking something else. Well i downloaded transmission-cli-git because it had the most votes, and i felt if more people are using it the less problem i will get in.
Maybe I was wrong.
Last edited by 333BlackOut (2021-09-03 17:52:49)
Offline
The package you installed seems to be a 'cli' or command-line interface version of transmission, which generally would be accessed from the terminal.
You could try installing the 'transmission-gtk' package from the Extra repository.
Offline
The package you installed seems to be a 'cli' or command-line interface version of transmission, which generally would be accessed from the terminal.
You could try installing the 'transmission-gtk' package from the Extra repository.
Thanks it worked.
I didn't knew cli means command line interface.
.
.
Thanks again.
Offline