You are not logged in.

#1 2014-10-23 10:23:07

ik_5
Member
Registered: 2013-09-22
Posts: 4

[Solved] package database gone

Hello,

For the past few days I saw that there are no updates for me using pacman, but I did saw updates in the repo.
After checking what is installed at my system, I found out that there is no database, and according to pacman nothing is installed.

For example:

ik@rebirth /tmp % systemctl --version                                                                                                                    sad
systemd 216
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN
ik@rebirth /tmp % pacman -Ss systemd
core/libsystemd 216-3
    systemd client libraries
core/netctl 1.9-1 (base)
    Profile based systemd network management
core/systemd 216-3
    system and service manager

Is there a way to restore this information, instead of reinstalling Arch ?

Last edited by ik_5 (2014-10-23 16:16:54)

Offline

#2 2014-10-23 10:38:32

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: [Solved] package database gone

Easiest would be if you could restore your database files from a recent backup.
Also have a look here https://wiki.archlinux.org/index.php/Pa … l_database


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#3 2014-10-23 15:07:23

ik_5
Member
Registered: 2013-09-22
Posts: 4

Re: [Solved] package database gone

Thank you, it helped a lot, and now things are restored.

Offline

#4 2014-10-23 16:12:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] package database gone

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB