You are not logged in.

#1 2010-07-24 12:20:26

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Different problems with pacman and the system in general.

Hi ,

Here my problems:

Problem 1
---------------------
The system is outdated and when I pacman -Syyuu pacman says that he system is up-to-date, (the system was 2-3 month offline so I'm score there are packages to update)

Problem 2
---------------------
When I try to install some packages hi gives me this error:
after
checking package integrity...
[really long list]

notification-daemon: /usr/share/locale/ar/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/locale/de/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/locale/it/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/locale/nl/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/locale/pl/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/locale/sv/LC_MESSAGES/notification-daemon.mo exists in filesystem
notification-daemon: /usr/share/notification-daemon/notification-properties.glade exists in filesystem
Errors occurred, no packages were upgraded.

For installing I have to use --force.

When I query already installed packages hi says:

pacman -Q wireshark
error: package "wireshark" not found

The same thing happens when trying to remove any package

pacman -R wireshark
error: 'wireshark': could not find or read package

but in reality the package is installed:

locate wireshark
/root/.wireshark
/root/.wireshark/cfilters
/root/.wireshark/recent
/root/.wireshark/recent_common
/usr/bin/wireshark
/usr/lib/libwireshark.so
/usr/lib/libwireshark.so.0
/usr/lib/libwireshark.so.0.0.1
/usr/lib/wireshark
/usr/lib/wireshark/plugins
/usr/lib/wireshark/plugins/1.2.8
/usr/lib/wireshark/plugins/1.2.8/asn1.so


Problem 3

--------------------
And another thing, if I want to install any packages Hi just download all the requisites ignoring that they are already installed on the system.

Last strange "thing" when I give any command as user [no problem when I am root] this line appears on the screen

echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"


Other info:

uname -a

Linux localhost 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 2010 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
pacman -V

 .--.                  Pacman v3.4.0 - libalpm v5.0.0
/ _.-' .-.  .-.  .-.   Copyright (C) 2006-2010 Pacman Development Team
\  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet
 '--'
                       This program may be freely redistributed under
                       the terms of the GNU General Public License.

What should I do?

Please don't paste other threads , I read them all, how to fix this is not clear to me.

Last edited by r0b0t (2010-07-24 12:21:55)

Offline

#2 2010-07-24 12:44:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Different problems with pacman and the system in general.

Try 'pacman -Syy' first. It should sync OK. If not, maybe your pacman db is not quite all right.

Last edited by karol (2010-07-24 12:50:21)

Offline

#3 2010-07-24 13:03:42

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Different problems with pacman and the system in general.

You probably need to change mirror.

Offline

#4 2010-07-24 13:20:41

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

Yes I changed the mirror, but the problem is still present, I have cleared the cache, re-sync and the problem is still there.

Offline

#5 2010-07-24 13:31:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Different problems with pacman and the system in general.

How did you update the kernel and pacman?
What about

pacman -Ql /usr/bin/wireshark

and

pacman -Q

Offline

#6 2010-07-24 13:32:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Different problems with pacman and the system in general.

Looks like you have lost some or all of your /var/lib/pacman/local folder so pacman has no idea what is installed on your system.

Offline

#7 2010-07-24 13:34:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Different problems with pacman and the system in general.

Try to manually download and install a package. If pacman can find and remove it, you probably need to rebuild your /var/lib/pacman/local

Offline

#8 2010-07-24 14:01:30

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

Hi, I update the kernel and pacman with --force, and Allan , your right, the /var/lib/pacman/local is semi-empty, how to rebuild the local database?

Offline

#9 2010-07-24 15:16:59

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

Any Idea on how to rebuild pacman database or I should reinstall the hole system?

Offline

#10 2010-07-24 16:00:52

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Different problems with pacman and the system in general.

if you still have rather complete pacman logs:
http://wiki.archlinux.org/index.php/Pac … l_database

Offline

#11 2010-07-24 17:46:28

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

I'm trying the full reinstall, can you help me with this?
pacman -Sf --nodeps --needed  < pkglist
error: no targets specified (use -h for help)
How to make this redirect work :S

Last edited by r0b0t (2010-07-24 17:51:04)

Offline

#12 2010-07-24 17:50:52

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Different problems with pacman and the system in general.

Is the pkglist file you created saved in the correct location (i.e your home dir)?  Also, check pkglist itself and make sure it contains a list of packages rather than being empty or corrupted somehow.

Last edited by loafer (2010-07-24 17:51:33)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#13 2010-07-24 17:52:59

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

Yes yes, it contains the correct package list, but the command above is not working, I don't know why the redirect fails ...  ?

Offline

#14 2010-07-24 17:56:34

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Different problems with pacman and the system in general.

You could try pacman -S $(< pkglist)

Offline

#15 2010-07-24 18:00:45

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Different problems with pacman and the system in general.

hokasch wrote:

You could try pacman -S $(< pkglist)

That would seem to be the solution.  Wiki needs updating by the look of it.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#16 2010-07-24 19:34:58

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

Yes fixed, only that the script on the wiki are almost all buggy.
Thanks for the great support smile

Offline

#17 2010-07-24 19:55:16

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Different problems with pacman and the system in general.

I just logged on to update the wiki and it's already done.  Great work!


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#18 2010-09-04 12:03:43

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 510

Re: Different problems with pacman and the system in general.

PS:
if somebody have the same problem, and then after many days pacman still say "your system is up-to-date"  than change your repo at /etc/pacman.d/mirrorlist and than try again, it will work smile

Offline

Board footer

Powered by FluxBB