You are not logged in.

#1 2013-06-03 22:27:44

kenny96
Member
Registered: 2012-08-18
Posts: 21

[SOLVED] Noob problem with /usr/sbin merging

I have read istructions on the news page but I have some problem.

1) pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -

gen-init-cpio 2.6.36-1
consolekit 0.4.6-4
tcp_wrappers 7.6-12

so now what should I do to "move" these package to /usr/bin?

paclist <repo> | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/'

bash: syntax error near unexpected token `|'

This?

2) Make sure any packages in IgnorePkg or IgnoreGroup do not have files in /bin, /sbin, or /usr/sbin. Fix them if necessary.

How to check this and how to eventually fix?

3) find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null

I had a file:  /usr/sbin/wpa_supplicant.old unowned and I have moved it with no problem.

Thanks

Last edited by kenny96 (2013-06-04 18:39:41)

Offline

#2 2013-06-03 22:31:54

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

Re: [SOLVED] Noob problem with /usr/sbin merging

Instead of <repo> you should use the repo's name e.g. xyne-i686.

Can you just remove these very old packages? Do you need them?

Offline

#3 2013-06-03 22:33:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Noob problem with /usr/sbin merging

consolekit should just be uninstalled.

the other two, talk to their AUR maintainers *IF* you still need them. Most likely, you don't.

for the paclist command <repo> is a placeholder you're supposed to replace with the name of the 3rd party repo you want to check.

IgnorePkg and IgnoreGroup are in /etc/pacman.conf

Last edited by Scimmia (2013-06-03 22:34:43)

Offline

#4 2013-06-03 22:33:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Noob problem with /usr/sbin merging

Those are some old packages.  Consolekit has long since been deprecated as it's been replaced (AFAIK - I never used it) by systemd login 'stuff' and perhaps in part by polkit.

tcp_wrappers is an aur package - possibly it used to be a main repo, but if so it has been dropped.

The other I'm not familiar with, and it's not even in the aur (anymore).

So, in any case, these are not arch supported packages.  If you still need them for some reason, you'll need to manage/rebuild them yourself.  If you don't know, then you probably don't need them and should remove them (you may have to updated your xinitrc if you still call ck-launch-session).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-06-03 22:38:40

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

Re: [SOLVED] Noob problem with /usr/sbin merging

I can speak for tcp_wrappers.  It was on my system from long, long ago.  I had changed one of the configuration files for it to accommodate sshd.  The modification date was 2011.  I removed the package from my system without harm this afternoon when I upgraded my system.


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

#6 2013-06-03 22:45:29

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

Re: [SOLVED] Noob problem with /usr/sbin merging

Offline

#7 2013-06-03 22:46:39

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

Re: [SOLVED] Noob problem with /usr/sbin merging

It has been suggested to merge this thread with the stickied thread in Pacman and Package Upgrade issues. 

I think I am going to leave this thread here to help specifically with why there may be files in the affected directories that are not under the control of Pacman.  It is a related topic, but perhaps this can be a kinder gentler place than the other thread (which is dealing with a lot of broken installs).  Here, we can hopefully guide members who are trying to follow the steps, but are unsure from whence certain fails may have come.

We can merge later.

Last edited by ewaller (2013-06-03 23:00:28)


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

#8 2013-06-03 22:47:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Noob problem with /usr/sbin merging

I think we need a new meme: "LMKTFY: Let Me Karol That For You"


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-06-03 22:53:17

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

Re: [SOLVED] Noob problem with /usr/sbin merging

Trilby wrote:

I think we need a new meme: "LMKTFY: Let Me Karol That For You"

I wouldn't mind being obsolete:

<internal monologue of an Arch user>
I've got these packages I think I don't need anymore. pacman can't update them - they're not in the package db, so I'm going to spend a minute or two finding out what happened to them.
</internal monologue of an Arch user>

Offline

#10 2013-06-03 23:42:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Noob problem with /usr/sbin merging

Kenny, it seems Karol has now also been deprecated upstream - and users are advised to replace all instances of Karol with direct links to the google search page. wink


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2013-06-04 18:39:07

kenny96
Member
Registered: 2012-08-18
Posts: 21

Re: [SOLVED] Noob problem with /usr/sbin merging

Thanks all for the support, problem solved, i have uninstalled the 3 packages without problem, rebooted, nothing missing.  I have followed the last 2 steps of the procedure and now all is ok. smile

Offline

Board footer

Powered by FluxBB