[REINSTALL] moved /var to another partition - now everything is borked

Ah, I reckon I might  have shot my install
I was running out of space and seeing that /var took up some 3GB I decided to move it to another partition and adjust the fstab accordingly. It all worked but on reboot hal didn't start. I tried to reinstall it with pacman and now I am told:
error: database path is undefined
error: could not register 'core' database (could not open database)
Am I shot???
Last edited by toad (2009-04-18 23:15:15)

All that's in /var/cache/pacman/pkg are packages. You can keep packages if you're afraid something will break and only rolling back to older packages will fix it (which for some people it does), but there are some mirrors out there that update slower than others (so the thing is to pick a mirror that syncs often, so if you really need to downgrade, you can grab the older packages from a slower mirror for example).
I clean out my package cache periodically. If something breaks and I need to roll back (which happened to me with the bluetooth upgrade) I usually check the web CVS frontend for the PKGBUILDs and rebuild what I need.
In general, there's no reason to hold on to your cache - and certainly not that big a cache. If you keep it under a GB you should be safe, generally that covers most if not all packages you installed, one version back. You'll have to sift, though.

Similar Messages

  • Moved itunes to another disk now everything is gone

    ok so my (C) disk was low on space, so I went to iTunes, and moved itunes to another drive. after I went throught that whole process, I copyed the iTunes folder from the (c) drive to the (d) drive (the new drive) and then after it had finished pasting, I deleted the iTunes folder from the original drive. I then opened itunes and it now is empty what do I do in order to get everything back? thankyou in advance.

    annaliesebieberninjaaah wrote:
    ok so my (C) disk was low on space, so I went to iTunes, and moved itunes to another drive. after I went throught that whole process, I copyed the iTunes folder from the (c) drive to the (d) drive (the new drive)
    I'm confused.
    You moved iTunes to another drive and then then you copied the iTunes folder to the D: drive?
    How did you first move iTunes to another drive?
    Then why did you copy the iTunes folder after that? Isn't this moving iTunes to another drive"
    Hold Shift and launch iTunes.
    Select Choose library... and select the iTunes folder you copied to the other drive.

  • [SOLVED] Problem in moving /var to new partition

    Hi,
    I setup a new systemd Arch instalation on an SSD and migrated successfully from my old initscripts based HDD setup. I have 2 problems now, one leading to another.
    I wanted to move /var to a partition on HDD and followed the following steps.
    Created a new reiserfs partition for var on my HDD using gparted. Labelled it as "var"
    Rebooted to emergency mode and mounted it. (I remounted root as read-write)
    # mount /dev/sda8 /mnt/new_var
    Copied var contents to new_var
    # cd /var
    # cp -Rax * /mnt/new_var/
    # cd /
    # mv var var.old
    # umount /mnt/new_var
    # mkdir var
    # mount /dev/sda8 /var
    Added the following line to /etc/fstab
    LABEL=var /var reiserfs defaults 0 1
    When I reboot after this, systemd is timing out waiting for a var partition. Here is an pic taken during boot.
    I restored the old var using the emergency shell and could reboot properly. I tried the same thing as a normal user using sudo after the system was up. (During the moving, I got sudo warnings because the sudo folder in /var/db wasnt there.)
    With the new var partition in place, I proceeded to install a few packages. But when I rebooted, I the same thing happened again and had to get into emergency shell and restore the old var.
    However, after this, the packages which I installed in the interim are not available in pacman database.
    So,
    1. How can I move /var to a separate partition and still keep systemd happy?
    2. Is there a way to rescan or rebuild the pacman database? Will syncing the 2 different var setups that I've solve the problem? If so, how can I sync them?
    Last edited by kungsu (2012-11-04 14:54:25)

    I'm thinking in collision propabilities here. How probably might the device node change? I have machines that keep doing this without a real reason. I'd prefer labels on such machines. Other machines don't - without a real reason as well. I'd prefer device node notation on such machines. Labels can be changed manually, new partitions can be added and USB sticks with labled partitions can be inserted. While the USB situation should not be a big deal, both, labels as well as device nodes can be subject to changes, collisions and other arbitrary events. The only thing that is unlikely to change (for no obvious reason), be altered by accident or made collide with another one, are UUIDs.
    I would not say using lables is bad, it's just that if you already have an issue, why not rule that out? It seemed to have solved the issue, it can be as easy as playing safe sometimes. Furthermore, the reason why I recommended to change the label from "var" to something else, is how common "var" is. It is like using a keyword in a programming language as a variable name, it may or may not work, so why not make it a habbit of not using such meta-keywords at all?
    EDIT: There is no particular reason, I suspect the lable isn't set correctly. Maybe there is a problem with the partition table - that's where I'd suspect the LABLE to be stored.
    Or maybe you just did the whole by-label thing wrong.
    "/dev/disk/by-label/var" instead of LABEL="var"…
    Last edited by Awebb (2012-11-04 15:27:43)

  • Moving mail to another partition

    greetings,
    I'm doing some maintenance on my mail server.
    i want to move all of may mailboxes to another hard drive.
    currently i have most users in /var/spool/imap/ and i need to move them to
    /volumes/HD2/.
    I have the partition listed on WGM. and i have used mailbfr -b to back up the data. Now, can i just move the mailboxes, and run a reconstruct?
    or will that just rebuild the mailboxes on the original partition?
    how to I rebuild on the other drive?
    TIA

    additional info.
    it seems that mailbfr is only backing up the accounts in the default /var/spool/imap/user/ directory.
    is there a special flag to set for alternate partitions?
    -j

  • Moved PC to another country - now cannot connect to iTunes store

    Hi - I have a UK iTunes account and I have moved my PC to Switzerland. I tried to update my iTunes and iPod, yet now I cannot connect to the iTunes store.
    Can anyone please help?
    Thanks,
    JC

    Ok here goes. I've taken out any serial number or IP address.
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    eveshamvale 965X7AA
    iTunes 8.2.0.23
    QuickTime 7.6.2
    FairPlay 1.4.10
    iPod Updater Library 8.1d19
    CD Driver 2.1.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 2.5.0.31
    Apple Mobile Device Driver 1.43.0.0
    Bonjour 1.0.6.2
    Current user is an administrator.
    The current local date and time is 2009-06-03 21:43:02.
    iTunes is not running in safe mode.
    Video Display Information
    NVIDIA GeForce 8800 GTX
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** Network Connectivity Tests **
    Network Adapter Information
    Adapter Name: {E34BB18D-1AFA-436F-B879-AB44E6DB3DAA}
    Description: Generic Marvell Yukon Chipset based Ethernet Controller - Packet Scheduler Miniport
    IP Address: <snip>
    Subnet Mask: <snip>
    Default Gateway: <snip>
    DHCP Enabled: Yes
    DHCP Server: <snip>
    Lease Obtained: Wed Jun 03 21:25:18 2009
    Lease Expires: Thu Jun 04 21:25:18 2009
    DNS Servers: <snip>
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Connection attempt to iTunes Store was unsuccessful.
    An unknown error occurred (-28).
    Secure connection attempt to iTunes Store was unsuccessful.
    An unknown error occurred (-28).
    Secure connection attempt to iPhone activation server unsuccessful.
    An unknown error occurred (-28).
    Last successful store access was 2009-06-02 17:04:05.

  • [Solved] Copying my installation to another partition.

    Hello. I have 5 partitions in my laptop: one with Linux Mint, one with Arch, another one with my files, and I use the other two for testing other distros. I don't have a bootloader in Arch, I use Mint's GRUB for detecting and booting any distro. I want to do some experiments in Arch, but I don't want to mess up my main installation, and I don't want to reinstall it again in another partition. So, I was thinking, is it possible to just copy all the files of the Arch partition in another one, and then edit fstabs so it mounts the correct root partition? Or this won't work?
    Last edited by Serge2702 (2014-01-29 04:21:19)

    karol wrote:You can try https://wiki.archlinux.org/index.php/Fu … with_rsync
    I have used this a number of times, and it works quite well.  You might also want to add '-H' (to make it -aAHXv) so that hard links are preserved.  This will make the rsync process more resource intensive though.

  • After install of Mavericks, it looks like my system kernal panics and just sits there. I tried waiting over two nights. Tried reinstalling twice, booting r/s. Recovery partition now has Mavericks as OS. Im running a iMac i3 27 inch circa 2011. Any ideas?

    After install of Mavericks, it looks like my system kernal panics and just sits there. I tried waiting over two nights. Tried reinstalling twice, booting ro the repair partition and repairs permissions/drive/verify , with no problems. Tried reseting PVRAM(or whateverit called). Recovery partition now has Mavericks as OS. Im running a iMac i3 27 inch circa 2011. Any ideas? Can still bootcamp into windows.
    Thank you

    bhadotia wrote:Anyway's the file downloaded from dell to update the partition for Studio 1555 is corrupted (checksums don't match). My partition still doesn't boot. I'm working to fix this and will update my post when I'm done.
    The file seems to create the CD/DVD/Image and USB just fine. So I used this only to create a CD image which I then wrote on a blank CD which seems to work fine. Also, I played around a bit and had some partial success in booting the partition. I've updated my original opening post with the new findings.
    Whew!! what a waste of time! Never want to do all of this again .
    Last edited by bhadotia (2012-03-03 00:05:22)

  • I moved my FCP events and projects folder onto my external hard drive and now everything is gone on FCP.  When I tried to reload those folders onto FCP nothing happened.  I still get the missing files image.

    I moved my FCP events and projects folder onto my external hard drive and now everything is gone on FCP.  When I tried to reload those folders onto FCP nothing happened.  I still get the missing files image.  When I try to import the folders manually something pops up that says it is incompatable.  It is possible to retrieve everything that was lost?

    "When I tried to reload those folders onto FCP nothing happened"
    Brownale6 how can  u reload folder in to FCP.
    As you said folders are moved to external disk but have you checked it should be like this
    For Event
    external disk>Final Cut Events>your event folder.  
    For project
    external disk>Final Cut Projects>your project folder.

  • HT204053 we have moved over to iCloud but now we need a another email for a blog we are doing can we add another email but not alias

    we have moved over to iCloud but now we need a another email for a blog we are doing can we add another email but not alias

    Welcome to the Apple community.
    You can add an alias but not a second email address to your iCloud account. You can however add a second iCloud account to your iOS device (which will come with its own email address) at settings> mail, contacts calendars.

  • How to include another partition in tape backup

    Hi
    I use a shell script written by my sysadmin to take backup of our oracle system on tape. now i moved some datafiles on another partition and hence want to include that partition also in tape backup.
    for fs in $(cat /tmp/dailybkupfs | awk '{print $1}')
    do
    # For / replace the / with root for log filename
    if [[ "$fs"  = "/" ]]
    then
    fn="root"
    else
    # replace any / in fs name with _ for use in log filename
    fn=$(echo $fs | sed 's:/::g')
    fi
    if umount ${fs}
    then
    echo "${fs} unmounted successfully" >>/tmp/logs/summary
    else
    echo "${fs} unmount failed" >>/tmp/logs/summary
    fi
    if ufsdump 0uf prddb:/dev/rmt/0n ${fs} >${log}.${fn}.${dt} 2>&1
    then
    echo "Full Backup of ${fs} completed successfully" >> /tmp/logs/summary
    else
    echo "Full Backup of ${fs} failed" >> /tmp/logs/summary
    fi
    if mount ${fs}
    then
    echo "${fs} mounted successfully" >>/tmp/logs/summary
    else
    echo "${fs} mount failed" >>/tmp/logs/summary
    fi
    done
    echo "Full Backup of all DB file systems Complete" >> /tmp/logs/summary
    Also the dailybkupfs file has the following contents->
    /u01
    /u02
    /u03
    /u04
    /u05
    /u06
    Now to include /u07 partition for backup, I just need to include the /u07 partition in file dailybkupfs.right?
    Thanks
    Anmol

    I am concerned that the config file resides in /tmp.
    That filesystem normally gets cleared if the box reboots.
    So as far as I can tell, if your box is rebooted, the backups stop working..

  • How to move user from one partition to another partition

    i install ims 5.2 on solaris 8, the messagestore is default ..../partition/primary, now i add a new disk, and add a partition secondary through startconsole,when i want to move b user to the new parition , i get a error. anyone can help me, thank a lot
    $ ./mboxutil -r user/b/inbox user/b/inbox secondary
    System I/O error. Administrator, check server log for details.
    $

    hi,jay_plesset
    i downloaded the 5.2p1 and installed it, there are some error.
    Running Post-install procedures.
    /usr/iplanet/server5/msg-ultra1/imsimta chbuild
    -- line #3 of language code fileno country name specified --
    /usr/iplanet/server5/msg-ultra1/imsimta cnbuild
    07:27:11.93: Error in mm_init -- error initializing ch_ facility: no country nam
    -- line #3 of language code file
    /usr/iplanet/server5/msg-ultra1/imsimta cleandb
    /usr/iplanet/server5/msg-ultra1/imsimta version
    SunOS ultra1 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-1
    iPlanet Messaging Server 5.2 (built Feb 21 2002)
    libimta.so 5.2 (built 15:07:23, Feb 21 2002)
    New Installed Version is 5.2
    WARNING: Newly Installed revision string 0 does not match, it should be 1.09
    2.what's your mean,"Moving a user's partition by manually moving files, will not update the LDAP database. You MUST do this manually, "
    i mv the user,and run reconstruct -m, everything seems ok.

  • I have just reinstalled Win7 on my computer and now it won't recognize my iphone4s. What do I do to fix this problem?

    I have just reinstalled Win7 on my computer and now it will not recognize my iphone 4s. I have checked my computer and everything seems fine. What do I do to get this thing working?
    redmitch52

    if your phone is recognized on another computer, you should follow these steps:
    http://www.apple.com/support/iphone/assistant/itunes/
    Good luck

  • Just started getting an APS Daemon.exe-System Error saying my MSVCR80.dll file is missing.  I tried to reinstall itunes, but got another error message.  Anyone having this problem or know how to fix it?

    Just last 2 days started getting an APS Daemon.exe-System Error saying my MSVCR80.dll file is missing when booting up my PC with Windows 7.  I tried to reinstall itunes, but got another error message.  Anyone having this problem or know how to fix it?
    I now see the message from tt2 and will try that.  Thanks!

    Read this:
    MSVCR80.dll missing, cannot install iTunes

  • My firefox has stopped working with my comcast email. It is loading fine on safari but it is no longer loading my email in a timely manner. Comcast says it is a firefox problem. They suggest I uninstall and reinstall firefox. Do I just drag everything to

    My firefox has stopped working with my comcast email. It is loading fine on safari but it is no longer loading my email in a timely manner on firefox. Comcast says it is a firefox problem. They suggest I uninstall and reinstall firefox. Do I just drag everything to the trash and download a new version? in English
    == URL of affected sites ==
    http://
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites that cause problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Can I install Calendar Server on another partition other than root file system

    Can I install Calendar Server on another partition other than / ?
    <P>
    In this version, the default path is hard coded to install in
    /users/unison. However, if you do not have enough room on your root
    partition or choose to install it in another location, you can do so
    using a logical link. The installation guide explains this as well.
    <P>
    For example, suppose you want /users/unison, which must NOT already
    exist, to be logically linked to /var/opt/unison, which must exist.
    Then as root user:
    <P>
    <UL>
    <LI>
    Create the directory /users (if it does not already exist)
    <P>
    % mkdir /users
    <P>
    <LI>
    Create the logical link. The directory /users/unison must
    NOT exist before doing this.
    <P>
    % ln -s /var/opt/unison /users/unison
    </UL>
    <P>
    <P>

    makes a lot of sense.  I am looking for an answer myself.  My documents folder long ago outgrew it's place on the boot drive.  It would be nice to keep it in the user folder organized on another disc

Maybe you are looking for

  • Can you create a icloud account on a device.

    Hi all, I have a family mobileme account which I'm primary on it, and each of the family members have either iphone's or ipad's associated with it, and have either macs (snow lepard or lion) or windows (xp, or win 7) computers. And since MM is going

  • J2SE Installing on XP Home Freezing UP

    J2SE v1.4.2 and Netbeans IDE 3.5.1 Installer Freezes up at: Preparing J2SDK 1.4.2 components for installation 8% This occurs either when installing over net "Open" and when installing from hard drive "save" Have disk space and administrrator privledg

  • Publishing of the translation for an Iview fails without any notice

    We face the followoing problem with an custom IView in SAP portal: The publishing of the translation for an Iview fails without any notice it only works directly after the IView was deployed. The translation is done by first generating the translatio

  • INTERFACE : Purchase Requisition Create

    Scenario :- User giving the relevant data from a third party software. Then this software pass the data to  sap system and the Purchase Requisition is created . Then the Purchase Requisition Number is send back to the Third party software. Steps take

  • Office v.X Applications - Cannot open after migration to new MBP

    Used target disk mode to move all files from G4 Titanium PowerBook running OS 10.4.7 and cannot open any Office v.X applications. MBP 15-inch   Mac OS X (10.4.7)   2 GB RAM