You are not logged in.

#1 2012-01-26 17:30:26

Sotanaht
Member
Registered: 2012-01-14
Posts: 29

I think I may have broken Pacman [SOLVED]

I'm not sure what I did to cause this, but when I started my computer up yesterday, pacman's given me this message whenever I try to update or install anything.

:: Synchronizing package databases...
 core                     106.3 KiB   246K/s 00:00 [######################] 100%
 extra                   1183.5 KiB   352K/s 00:03 [######################] 100%
 community               1035.8 KiB   446K/s 00:02 [######################] 100%
 multilib is up to date
 archlinuxfr is up to date
 catalyst                   5.0 KiB  30.0K/s 00:00 [######################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format

and it goes on and on, listing every repo multiple times.
Here's the last few days' worth of log entries in /var/log/pacman.log.  I can't find anything that would indicate any sort of problem.

[2012-01-20 00:53] Running 'pacman -S tightvnc'
[2012-01-20 00:53] installed printproto (1.0.5-1)
[2012-01-20 00:53] installed libxp (1.0.1-2)
[2012-01-20 00:53] installed tightvnc (1.3.10-5)
[2012-01-20 01:11] Running 'pacman -S movieplayer'
[2012-01-20 01:11] Running 'pacman -S totem'
[2012-01-20 01:11] installed gmime (2.6.4-1)
[2012-01-20 01:11] installed totem-plparser (2.32.6-3)
[2012-01-20 01:11] installed cogl (1.8.2-1)
[2012-01-20 01:11] installed clutter (1.8.2-2)
[2012-01-20 01:11] installed clutter-gst (1.4.6-1)
[2012-01-20 01:11] installed clutter-gtk (1.0.4-1)
[2012-01-20 01:11] installed mx (1.4.1-1)
[2012-01-20 01:11] installed totem (3.2.1-1)
[2012-01-20 01:14] Running 'pacman -S lmpeg2'
[2012-01-20 01:14] Running 'pacman -S lmpg2'
[2012-01-20 01:14] Running 'pacman -S libmpeg2'
[2012-01-20 01:14] installed libmpeg2 (0.5.1-3)
[2012-01-20 01:14] Running 'pacman -S mpeg2dec'
[2012-01-20 01:15] Running 'pacman -S sdl libxv'
[2012-01-20 03:15] Running 'pacman -S truecrypt'
[2012-01-20 03:15] installed truecrypt (7.1-1)
[2012-01-20 13:53] Running 'pacman -Syu'
[2012-01-20 13:53] synchronizing package lists
[2012-01-20 13:53] starting full system upgrade
[2012-01-20 13:55] >>> Updating module dependencies. Please wait ...
[2012-01-20 13:55] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2012-01-20 13:55] ==> Building image from preset: 'default'
[2012-01-20 13:55]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2012-01-20 13:55] ==> Starting build: 3.2.1-1-ARCH
[2012-01-20 13:55]   -> Parsing hook: [base]
[2012-01-20 13:55]   -> Parsing hook: [udev]
[2012-01-20 13:55]   -> Parsing hook: [autodetect]
[2012-01-20 13:55] WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
[2012-01-20 13:55]   -> Parsing hook: [pata]
[2012-01-20 13:55]   -> Parsing hook: [scsi]
[2012-01-20 13:55]   -> Parsing hook: [sata]
[2012-01-20 13:55]   -> Parsing hook: [filesystems]
[2012-01-20 13:55]   -> Parsing hook: [usbinput]
[2012-01-20 13:55] ==> Generating module dependencies
[2012-01-20 13:55] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2012-01-20 13:55] ==> Image generation successful
[2012-01-20 13:55] ==> Building image from preset: 'fallback'
[2012-01-20 13:55]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2012-01-20 13:55] ==> Starting build: 3.2.1-1-ARCH
[2012-01-20 13:55]   -> Parsing hook: [base]
[2012-01-20 13:55]   -> Parsing hook: [udev]
[2012-01-20 13:55]   -> Parsing hook: [pata]
[2012-01-20 13:55]   -> Parsing hook: [scsi]
[2012-01-20 13:55]   -> Parsing hook: [sata]
[2012-01-20 13:55]   -> Parsing hook: [filesystems]
[2012-01-20 13:55]   -> Parsing hook: [usbinput]
[2012-01-20 13:55] ==> Generating module dependencies
[2012-01-20 13:55] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2012-01-20 13:55] ==> Image generation successful
[2012-01-20 13:55] upgraded linux (3.1.9-2 -> 3.2.1-1)
[2012-01-20 13:55] ----------------------------------------------------------------
[2012-01-20 13:55] For more info and more troubleshooting visit:
[2012-01-20 13:55] http://wiki.archlinux.org/index.php/ATI_Catalyst
[2012-01-20 13:55] ----------------------------------------------------------------
[2012-01-20 13:55] 
[2012-01-20 13:55] --------------------------- == * == ----------------------------
[2012-01-20 13:55] catalyst package has been splited between:
[2012-01-20 13:55] - catalyst (module for stock kernel)
[2012-01-20 13:55] - catalyst-utils (libs and stuff)
[2012-01-20 13:55] 
[2012-01-20 13:55] and optional:
[2012-01-20 13:55] - catalyst-hook (auto rebuilding script and source files)
[2012-01-20 13:55] - catalyst-daemon (auto rebuilding script and source files)
[2012-01-20 13:55] - catalyst-generator (generator of catalyst-{kernver} packages)
[2012-01-20 13:55] ----------------------------------------------------------------
[2012-01-20 13:55] upgraded catalyst (11.12-1 -> 11.12-2)
[2012-01-20 13:55] upgraded lib32-glibc (2.15-3 -> 2.15-3.1)
[2012-01-20 13:55] upgraded lib32-gcc-libs (4.6.2-5 -> 4.6.2-5.1)
[2012-01-20 13:55] upgraded perl (5.14.2-6 -> 5.14.2-7)
[2012-01-20 13:55] upgraded openssl (1.0.0.f-1 -> 1.0.0.g-1)
[2012-01-20 13:55] upgraded wine (1.3.37-1 -> 1.3.37-1.1)
[2012-01-20 13:55] upgraded xkeyboard-config (2.4.1-2 -> 2.4.1-3)
[2012-01-20 13:55] upgraded yaourt (1.0-1 -> 1.0.1-1)
[2012-01-25 01:43] Running 'pacman -Syu'
[2012-01-25 01:43] synchronizing package lists
[2012-01-25 01:43] starting full system upgrade
[2012-01-25 01:44] Running 'pacman -Syu'
[2012-01-25 01:44] synchronizing package lists
[2012-01-25 01:44] starting full system upgrade
[2012-01-25 09:48] Running 'pacman -Syu'
[2012-01-25 09:48] synchronizing package lists
[2012-01-25 09:48] starting full system upgrade
[2012-01-25 09:48] Running 'pacman -S netbeans'
[2012-01-25 09:49] Running 'pacman -Syu'
[2012-01-25 09:49] synchronizing package lists
[2012-01-25 09:49] starting full system upgrade
[2012-01-25 09:49] Running 'pacman -S netbeans'
[2012-01-25 15:31] Running 'pacman -Syu'
[2012-01-25 15:31] synchronizing package lists
[2012-01-25 15:31] starting full system upgrade
[2012-01-26 12:23] Running 'pacman -Syu'
[2012-01-26 12:23] synchronizing package lists
[2012-01-26 12:23] starting full system upgrade

The one thing I can think of is that before I shut down the night before this problem occurred, it was telling me there was some conflict, and it wanted to remove a package.  I believe I told it not to remove it, because I wanted to do a complete backup before removing a package I didn't know anything about.  I believe it had the word "mod" or "mode" in it, not sure, it definitely started with an "m" though.

Last edited by Sotanaht (2012-03-31 20:40:28)

Offline

#2 2012-01-26 17:34:03

Sotanaht
Member
Registered: 2012-01-14
Posts: 29

Re: I think I may have broken Pacman [SOLVED]

I just noticed something new.  At the end of the long error message when I try running sudo pacman -Syu, I got this

:: Replace lib32-libgl with catalyst/lib32-catalyst-utils? [Y/n]
:: Replace module-init-tools with core/kmod? [Y/n] 
resolving dependencies...
looking for inter-conflicts...
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kmod and module-init-tools are in conflict

I'm pretty sure it didn't do that yesterday.  However, I'm 90% certain that module-init-tools was the package it wanted me to remove.  It didn't give me these errors before I shut down 2 nights ago though

error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Unrecognized archive format

it only gave me the dependency conflict.

Offline

#3 2012-01-27 13:50:25

flexagon
Member
Registered: 2012-01-27
Posts: 1

Re: I think I may have broken Pacman [SOLVED]

I had exactly the same problem after upgrading to pacman4, but only with the core repo, it turns out the database at /var/lib/pacman/sync/core.db was empty, though it had been fine before the upgrade.

Running

pacman -Syy

to update the databases fixed it for me. I hope this helps.

Offline

#4 2012-01-27 14:36:36

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: I think I may have broken Pacman [SOLVED]

remove the  module-init-tools and do an 'pacman -Syy'.
http://www.archlinux.org/news/kmod-repl … nit-tools/

Offline

#5 2012-01-28 00:39:47

Sotanaht
Member
Registered: 2012-01-14
Posts: 29

Re: I think I may have broken Pacman [SOLVED]

hadrons123 wrote:

remove the  module-init-tools and do an 'pacman -Syy'.
http://www.archlinux.org/news/kmod-repl … nit-tools/

I removed module-init-tools earlier, but it wasn't until I did 'pacman -Syy' that the error went away.  Thanks.

When I did update, it ended up breaking my catalyst drivers.  Didn't have catalyst-hook or catalyst-daemon installed, so it couldn't run.  Booted in runlevel 3 and installed hooks and it works fine now.  I really wish xf86 worked on my machine, I'm so sick of catalyst >_>

Offline

#6 2012-01-29 10:20:10

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: I think I may have broken Pacman [SOLVED]

I'm getting this exact error.  I also tried running pacman -Syy, but I still get this error every time I run pacman -Syu. It doesn't seem to affect the upgrade of non core packages - which, I suppose, makes sense.

Offline

#7 2012-01-29 16:07:32

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: I think I may have broken Pacman [SOLVED]

Also - I don't have module-init-tools installed...

Offline

#8 2012-01-29 16:33:55

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: I think I may have broken Pacman [SOLVED]

Nevermind - If figured out that mine was broken because dansguardian decided it didn't like my mirror.  My core.db was actually an html file explaining this to me! Adding the mirror to the exceptionsite list and running pacman -Syy fixed the problem.

Offline

#9 2012-01-29 16:39:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,615

Re: I think I may have broken Pacman [SOLVED]

Good.  Please go ahead and edit your first post, edit the title title, and add [SOLVED] to the beginning of the thread title.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB