You are not logged in.
everytime i try to run pacman -Syu
i get
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
ok.. so i delete that file and try again, and i get this!!! :
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gucharmap-2.32.1-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gucharmap-2.32.1-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gucharmap-2.32.1-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gucharmap-2.32.1-1/depends: No such file or directory
Targets (2): hyphen-2.7.1-1 lzo2-2.04-1
Total Download Size: 0.09 MB
Total Installed Size: 0.52 MB
Proceed with installation? [Y/n]
last time i said YES, and it was all a complete mess, i had to use a ubuntu live cd to get all fixed because arch wouldn't boot, it had like a billion bad blocks or something.. anyway i got it fixed and now i try to do it again and it's the same..
what can i do? by the way, while pacman is showing the errors, my pc kinda freezes and i have to wait like 2-3 mins to get it all normal.
this is scaring me since i don't want to have to install arch all over again and lose all files. since it's like 50gb only in files.
imagine me trying to backup all that.
![]()
please help!?
Last edited by infernalarch (2010-12-03 17:15:15)
Offline
sounds like your drive is dying
how did you fix it on the live cd?
Offline
Try pacman -Syyu before doing anything nuclear
Offline
error: could not open file /var/lib/pacman/local/cpufrequtils-008-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/gucharmap-2.32.1-1/depends: No such file or directory
So pacman has "lost" some of its database files. "pacman -S cpufrequtils gnucharmap" should fix those errors.
But given the freezes while package try reading the database, I wounder if you have more severe hard-disk damage. I'd be making sure I had a full back-up...
Offline
sounds like your drive is dying
how did you fix it on the live cd?
well, for now i've fixed everything it was really really hard, it took me like 1 day and a half to get it on working again, unfortunately i had to uninstall arch, i'm using slackware right now.
about how i fixed it from the live cd, i had to e2fsck the partition where arch was installed, although this didn't fix the problem completely, because the other partition where i had windows (i know.. it sucks) was giving me problems on boot due the bad blocks stuff. so at the end i had to erase EVERYTHING
right now the hard drive is fine (i think).
I'm just hoping that my hard drive is not dying soon.
Offline
your hard drive isn't fine... you should check the SMART readings ASAP
Offline