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#28461 - hdparm 9.39-1 fails to install

Attached to Project: Arch Linux
Opened by Kevin Shanahan (kmshanah) - Wednesday, 15 February 2012, 21:12 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 16 February 2012, 00:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

hdparm 9.39-1 fails to install

Additional info:

[root@tuon ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (4): ca-certificates-20120212-1 glibc-2.15-6 gmp-5.0.4-1
hdparm-9.39-1

Total Installed Size: 39.46 MiB
Net Upgrade Size: 0.16 MiB

Proceed with installation? [Y/n]
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
hdparm: /sbin/hdparm exists in filesystem
hdparm: /sbin/idectl exists in filesystem
hdparm: /sbin/ultrabayd exists in filesystem
hdparm: /usr/sbin/wiper.sh exists in filesystem
hdparm: /usr/share/doc/wiper/README.txt exists in filesystem
hdparm: /usr/share/licenses/hdparm/LICENSE.TXT exists in filesystem
hdparm: /usr/share/man/man8/hdparm.8.gz exists in filesystem
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 16 February 2012, 00:23 GMT
Reason for closing:  Not a bug
Comment by Karol Błażewicz (karol) - Wednesday, 15 February 2012, 21:52 GMT
Cannot reproduce on my 32-bit Arch.

Please read https://bbs.archlinux.org/viewtopic.php?id=130138
Comment by Kevin Shanahan (kmshanah) - Wednesday, 15 February 2012, 21:59 GMT
kmshanah@tuon:~$ pacman -Qo /sbin/hdparm
error: No package owns /sbin/hdparm
kmshanah@tuon:~$ pacman -Qo /sbin/idectl
error: No package owns /sbin/idectl
kmshanah@tuon:~$ pacman -Qo /sbin/ultrabayd
error: No package owns /sbin/ultrabayd
kmshanah@tuon:~$ pacman -Qo /usr/sbin/wiper.sh
error: No package owns /usr/sbin/wiper.sh
kmshanah@tuon:~$ pacman -Qo /usr/share/doc/wiper/README.txt
error: No package owns /usr/share/doc/wiper/README.txt
kmshanah@tuon:~$ pacman -Qo /usr/share/licenses/hdparm/LICENSE.TXT
error: No package owns /usr/share/licenses/hdparm/LICENSE.TXT
kmshanah@tuon:~$ pacman -Qo /usr/share/man/man8/hdparm.8.gz
error: No package owns /usr/share/man/man8/hdparm.8.gz
kmshanah@tuon:~$ pacman -Ql hdparm
kmshanah@tuon:~$ pacman -Q hdparm
hdparm 9.38-1

Very strange.
Comment by Karol Błażewicz (karol) - Wednesday, 15 February 2012, 22:02 GMT
What's the output of
ls -l /var/lib/pacman/local/hdparm-9.39-1/files
Comment by Kevin Shanahan (kmshanah) - Wednesday, 15 February 2012, 22:19 GMT
kmshanah@tuon:~$ ls -l /var/lib/pacman/local/hdparm-9.39-1/files
ls: cannot access /var/lib/pacman/local/hdparm-9.39-1/files: No such file or directory

But you probably wanted:

kmshanah@tuon:~$ ls -l /var/lib/pacman/local/hdparm-9.38-1/files
-rw-r--r-- 1 root root 0 Jan 19 18:44 /var/lib/pacman/local/hdparm-9.38-1/files
Comment by Karol Błażewicz (karol) - Wednesday, 15 February 2012, 22:30 GMT
No, I wanted 9.39-1 as this is the version you've installed, right?
The 9.38-1 one is empty and you don't have one for hdparm-9.39-1 at all.

You can try 'pacman -Sf hdparm' or copy the 'files' file from some working installation.


What happened? Did you suffer power loss, hardware failure or ...?
Comment by Kevin Shanahan (kmshanah) - Wednesday, 15 February 2012, 22:44 GMT
9.39-1 was the version that failed to install (upgrade).
9.38-1 was the version already installed.

Thanks, pacman -Sf hdparm has fixed things.
Comment by Kevin Shanahan (kmshanah) - Wednesday, 15 February 2012, 22:45 GMT
No power loss or hardware failure that I'm aware. Most strange.
Comment by Kevin Shanahan (kmshanah) - Thursday, 16 February 2012, 00:15 GMT
Ah, I went back and checked my logs and now I do remember I had some problems with the mvsas driver back in January and I had to hit the reset switch on several occasions. That very likely could have caused the problem with the "files" file.

May as well close this bug report.

Loading...