Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35635 - pacman -Syu deleted /bin/

Attached to Project: Arch Linux
Opened by q (q) - Tuesday, 04 June 2013, 09:03 GMT
Last edited by Allan McRae (Allan) - Tuesday, 04 June 2013, 09:32 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Today I did the daily # pacman -Syu, upgrading to to the latest versions of bash, zsh, wpa_supplicant and so forth. Pretty sure coreutils was also listed. One of these packages, I'm not entirely sure which one, conflicted with /bin/ and pacman's solution on update was to silently delete it. After I did the update I could no longer open terminals or su in existing ones. Trying to reboot quickly revealed that /bin/ had been deleted.

I don't know exactly which package caused this or in which logfile to seek for it, all I know is that my /bin/ dir is deleted and can also confirm by booting up via livecd. My system is unchanged since this incident.

After the update I only have /boot/, /dev/, /etc/, /home/, /lib/, /lib64/, /lost+found/, /media/, /mnt/, /opt/, /proc/, /root/, /run/, /sbin/, /srv/, /sys/, /tmp/, /usr/ and /var/.

Please pull this update IMMEDIATELY before more people have pacman rm their /bin/! The chances of getting it back are, idk, minimal?

So, what info do you need from the machine that pacman killed? -sigh-
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 04 June 2013, 09:32 GMT
Reason for closing:  Not a bug
Comment by q (q) - Tuesday, 04 June 2013, 09:14 GMT
Sorry for double post, but I just found /var/log/pacman.log and I don't see any way to edit my ticket. I'm pretty sure updating coreutils (8.21-1 -> 8.21-2) caused this.
Comment by Jens Adam (byte) - Tuesday, 04 June 2013, 09:21 GMT
When there's a file conflict pacman exits with a warning message and doesn't do anything, especially not deleting stuff.
With a normal setup you could not complete a default '-Syu', please refer to the latest post on the homepage.

Loading...