• [SOLVED]Pacman is broke


    Well, to be specific, mine is. One of the updates broke my system and I’m getting error messages left and right. Community.db and Extra.db won’t update. I tried a few solutions from this forum but none have worked. One involved updating the mirror list. I backed up my old mirror list before I replaced it. As a result of this, my konsole screen is blank, clementine is spitting out error messages and I cannot update. I created logs last night but the instructions for combining those logs into an archive file were a bit confusing for me. Can anyone offer guidance?

  • Hi,

    Try replacing the contents of /etc/pacman.d/mirrorlist with the following:

    ################################################################################
    ################# Arch Linux mirrorlist generated by Reflector #################
    ################################################################################
    
    # With:       reflector -l 15 -f 14 -p http --save /etc/pacman.d/mirrorlist
    # When:       2015-12-24 19:41:25 UTC
    # From:       https://www.archlinux.org/mirrors/status/json/
    # Retrieved:  2015-12-24 19:38:18 UTC
    # Last Check: 2015-12-24 19:16:33 UTC
    
    Server = http://mirror.lty.me/archlinux/$repo/os/$arch
    Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    Server = http://arch.tamcore.eu/$repo/os/$arch
    Server = http://archlinux.polymorf.fr/$repo/os/$arch
    Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
    Server = http://mirror.one.com/archlinux/$repo/os/$arch
    Server = http://archlinux.mailtunnel.eu/$repo/os/$arch
    Server = http://archlinux.honkgong.info/$repo/os/$arch
    Server = http://mirror.hactar.bz/$repo/os/$arch
    Server = http://mirror.pseudoform.org/$repo/os/$arch
    Server = http://archlinux.my-universe.com/$repo/os/$arch
    Server = http://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
    Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
    

    Then run this command: sudo pacman -Syyu

    Let me know how it goes. Cheers!

  • lots of logs, I’m embarrassed to mention this but I’m completely stuck. I attempted to copy and paste, and, of course, I got all sorts of errors since I was using dolphin. That was even when I was using dolphin at the root. Anyway, some how I managed to screw up the mirror list. However, I backed up the mirrorlist_new and saved it to my desktop. Then I created a new mirror list with the new information for the mirrorlist. However, I do not know how to copy this to my pacman.d folder. I don’t want to waste your time here with silly stuff. Should I create a new thread in the newbies folder?

  • Okay, no worries. Let’s do it another way. Simply open a terminal (the kde terminal app is called Konsole) and then run these commands:

    cd /etc/pacman.d
    sudo rm mirrorlist
    sudo wget http://antergos.info /mirrorlist
    sudo pacman -Syyu
    

    Let me know how it goes!

  • It didn’t work. I guess I forgot to mention that konsole is broke too. I have been using Xterm but it is limited compared to console. I can’t copy form xterm either.

    What I can tell you is that I got an evil message telling me that mirrorlist: Scheme missing.

    It appears to have created an index.html file. Do I rename this to mirrorlist?

  • And now, when I try to rename anything in the folder the file changes to a white color and shows as empty. The file that downloaded to my pacman.d folder was called an index.html file. I tried to rename it and it simply turned white and lost it’s association. Strange, huh?

  • SOS SOS SOS SOS

    This problem has now reached critical stage. My wireless keyboard is not talking to my pc now if I try to log in with my credentials. My mouse works and my keyboard is working now because I booted up with the antergos disc. This is all connected to the mirrorlist file that is totally screwed up. As a result, this is the only way I can ask for help.

    Is there a way for me to access my personal files to correct this while booted up with the antergos live disc? If not, I may have to go out and buy a wired, usb keyboard so I can troubleshoot this headache of a problem.

  • @linux_mark said:

    SOS SOS SOS SOS

    …My mouse works and my keyboard is working now because I booted up with the antergos disc. This is all connected to the mirrorlist file that is totally screwed up…

    From your descriptions I don’t understand completely what the problem is, but if it is limited to bad mirrorlist only, then it is easy to re-create a good one using Antergos live session.

    You will need four things:

    • live Antergos session
    • working Internet connection
    • working keyboard
    • working terminal (konsole)

    First, install (very useful) reflector program (package). Start live Antergos session, open the terminal, issue the command

    sudo pacman -Syy reflector
    

    It will install reflector in live session only. The existing Antergos installation on hard disk will not be altered in any mode.

    Second. Use reflector to create a good mirrorlist file. Instruct reflector to place the mirrorlist in any existing directory. That direcotiry must be visible when the computer is booted normally, not in live Antergos session.

    For example, there’s sda16 partition on my computer. It’s a common data partition, shared by all Linuxes installed here. It doesn’t make part of any Linux. Exists on its own. All Linuxes mount it under the /1st mountpoint. It has the tmp folder:

    [[email protected] ~]$ ls /1st -lha
    total 92K
    drwxr-xr-x 20 just users 4.0K Dec 25 18:16 .
    drwxr-xr-x 19 root root  4.0K Nov 19 19:46 ..
    drwxrwxrwx 10 just users 4.0K Dec 21 10:03 art
    drwxrwxrwx  4 just users 4.0K Dec 25 09:52 dnl
    drwxrwxrwx  2 just users 4.0K Sep 13  2014 doc
    drwxrwxrwx 10 just users 4.0K Aug 28 15:08 mus
    drwxrwxrwx 11 just users 4.0K Dec 12 10:31 pic
    drwxrwxrwx  5 just users 4.0K Dec 25 10:07 tmp -- we will place a new mirrorlist here
    drwxr-xr-x  7 just users 4.0K Dec 25 17:55 zim
    $ 
    

    Run reflector and tell it to place the generated mirrorlist in the /1st/tmp folder:

    sudo reflector --age 8 --fastest 128 --latest 64 --number 32 --sort rate --save /1st/tmp/mirrorlist
    

    Third. Replace the old (bad) /etc/pacman.d/mirrorlist file in your existing Antergos installation with the this one. You may do it either from within the live session, or booting into any installed Linux, Antergos included.

    Done.

  • How do i do this from within a live session? I can’t find my information in the live session via terminal and I’m at the root.

    I should also mention that I do have a mirrorlist saved in a safe location on my default desktop and tried to copy but, of course, I’m not logged in as me so it won’t allow me to copy the mirrorlist. I searched online to see if there is a way to login via a live session in terminal as me but nothing is working so far. I think this is the only way it will allow me to copy a mirrorlist to the /etc/pacman.d folder, right?

  • @linux_mark

    1. Start Antergos live session

    2. Open the terminal as a standard (not root) user

    3. From terminal, start Nautilus as root

      sudo nautilus &
      
    4. This will open the 1st Nautilus instance (window), with root privilegies

    5. While this window is active (focused), duplicate it by typing Ctrl+N. This will open a 2nd Nautilus instance (window), with root privilegies

    6. You’ll have 2 (two) root Nautilus innstances (windows) opened right now

    7. Navigate to /etc/pacman.d in the 1st Nautilus

    8. Delete mirrorlist

    9. In the 2nd Nautilus navigate to mirrorlist, stored in the safe location

    10. Drag-&-drop the good mirrorlist from 2nd Nautilus to the 1st one

    11. Done

  • Hey Just,

    Thank you so much for your solution. In a perfect world it would probably work for me. Alas, I don’t know if it did or it didn’t because I’m still getting a silly, login prompt on my pc that I shouldn’t be getting and no access to my wireless keyboard at the moment. I was able to use it to effect the changes you recommended but I won’t know if it worked until after I buy a wired keyboard. lol. I don’t know of another option to booting up as me when my pc isn’t recognizing my wireless keyboard, do you? And, of course, this is a bluetooth logitech keyboard and mouse and I know others have had problems with this brand on antergos. I’ll let you know how everything works when I get a new keyboard.

    Thanks,

    Mark

  • @linux_mark said:

    …I don’t know of another option to booting up as me when my pc isn’t recognizing my wireless keyboard, do you?..

    Yes, I do.

    Remove the keyboard and keymap hooks from autodetection. By placing them before the autodetect hook in the

    /etc/mkinitcpio.conf
    

    Rebuild initramfs

    sudo mkinitcpio -p linux
    

    Reboot

    sudo shutdown -r now
    

    It usually solves all issues with quirky Logitech wireless mice and keyboards. Good luck.

  • @just Yeah, but the problem is, I have to be logged in as me for your suggestion to work. Just the fact that I’m getting prompted to login tells me my antergos is seriously screwed up. I have always set my antergos install to auto login. And since it wants a password and I can’t type it, I’m back to here. Let me show you the error messages I’m getting.

    [[email protected] ~]$ sudo mkinitcpio -p linux
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> ERROR: specified kernel image does not exist: /boot/vmlinuz-linux' ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback' -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect ==> ERROR: specified kernel image does not exist:/boot/vmlinuz-linux’

    And, when I reboot I get the same login prompt and no keyboard functionality.

  • Ok Folks, I’m at my wits end. I bought a wired keyboard today an I still cannot login. The login prompt that comes up won’t recognize my wired keyboard either. My final option is to re-install antergos. Can anyone else suggest another solution to get me up so that I don’t have to lose all of my customization? I have nvidia drivers installed and they were a bear to install. Anyone?

  • So, I’m guessing that I’m the only one who has experienced this issue with a login screen that comes up that has a blank password? I bought a usb keyboard because I was blaming my problem on the wireless keyboard but I cannot type any characters at all. If it weren’t for lastpass, and my antergos live cd, I wouldn’t be able to login here because I use very tough passwords for every forum I belong to.

    Anyway, I just figured I’d ask one more time before I wipe my pc. It was a bear to install antergos the first time so I’m really not looking forward to going through this again.

kde112 update46 pacmac3 Posts 15Views 2795
Log in to reply