You are not logged in.

#76 2013-06-04 06:33:51

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Binaries move to /usr/bin requiring update intervention

kriz wrote:
paclist aur | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/' > list.txt
error: repository "aur" was not found.

how can i check my aur built packages?

You do not need to do this for the aur. For example, the "non-official repos" I needed to check were "repo-ck" & the infinality repos.

Just check your pacman.conf for any repos you have added.

Issues with individual aur packages should be highlighted by the other pacman searches detailed in the upgrade procedure on the front page.

Last edited by flipper T (2013-06-04 06:35:45)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#77 2013-06-04 06:41:19

derhamster
Member
Registered: 2012-07-08
Posts: 86

Re: Binaries move to /usr/bin requiring update intervention

kriz wrote:
paclist aur | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/' > list.txt
error: repository "aur" was not found.

how can i check my aur built packages?

The first command from the news post will list AUR packages, that need fixing:

$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -

Offline

#78 2013-06-04 06:59:04

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

After update I cannot boot. Have a problem. Not only me but also my friend does.
FluxBB bbcode booterror
https://dl.dropboxusercontent.com/u/932 … .50.25.jpg

How to solve it?


-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by ZeroLinux (2013-06-04 07:10:26)

Offline

#79 2013-06-04 07:00:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,614

Re: Binaries move to /usr/bin requiring update intervention

Tell us exactly what you did. It looks to me like you never updated the filesystem package.

Offline

#80 2013-06-04 07:03:03

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

I did the following:

pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null
pacman -Syu --ignore filesystem,bash
pacman -S bash
pacman -Su

All command I run under root

Offline

#81 2013-06-04 07:05:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,614

Re: Binaries move to /usr/bin requiring update intervention

Did you happen to notice a bunch of errors when running them? There had to be some.

Offline

#82 2013-06-04 07:10:08

derhamster
Member
Registered: 2012-07-08
Posts: 86

Re: Binaries move to /usr/bin requiring update intervention

Scimmia wrote:

Did you happen to notice a bunch of errors when running them? There had to be some.

Also: are you sure, that the last command actually installed something? Your mirrors might have been out-of-date.

Offline

#83 2013-06-04 07:11:15

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

I'll make chroot and get to know.

Offline

#84 2013-06-04 07:25:37

progandy
Member
Registered: 2012-05-17
Posts: 5,207

Re: Binaries move to /usr/bin requiring update intervention

kriz wrote:
paclist aur | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/' > list.txt
error: repository "aur" was not found.

how can i check my aur built packages?

That would be the first command mentioned in the news item

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

Edit: Sorry, missed the next page.

Last edited by progandy (2013-06-04 07:26:22)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#85 2013-06-04 07:26:56

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

I chrooted and found out that the filesystem is not updated
I try to update it under chroot:

filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem

What to do?

P.S. Solved. I renamed /bin  and /sbin to   /bin_old /sbin_old. Successfully updated filesytem. exit chroot, unmounted all mounts, rebooted ... ta-da: everything is working.

Last edited by ZeroLinux (2013-06-04 07:41:11)

Offline

#86 2013-06-04 07:40:35

Thomas_Do
Member
Registered: 2011-08-12
Posts: 65

Re: Binaries move to /usr/bin requiring update intervention

Check if these folders are empty. If not, fix the packages as described above. If they are empty folders, it should be save to remove them.

Last edited by Thomas_Do (2013-06-04 07:41:20)

Offline

#87 2013-06-04 09:06:36

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

I am trying to upgrade a comp of a friend of mine
I try to check packages

 pacman -Qqo /bin | pacman -Qm - 

Have the output

grub 0.97-21

But grub doesn't exist in /bin

In all moving folders that's the files:

# pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
grub 0.97-21
grub 0.97-21
sysvinit 2.88-9
consolekit 0.4.6-4
initscripts 2012.10.1-1

Where I can find all of them to put them into /usr/bin manually?

Last edited by ZeroLinux (2013-06-04 09:10:38)

Offline

#88 2013-06-04 09:11:25

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,544

Re: Binaries move to /usr/bin requiring update intervention

ZeroLinux wrote:

I am trying to upgrade a comp of a friend of mine
I try to check packages

 pacman -Qqo /bin | pacman -Qm - 

Have the output

grub 0.97-21

But grub doesn't exist in /bin

It was replaced by grub-legacy in the AUR, which has not yet been updated, although there is an unofficial PKGBUILD posted in the comments

Offline

#89 2013-06-04 09:11:46

TobyJamesJoy
Member
From: Melbourne, Australia
Registered: 2012-06-13
Posts: 24
Website

Re: Binaries move to /usr/bin requiring update intervention

HOT TIP - If you have trouble running this command:

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

you might not be using the bash shell.
I was using fish and couldn't figure out for the life of me what was wrong with find.

It kept returning:

find: missing argument to `-exec'

Offline

#90 2013-06-04 09:13:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Binaries move to /usr/bin requiring update intervention

ZeroLinux wrote:
grub 0.97-21
grub 0.97-21
sysvinit 2.88-9
consolekit 0.4.6-4
initscripts 2012.10.1-1

None of these packages are supported...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#91 2013-06-04 09:16:20

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

jasonwryan wrote:

None of these packages are supported...

Can I delete them without future problem?

Offline

#92 2013-06-04 09:24:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Binaries move to /usr/bin requiring update intervention

ZeroLinux wrote:
jasonwryan wrote:

None of these packages are supported...

Can I delete them without future problem?


You can delete them; but you might want to replace your bootloader and init system before you do so...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#93 2013-06-04 09:46:37

silent
Member
Registered: 2008-08-05
Posts: 57

Re: Binaries move to /usr/bin requiring update intervention

.

Last edited by silent (2013-08-21 08:06:25)

Offline

#94 2013-06-04 09:51:15

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

jasonwryan wrote:

replace your bootloader and init system before you do so...

I did long ago. I've deleted them. Created /etc/locale.conf and /etc/vconsole.conf with the right content. And everything works fine. Thank you.

Offline

#95 2013-06-04 10:11:25

stupidus
Member
Registered: 2012-02-27
Posts: 124

Re: Binaries move to /usr/bin requiring update intervention

I have not yet upgraded because I still have one issue, that I am not sure about:

error: No package owns /usr/sbin/udevadm

That file is actually just a symlink to /usr/bin/udevadm.
I guess I can just delete it. But I just wanted to make sure, that I don't break anything.

Offline

#96 2013-06-04 10:48:42

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

stupidus wrote:

That file is actually just a symlink to /usr/bin/udevadm.
I guess I can just delete it. But I just wanted to make sure, that I don't break anything.

yes, you can delete it without doubts. After upgrade /usr/sbin will be symlink of /usr/bin and therefore it will point to the same actual binary file.

Offline

#97 2013-06-04 10:56:07

crazyg4merz
Member
Registered: 2013-04-14
Posts: 40

Re: Binaries move to /usr/bin requiring update intervention

Thomas_Do wrote:

Check if these folders are empty. If not, fix the packages as described above. If they are empty folders, it should be save to remove them.

sorry, I've read like in a lot of threads that say we can delete the empty folders after the update. I managed to update everything successfully but I don't have any empty folder, just have the new /usr/bin and /usr/lib those link with bin, sbin and lib folders. So how can I make those folders empty? If I just delete those folders then I'll break those symlinks, if I move them manually then pacman will not be able to track them. So what should I do? thanks :-)

Offline

#98 2013-06-04 11:02:07

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: Binaries move to /usr/bin requiring update intervention

crazyg4merz wrote:

So how can I make those folders empty? If I just delete those folders then I'll break those symlinks,

They are already not folders. they are just symlinks - do not delete them.
For to sure just make

$ sudo pacman -S filesystem

And it it says that there is no errors (that /bin /usr/sbin and /sbin are just links) it is safe to reboot

Offline

#99 2013-06-04 11:27:45

crazyg4merz
Member
Registered: 2013-04-14
Posts: 40

Re: Binaries move to /usr/bin requiring update intervention

ZeroLinux wrote:
crazyg4merz wrote:

So how can I make those folders empty? If I just delete those folders then I'll break those symlinks,

They are already not folders. they are just symlinks - do not delete them.
For to sure just make

$ sudo pacman -S filesystem

And it it says that there is no errors (that /bin /usr/sbin and /sbin are just links) it is safe to reboot

that means they shouldn't be deleted, so why some people say delete them? I already deleted the /lib and /lib64 folders yesterday that made my laptop unable to boot, but I managed to safe them back by chrooting from a live usb and reinstall the base packages. So I think this should be explained so there will be no more mistake like that happen to the others except me :-)

Offline

#100 2013-06-04 11:49:47

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Binaries move to /usr/bin requiring update intervention

kriz wrote:

how can i check my aur built packages?

This is what step 1) in the instructions does.

Edit: I mean the first part of step 1). The AUR is not a "repo" in the sense that you can’t add it to pacman.conf and directly install packages from it using pacman; even though its name is “Arch User Repository”…

Edit 2: Oops, I thought no-one had replied yet because it was the last post on the page, but there was already one full page of answers after it big_smile

Last edited by stqn (2013-06-04 11:55:39)

Offline

Board footer

Powered by FluxBB