You are not logged in.
Pages: 1
Topic closed
Hello.
I downloaded the dropbox package from AUR, but when I try to use makepkg to create a Pacman package to install, I get an error: makepkg says it cannot find a .tar.xz package in the installation directory.
[riccardo@server1 dropbox]$ ls
PKGBUILD dropbox.desktop dropbox.png terms.txt
[riccardo@server1 dropbox]$ makepkg -si
==> WARNING: Sudo can not be found. Will use su to acquire root privileges.
==> Making package: dropbox 1.4.7-1 (Sun Jun 3 19:00:48 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading dropbox-lnx.x86-1.4.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16.9M 100 16.9M 0 0 549k 0 0:00:31 0:00:31 --:--:-- 649k
-> Found dropbox.png
-> Found dropbox.desktop
-> Found terms.txt
==> Validating source files with md5sums...
dropbox-lnx.x86-1.4.7.tar.gz ... Passed
dropbox.png ... Passed
dropbox.desktop ... Passed
terms.txt ... Passed
==> Extracting Sources...
-> Extracting dropbox-lnx.x86-1.4.7.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Creating package...
/usr/bin/makepkg: line 1129: /usr/bin/du: No such file or directory
/usr/bin/makepkg: line 1130: * 1024 : syntax error: operand expected (error token is "* 1024 ")
==> Making package: dropbox 1.4.7-1 (Sun Jun 3 19:01:24 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found dropbox-lnx.x86-1.4.7.tar.gz
-> Found dropbox.png
-> Found dropbox.desktop
-> Found terms.txt
==> Validating source files with md5sums...
dropbox-lnx.x86-1.4.7.tar.gz ... Passed
dropbox.png ... Passed
dropbox.desktop ... Passed
terms.txt ... Passed
==> Extracting Sources...
-> Extracting dropbox-lnx.x86-1.4.7.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Creating package...
/usr/bin/makepkg: line 1129: /usr/bin/du: No such file or directory
/usr/bin/makepkg: line 1130: * 1024 : syntax error: operand expected (error token is "* 1024 ")
==> Finished making: dropbox 1.4.7-1 (Sun Jun 3 19:01:28 CEST 2012)
==> Installing package dropbox with pacman -U...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
Password:
loading packages...
error: '/home/riccardo/downloads/dropbox/dropbox-1.4.7-1-any.pkg.tar.xz': could not find or read package
==> WARNING: Failed to install built package(s).
==> Finished making: dropbox 1.4.7-1 (Sun Jun 3 19:01:57 CEST 2012)
==> Installing package dropbox with pacman -U...
Password:
loading packages...
error: '/home/riccardo/downloads/dropbox/dropbox-1.4.7-1-any.pkg.tar.xz': could not find or read package
==> WARNING: Failed to install built package(s).
This is not the first time I get this kind of error...
Offline
Make sure you have base and base-devel installed, and that your system is up-to-date.
Last edited by WorMzy (2012-06-03 17:22:47)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I have base and base-devel installed.
I don't think my whole system is up-to-date, but I'd wish to know what are the files that, in this case and others, influence makepkg, since I haven't the faintest idea (and, above all, it takes a while during the system updating...).
Offline
/usr/bin/du: No such file or directory
┌─[Centurion ~]
└─╼ pkgfile du
core/coreutils
community/9base
community/plan9port
Offline
Here's your problem:
/usr/bin/makepkg: line 1129: /usr/bin/du: No such file or directory
/usr/bin/makepkg: line 1130: * 1024 : syntax error: operand expected (error token is "* 1024 ")
The first line indicates that either something is wrong with your path, or du has somehow been removed from your system.
The second line indicates that something is wrong with your bash, because it is valid code, and should not throw that error.
If you're not prepared to invest the time required to keep your Arch installation up to date, you should seriously consider using a different distro.
Offline
Offline
Thanks guys for your help!
I simply created a soft link /usr/bin/du that points to the program du installed in my system, since in my system it is in /bin . Now the installation works.
But in Arch the program du is always in /bin? If yes, why dropbox searches for /usr/bin/du instead of /bin/du?
Last edited by rdm (2012-06-04 16:33:35)
Offline
No, in Arch `du` is /usr/bin/du.
>>> pacman -Qo du
/usr/bin/du is owned by coreutils 8.16-2
Offline
I wouldn't bother at this point, Barrucadu: a lot of people here seem to love fixing the symptom instead of the actual problem, if the prevalence of .so symlink "solutions" is any indication, and this guy's already ignored both the warning that partial upgrades are unsupported and two other people telling him to -Syu.
Offline
In fact I don't know why in my system
[riccardo@server1 ~]$ pacman -Qo du
error: No package owns /usr/bin/du
Offline
Have you even read the other messages in this thread? You've been told 3 times now: it's because your system is not up to date.
Offline
http://slash7.com/2006/12/22/vampires/
^This.
Last edited by debdj (2012-06-05 12:17:50)
Offline
Closing....
He is either trolling or not able to read. In either case, its useless.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed