FS#42558 - [pacman] Syslinux removed from db but no files removed when /boot mounted ro

Attached to Project: Pacman
Opened by Asher Higgs (alphaniner) - Sunday, 26 October 2014, 01:20 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 28 October 2014, 21:22 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I ran 'pacman -Rsn syslinux' when /boot was mounted read only. An error was printed:

error: cannot remove file '/boot/': Read-only file system

and pacman exited. No files were removed (on /boot or elsewhere) but syslinux was removed from the database.

I haven't tried to reproduce this with any other package, or with anything else mounted read only.

Additional info:
* package version(s)
pacman 4.1.2-6
syslinux 6.03-2

* config and/or log files etc.
The pacman log indicated that syslinux was successfully removed:

[PACMAN] Running 'pacman -Rsn syslinux'
[PACMAN] removed syslinux (6.03-2)


Steps to reproduce:

Install syslinux
Mount /boot read only
Uninstall syslinux
This task depends upon

Closed by  Andrew Gregory (andrewgregory)
Tuesday, 28 October 2014, 21:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#38615 

Loading...