You are not logged in.

#26 2012-07-18 05:12:14

kirafreaky
Member
Registered: 2012-07-17
Posts: 27

Re: [SOLVED] Cannot execute web browser on Awesome WM

ewaller wrote:

Is that the complete output ?  I would expect directories and soft links to be zero.  The last five lines fall into that category.

No, It is not the complete output. These ones are 0 byte:

usr/
usr/bin/
usr/include/
usr/lib/
usr/lib/pkgconfig/
usr/lib/libevent-2.0.so -> libevent-2.0.so.5.1.7
usr/lib/libevent-2.0.so.5 -> libevent-2.0.so.5.1.7
usr/lib/libevent-core-2.0.so.5 -> libevent_core-2.0.so.5.1.7
usr/lib/libevent_core-2.0.so.5.1.7 -> libevent_core-2.0.so.5.1.7
usr/lib/libevent_extra-2.0.so.5 -> libevent_extra-2.0.so.5.1.7
usr/lib/libevent_extra-2.0.so.5.1.7  -> libevent_extra-2.0.so.5.1.7
usr/lib/libevent_pthreads-2.0.so.5 -> libevent_pthreads-2.0.so.5.1.7
usr/lib/libevent_pthreads.so -> libevent_pthreads-2.0.so.5.1.7
usr/lib/libevent_openssl-2.0.so.5 -> libevent_openssl-2.0.so.5.1.7
usr/lib/libevent_openssl-2.0.so -> libevent_openssl-2.0.so.5.1.7
usr/include/event2

Offline

#27 2012-07-18 22:24:45

Zancarius
Member
From: NM, USA
Registered: 2012-05-06
Posts: 207

Re: [SOLVED] Cannot execute web browser on Awesome WM

As ewaller said, those are symlinks and directories. tar will report those as 0 bytes.

Are the remaining files greater than some value of zero? If that's the case and the source package is fine, then pacman isn't installing those files for some reason. I honestly can't imagine why this would be the case.

What's the md5sum of the package just to verify?

$ md5sum /var/cache/pacman/pkg/libevent-*
a74994d42131e00da25b92a3392e11e0  /var/cache/pacman/pkg/libevent-2.0.19-1-x86_64.pkg.tar.xz

I'm really baffled. Are you absolutely sure you've been trying some of the pacman-related advice in this thread? It should be overwriting those files with copies from the package in your cache.


He who has no .plan has small finger.
~Confucius on UNIX.

Offline

#28 2012-07-19 00:09:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Cannot execute web browser on Awesome WM

When you tried the pacman-related advice, did you get any errors?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#29 2012-07-19 02:15:59

kirafreaky
Member
Registered: 2012-07-17
Posts: 27

Re: [SOLVED] Cannot execute web browser on Awesome WM

Zancarius wrote:

As ewaller said, those are symlinks and directories. tar will report those as 0 bytes.

Are the remaining files greater than some value of zero? If that's the case and the source package is fine, then pacman isn't installing those files for some reason. I honestly can't imagine why this would be the case.

What's the md5sum of the package just to verify?

$ md5sum /var/cache/pacman/pkg/libevent-*
a74994d42131e00da25b92a3392e11e0  /var/cache/pacman/pkg/libevent-2.0.19-1-x86_64.pkg.tar.xz

I'm really baffled. Are you absolutely sure you've been trying some of the pacman-related advice in this thread? It should be overwriting those files with copies from the package in your cache.

Yes, the remaining files are greater than 0. The md5sum of the package is just as you wrote it.

Now I'm trying to remove libevent with  sudo pacman -Rdd libevent  and then reinstall it, but the output is "error: target not found: libevent"

EDIT: When I try to reinstall libevent with sudo pacman -S libevent I get this:

(1/1) checking package integrity    100%
(1/1) loading packages files    100%
(1/1) checking for file conflicts   100%
error: failed to commit transaction (conflicting files)
<some libevent files here>
Erros ocurred, no packages were upgraded

Last edited by kirafreaky (2012-07-19 02:27:29)

Offline

#30 2012-07-19 02:32:18

Zancarius
Member
From: NM, USA
Registered: 2012-05-06
Posts: 207

Re: [SOLVED] Cannot execute web browser on Awesome WM

This is probably one of those situations where you might want to use

pacman -Sf libevent

If the files pacman is complaining about are the ones listed in the libevent package, it seems to me that pacman no longer knows anything about them. I'd probably suggest comparing the list it gives you with the one from the tar tvf from earlier. If they're the same, -Sf should be OK to use. Don't use it with anything else, though--that's dangerous. wink

If the install succeeds, examine the files and make sure that there are none that are 0 bytes.

Last edited by Zancarius (2012-07-19 02:33:03)


He who has no .plan has small finger.
~Confucius on UNIX.

Offline

#31 2012-07-19 02:44:24

kirafreaky
Member
Registered: 2012-07-17
Posts: 27

Re: [SOLVED] Cannot execute web browser on Awesome WM

Zancarius wrote:

This is probably one of those situations where you might want to use

pacman -Sf libevent

If the files pacman is complaining about are the ones listed in the libevent package, it seems to me that pacman no longer knows anything about them. I'd probably suggest comparing the list it gives you with the one from the tar tvf from earlier. If they're the same, -Sf should be OK to use. Don't use it with anything else, though--that's dangerous. wink

If the install succeeds, examine the files and make sure that there are none that are 0 bytes.

The files are the same but there are some more files pacman gives me than the ones from the libevent package. Should I continue, or is it dangerous?

EDIT: Sorry, I didn't count the 0 byte symlinks in libevent package, so they are the same.

Last edited by kirafreaky (2012-07-19 02:54:59)

Offline

#32 2012-07-19 03:02:26

kirafreaky
Member
Registered: 2012-07-17
Posts: 27

Re: [SOLVED] Cannot execute web browser on Awesome WM

Ok that worked fine smile. Chromium works, but i don't know why Firefox don't. I type in urxvt terminal   $ firefox . Why is that happening?

EDIT: I tried reinstalling it but the output is the same as before:


error: failed to commit transaction (conflicting files)
<some firefox files here>
Erros ocurred, no packages were upgraded

I checked the files in firefox package and are the same that pacman is complaining about. Should I use Pacman -Sf firefox ?

EDIT: pacman -Sf worked too big_smile.

Thanks to all Archers who help me.

Last edited by kirafreaky (2012-07-19 03:26:13)

Offline

#33 2012-07-19 03:38:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [SOLVED] Cannot execute web browser on Awesome WM

Glad your working.  You might want to change your thread title to add [SOLVED] to the beginning (edit your first post)

Be careful with that --force flag.  It was probably the correct thing to do -- in this case.  I am concerned that you may have some corruption in your pacman database.  Lets see what happens the next few updates.


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

Online

Board footer

Powered by FluxBB