Re-install over SSH

Hi guys,
I stupidly upgraded my system without checking the arch homepage. After a (first failed, then fixed) reboot, I found many empty files in /usr/bin and /usr/lib. Pacman was among the packages to be empty. After having manually installed pacman and after several hours of attempting to re-add each package by hand, I hope there's a much better way of fixing this broken system.
I was thinking a re-install might help. The major barrier being that this involves a VPS for which I have no vnc, ipmi or similar available.
Can anyone point me in the right direction as how to approach this problem?
Best,
Robin
Last edited by RobinVDH (2012-06-11 10:05:23)

There's a wiki article about installing Arch via ssh, and there's also one on how to install from an existing Linux. Since you still have access to your existing installation, you might be able to combine those to do a re-install.

Similar Messages

  • X forwarding suddenly failing over ssh

    Hi,
    I have an Ultra 20 running solaris 10, and recently started using the patch manager thingy to update my machine automatically. Well, one of those patches botched X11 forwarding over ssh, with the following error message delivered to the client:
    ==================
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    connect /tmp/.X11-unix/X0: Not a directory
    X connection to localhost:10.0 broken (explicit kill or server shutdown).
    ==================
    Looking at this file, i see this:
    ==================
    pwd/tmp/.X11-unix
    ls -FCltotal 0
    srwxrwxrwx 1 root root 0 Oct 12 19:31 X0=
    ==================
    Which looks more or less correct for a socket. (doing just a plain "ls" returns "X0", and not "X0=").
    When run in debug mode, sshd gives this:
    ==================
    debug1: X11 connection requested.
    debug1: channel 3: new [X11 connection from ::1 port 33274]
    channel 3: open failed: administratively prohibited: open failed
    debug1: channel 3: free: X11 connection from ::1 port 33274, nchannels 4
    ==================
    This was working perfectly for a long time, and I don't even know which patch it was that caused the problem.
    Help! I can't stand developing with VI any more! Must run xemacs...
    Thanks,
    Ben

    Hello.
    With my old computer I managed to display this screen on a Windows X client using XDM. On my new machine I did not manage this because dtgreet does not work on remote machines when having installed the latest patches.
    Using SSH it is not possible to show this screen at all.
    If it was possible with another version of dtgreet you had to log-in as "root" using SSH (it would not work with another user) which is a problem because SSH typically denies root access.
    The question is: Why do you wish to show this display on the remote machine? Maybe there is a better way to archieve the goal you actually want.
    Martin

  • Running awesome WM over SSH?

    I run awesome on my MacBook Air, when I'm at home, I tend to hook my system up to an external monitor, keyboard & mouse. I have another monitor that I would also like to implement in my setup.
    My current idea is to get Arch installed on one of my Raspberry Pi's and use it as a sort of thin client, so to speak. So, I'd have the Pi connected to the other monitor, have my MacBook serving up an X session over to the Pi via the network (presumably over SSH) and the Pi displaying that on the screen, which would all seamlessly be controlled with Synergy.
    I know that X forwarding is possible, however, I'd like to know if I can serve up an actual awesome session, so my Pi essentially wouldn't actually be running awesome.
    Is this achievable? If so, how might I go about implementing it? I've done searches, however they seem to just assume that the client has some sort of graphical environment running already and then to just pull application windows over X, whereas I want to use it as a full desktop.
    Many thanks in advance for any advice on this, it'd be greatly appreciated

    Hmmm, okay, I have some queries!
    I use SLiM as my display manager on my MacBook, so will this even be possible?
    Ideally, I'd like to have it setup so I can simply power on my Pi, then have it boot up and initiate the X connection to my MacBook and present an awesome session on the monitor. Are there any means by which this can be achieved?
    There's also the factor that I wish to log in as the standard user account that I use, so I'd already be logged in on my MacBook, then have the Pi initiate a connection also through that account... is that even possible? Perhaps I'm thinking this is like SSH
    Again, many thanks in advance for any help on this!
    **EDIT**
    Would it perhaps be possible/better to simply have the Pi set to autologin to a local user (on the Pi) then have it autostart a minimal X session through .bash_profile, and have something like:
    ssh -X -C user@MacBook
    In the .xinitrc?
    (Of course setup with keypairs so the login is automated)
    And then I'd have to figure out a means of autorunning awesome & synergyc once it's logged in...
    This is just brainstorming of course, but it might work better?
    Last edited by Starfall (2012-08-23 11:16:04)

  • Quicktime 7 Pro is not installing over Quicktime 7

    I have Quicktime 7.7.6 for Windows installed on my computer.
    I purchased Quicktime 7 Pro and received a registration number
    I entered the registration number according to instructions
    Quicktime 7 Pro did not install over Quicktime 7.
    Help!

    Entering the registration merely unlocks the Pro features of QuickTime Player 7. It doesn't replace it with a different version.

  • HP Software finds the printer, but then "the printer was unable to be installed over the network"

    I have tried to search for a similar issue, but haven't had any success yet.  I doubt I'm the first with this problem!
    The computer is XP SP3, the printer is Deskjet 3050A, and it's a WPA-PSK WiFi.
    The printer confirms that it is connected to the WiFi.
    When I run the setup tool on the computer, at the Network Check point, the setup software finds the printer at the correct IP address.  It is the only thing it discovers.
    I click next, ànd after a minute or two, I get the error "the printer was unable to be installed over the wireless network"  Click Retry to try installing the printer over the network again, or click Cancel to return to the connection options.
    This just cycles with no progress.  I have turned off the Windows Firewall and also disabled the AV.  No change.
    I can browse to the web interface of the printer - but still can't install the printer.  It is listed in the Printers and Faxes as being Offline.
    I'll try once again removing it, and re-adding it - but has anyone come across this problem before, please?
    This question was solved.
    View Solution.

    I am having a similar problem as well.  The printer is recognized (most of the time) when I run the HP Network DIagnostic Utility.  However, when I run the Add a Device setup program to install my wireless printer, it is NEVER recognized.  I have even tried to use the advvanced serach to locate it using the IP listed in the Diagnostic Utility without any luck.  As an aside, I was able to add the printer through windows just fine and am currently able to print to it, but would really like to add it using the HP installation so that I can configure the "scan to" settings again.
    To make matters worse, I no longer have the USB cord that came with the printer because the device has been connected wirelessly for over a year now with minimal issues.  Any help getting this brick back online and connected to my network would be much appreciated!

  • I HAVE FF 3.6.21 DOES FF4 INSTALL OVER IT AND IMPORT ALL SETTINGS, BOOKMARKS, ETC AND CAN I GO BACK TO 3.6.21 IF I DON'T LIKE 4

    I HAVE FF 3.6.21 Is FF4 a completely new install or does it install over the existing installation. Does it import settings, bookmarks, stored passwords, etc or do I have to add all that. Lastly, if I don't like FF4 can I go back to FF3 easily

    Firefox 4 is no longer available. If upgrading, the only version that you can/should go to is Firefox 6.0.1, the current version. Firefox 7.0 is scheduled to be released on 09-27-2011 ('''''scheduled date is subject to change'''''). After Firefox 4.0, each upgrade replaces the prior version and the prior version is "abandoned" as far as security and stability updates are concerned.
    Installing Firefox 6 will preserve your prior bookmarks, passwords, etc. You can/should make a backup of your personal information for safekeeping; what if you have a hard drive failure?
    *See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information] '''''and''''' [http://kb.mozillazine.org/Profile_backup Profile backup]
    To test the new version 6.0.1 and leave your current Firefox 3.6.21 intact, you can install Firefox Portable. Firefox Portable is not produced by Mozilla (but is based on Firefox released versions) and is not supported on this site -- has its own support forum (see below). Firefox Portable installs in a separate folder on your hard drive and keeps its profile (personal information) separate so that it does not interfere with your current Firefox installation settings or personal information (bookmarks, passwords, etc.). You can also install Firefox Portable on a USB/thumb/pin/jump drive.
    *Firefox Portable general information: http://portableapps.com/apps/internet/firefox_portable
    *Firefox Portable user forum: http://portableapps.com/forums/support/firefox_portable
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Ctrl+Shift+Option+5 registers as Option+5 in custom emacs build or over ssh

    I'm having trouble with custom emacs and emacs over ssh with Leopard. Included below is the text of the bug report I filed with Apple. If anyone has any thoughts or suggestions, I'd love to hear about them.
    It won't let me change the OS on this post for some reason, but I'm running Leopard, not Tiger.
    In Terminal.app Version 2.0 (237) when I ssh into my Gentoo Linux server and run emacs, or if I run a custom-compiled version of emacs in terminal mode locally, pressing CtrlShift+Option5 (which should bring up "Query replace regexp:" in the bottom input bar) registers as if only Option+5 was pressed.
    NOTE: I am using the new aluminum USB-2.0 apple keyboard connected to a MacBook Pro running Leopard 9A581. I have not tested any other hardware configurations.
    Steps to reproduce:
    1. Download http://ftp.gnu.org/pub/gnu/emacs/emacs-22.1.tar.gz
    2. Untar the above
    3. cd emacs/mac && ./make-package --self-contained
    4. Copy or move Emacs.app to /Applications
    5. From Terminal.app run "/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
    6. Press CtrlShift+Option5
    OR
    1. SSH into a linux server and run emacs.
    2. Press CtrlShift+Option5
    Expected Results:
    "Query replace regexp:" should appear in the input line at the bottom of the screen.
    Actual Results:
    "ESC 5-" shows up. The escape key is an alternate meta-key, so this indicates that the program believes Meta+5 was pushed, where the actual meta-key that I'm using is Option.
    I never noticed this problem in any version of Tiger, but it occurs in Leopard.

    Perhaps, you should try to reset your preference file to see if it corrects itself.  I have posted the instructions at this link:
    http://forums.adobe.com/thread/1097046?tstart=0
    Good luck.

  • Acrobat Pro XI when installed over Acrobat 9 Pro removes LiveCycle Designer.

    Acrobat Pro XI when installed over Acrobat 9 Pro removes LiveCycle Designer.  Forms Central can't open LiveCycle Designer Forms so what do you do?
    I have uninstalled XI and re-installed LiveCycle Designer only.  On re-installation, I chose not to uninstall version 9 and to do a customer set up (not installing forms central).
    LiveCycle is now working along with Acrobat ProXI

    LiveCycle Designer is no longer distributed as part of the Acrobat release. I think it is available as a separate product. At this point, Acrobat provides the AcroForm type tools (kind of hard to get to, just as in some previous versions) and the option for Forms Central. The whole focus has changed. I suspect that others may be in the same situation of trying to get their forms to interact in Acrobat or Forms Central, but at this point I do not think there is any way to back Designer forms into either of the two current formats. Not much help, but a comment in any case.

  • Java Caps 5.1.3. and SFTP (FTP over SSH)

    Hi,
    I'm trying to use the BatchSFTP option from the batch eway to setup FTP over SSH. I'm having trouble in setting up the keyfile. I've generated a trusted_hosts file using openSSH via CYGWIN (I'm running on W2003 server). The error I get is: Batch SFTP eWay connection failed, method=[connect()], message=[Exception when connect(), e=java.io.IOException: Invalid SSH1 public key format].
    Has anyone experience with FTP over SSH and can help me out on this.
    Thank you very much,
    Cor Zijlstra
    [email protected]

    You need to convert the server public key for the server that you are connecting with to the IETF SECSH format. If you have access to do that, you can run the command ssh-keygen -f myServerPublickey.pub -e > myIETFServerPublicKey.pub. Otherwise, your UNIX server admin will need to run that. Put the ITEF key in your .ssh directory and have CAPS reference that IETF format and you should be set. Make sure the connectivity map/env explorer is set to public key authentication.
    I think there is a bug in CAPS with how it is handling the SSH formated key. I have been unable to prove it to support. Furthermore, more pressing issues have taken up my time (aka, other projects).
    John

  • Installing over old version

    I will be installing CS4 Design Premium over Photoshop CS3; Dreamweaver 8 and Flash Professional 8. Will the settings and preferences (and in the case of Photoshop, plug-ins and actions) of these existing applications be transferred to the new installation?

    You're not installing OVER anything. The upgrades install exactly the
    same way as the full retail versions. The older versions, with the
    exception of Acrobat, which you'll be prompted to uninstall, are left
    untouched.
    Nothing is brought over from the older versions.
    Bob

  • Can apex 4.2 be installed over Oracle XE10g DB?

    Hi All,
    I have to install Apex 4.2 over Oracle XE for reporting purposes. I got the APEX 4.2 downloadable from OTN. I followed the tutorial http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BABHHIJB. Now when i ran +@apxrtins SYSAUX SYSAUX TEMP /i/+ command and changed the admin password and tried to open the homepage of my DB and unlocked APEX_PUBLIC_USER account, it shown me that as blank. So i thought i need apex listener for this to open up. I installed apex Listener using java -jar apex.war command. Even now, i am getting a blank page over this, no error comes up over SQL PLUS for Apex Listener. I am not able to trouble shoot this .
    So after doing all this a question came to my mind can apex be installed over ORACLE XE? I have read a forum where it says yes you can install but i did not find anything relevant more than that.
    Please help.
    Thanks in advance.

    Hi Avi,
    I have to install Apex 4.2 over Oracle XE for reporting purposes. I got the APEX 4.2 downloadable from OTN. I followed the tutorial http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BABHHIJB.
    Why did you use the Installation Guide for APEX 4.1 when you are installing APEX 4.2?
    Now when i ran @apxrtins SYSAUX SYSAUX TEMP /i/ command So you just want a runtime installation?
    tried to open the homepage of my DB Which would that be?
    Note two things:
    1. The "database homepage" that ships with your XE is a special APEX application. This application will be lost as soon as you upgrade or reinstall APEX, because it has been "tailored" into the scenario XE using the APEX version that shipped with XE.
    2. A runtime installation does not have the web based GUI (workspace login, application builder, etc.). It's really just the APEX runtime for deploying your applications (through a SQL interface like SQL*Plus or SQL Developer). If you want more, you need a development environment (full install).
    A third aspect would be the question whether you've upgrade your APEX images to 4.2.
    So after doing all this a question came to my mind can apex be installed over ORACLE XE?Yes, as documented in the [url http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/pre_require.htm#BABFCFBC]Oracle Database Requirement section of the Installation Guide for 4.2, you can install APEX 4.2 on XE databases since 10.2 XE. I can assure you from personal experience that this actually works with and without APEX Listener.
    Side note: You need APEX Listener if you want to use certain features like RESTful Webservices built into APEX 4.2.
    -Udo

  • ADT hangs over ssh

    I am putting the finishing touches on our build system and have run into a show stopper bug in ADT.  It seems that ADT will not function propertly over ssh.  When I issue my ADT package command remotely on my Mac OS X machine via ssh, ADT simply hangs forever.
    The following are the errors I see on the Mac System Log:
    com.apple.SecurityServer: Session 24524 created
    naip: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    naip: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    And then nothing happens.  Forever.
    Looking on the remote system, I see that the ADT process has created 2 files and a directory in the output directory:
    drwxr-xr-x  2 build  staff     68 Jun  8 13:10 adt3612439737122910737.tmp
    -rw-r--r--  1 build  staff  11553 Jun  8 13:10 air6133709946041732094.tmp
    -rw-r--r--  1 build  staff  11553 Jun  8 13:10 air8135951800351503639.tmp
    However, nothing else happens.  The directory adt3612439737122910737.tmp is empty.
    The ADT package command I am running is:
    adt -package -storetype pkcs12 -keystore ../build/input/air/cert.p12 -storepass mypassword -tsa none -target bundle ../build/output/tmp/StoicAssetCompiler.mac.app ../build/output/tmp/EngineCompiler-app.xml -C ../build/output/app app.engine.compiler.swf
    The command works perfectly when I execute it from a terminal session as the build user.  However, any ssh session causes the adt program to hang forever.
    Short version:  How do I invoke ADT over ssh on Mac OS X?

    Additional point of information:
    There are 2 users involved here:
    john
    build
    john is logged into a desktop session. john can run ADT from a terminal, or even from a terminal ssh-d back to localhost as john.
    build can run ADT from a terminal su'd to build.  build cannot run ADT in any ssh session, including one ssh'd from the su'd terminal that works otherwise.

  • Will Firefox 4 AUTOMATICALLY install over version 3.6.17

    23/May/2011 5:57
    Will Firefox 4 AUTOMATICALLY install over version 3.6.17? Will **all of** the add-ons and plugins work? How steep is the learning curve?
    Sincerely,
    Barry Karas

    Click Help | Check For Updates. The next menu will display a list of add-ons which won't work with the new version. The update is automatic apart from that.
    If you find you don't like the layout of the new version, here are some tips to make it look like the version you're using now.<br><br>
    * Right click a blank part of the tab bar and click "Tabs on top" to remove the checkmark. Tabs will subsequently reappear below the search bar.<br><br>
    * Repeat the same steps, but click the top one called "Menu bar". This will reinstate the text links at the top.<br><br>
    * To rearrange the layout, repeat the same steps again and choose "Customize". A panel will open and while that remains onscreen, you can move elements like toolbars, buttons etc around and place them anywhere you wish. You can also drag anything you don't like into that panel and add anything you want by dragging it out of there.<br><br>
    * To replace the status bar at the foot of the page, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/<br><br>
    See screenshot. Both top and bottom views are FF4.

  • Qt applications over ssh tunnel: very slow redrawing

    Regularly I do not use many Qt applications, mostly Skype. I run it over ssh tunnel from another computer within the same local network for long time. After recent system update I noticed it became very slow refreshing its graphics. I checked several Gtk and Qt applications and found that Gtk ones work almost with the "native" speed, while Qt ones with that damn slow redrawing...
    I tried ssh with both "ForwardX11" and "ForwardX11Trusted" - there is no difference. I'm using no DE with xmonad WM (tried TWM - no difference either) in x86_64 box.
    Any directions/advices/ideas?
    Thanks!

    Regularly I do not use many Qt applications, mostly Skype. I run it over ssh tunnel from another computer within the same local network for long time. After recent system update I noticed it became very slow refreshing its graphics. I checked several Gtk and Qt applications and found that Gtk ones work almost with the "native" speed, while Qt ones with that damn slow redrawing...
    I tried ssh with both "ForwardX11" and "ForwardX11Trusted" - there is no difference. I'm using no DE with xmonad WM (tried TWM - no difference either) in x86_64 box.
    Any directions/advices/ideas?
    Thanks!

  • [Solved] Remotely closing X apps over ssh

    I'm trying to figure out a way to remotely close an application (like firefox) cleanly over ssh.  I know I could run "kill [pid]" or "killall firefox-bin" to close it, but the default termination signal causes firefox to close immediately and give a message at its next start complaining about the program not being shut down properly.  I tried several other signals, all of which had the same problem. 
    Is there a signal that I can issue from kill that will be equivalent to closing the application by clicking the X, pressing Alt-F4, going to File > Quit, etc?  If not, is there some other command I can issue to accomplish the same goal?
    Last edited by liquidsunshine (2009-03-30 21:56:43)

    @Bralkein:
    i like the one liner, i've incorporated it into my script.  i split it up only because i wanted more meaningful errors.
    @liquidsunshine:
    thanks for asking this question, this turned out a nifty script.  i use pkill all the time, now i have wkill to gracefully close programs from CLI and it works from SSH just as well as locally.
    here's the finished product:
    #!/bin/bash
    # wKill
    # pbrisbin 2009
    # gracefully close a program's window from
    # a remote ssh session, or not
    # requires wmctrl
    # example usage: wkill firefox
    # always exit cleanly
    errorout() {
    if [ $R -eq 1 ]; then
    export DISPLAY=""
    fi
    echo "$1"
    exit $2
    # set DISPLAY to your remote X session if we're ssh'd
    # though: maybe a "local DISPLAY=" would work?
    # it'd be cleaner if it did
    if [ -z "$DISPLAY" ]; then
    export DISPLAY=":0.0"
    R=1
    else
    R=0
    fi
    # get the PID by process name
    PID=$(pgrep "$1") || errorout "no process by the name: $1" 1
    # get the hex by pid
    APP=$(wmctrl -pl | grep "$PID" | awk '{print $1}')
    # some things don't get reported correctly
    if [ -z "$APP" ]; then
    APP=$(wmctrl -l | grep "$1" | awk '{print $1}')
    if [ -z "$APP" ]; then
    errorout "wmctrl can't find pid: $PID or app: $1" 1
    fi
    fi
    # close the apps window
    wmctrl -i -c $APP || errorout "wmctrl could not close app: $APP" 1
    # put the DISPLAY back to prevent any problems
    # do this only if we set it above
    if [ $R -eq 1 ]; then
    export DISPLAY=""
    fi
    exit 0
    as Bralkein said, some windows might not get reported correctly.  i added a nested if in there for two reasons:
    a) anything running in a terminal (irssi, mutt, htop) will only be captured by this if they were started with the terminal.  something like `xterm -e mutt`.  if you opened xterm, then opened mutt.  it will be listed as "bash ~" or something in wmctrl and the pid would be of mutt and not xterm... so we're kinda SOL there
    b) b/c i'd rather get a nice "could not find pid: X for app: Y" instead of a grep or wmctrl error message (which is what you'd get if the $APP variable is empty)
    other than the CLI app issue, it should pretty much catch every exception and run quite cleanly.  now if only i knew a real programming language...
    Last edited by brisbin33 (2009-03-31 00:26:49)

Maybe you are looking for

  • Field is not coming in BW side

    Hi Experts, I am trying to add two fields KWEMNG and ZORIG_KWMENG into standard datasource 2LIS_11_VAITM for Sales cube report pupose. Both these fields are coming from VBAP table. I did manage to add both into the standard datasource 2lis_11_vaitm t

  • PowerBook 540c issues installing Mac OS 8.1

    Hello, I have a PowerBook 540c with 36 MB RAM and 512 MB hard drive. It had Mac OS 7.6 on it, but kept freezing randomly while using, so I figured I'd reinstall the OS. I got a copy of Mac OS 8.1 (since I see that this is the max supported OS), and i

  • Website not opening

    I have tried opening the following website with firefox, chrome and safari and it does not open properly(not all text that should be shown is shown). However, my old microsoft computer does open the site so i don't know if there's a problem with my m

  • Fed up with Flash Player

    Let me make this simple.  I have a PC with the latest version of Flash Player installed (seems like I reinstall it every week).  I do not have the time or inclination to take notes about all the things I've done to try to get this thing to work.  It

  • Help Needed(simple)

    i have java v 1.3 and when i am on the internet and it is needed i just get the small box in the top left hand corner. How do i enable it. Sorry if i seem stupid but please help (e.g www.freefonefun.co.uk makeing a logo)