Repo-add [custom] database need to REMOVE old packages ? script to do?

I believe it is still needed to create the custom database to use local packages and not have to do pacman -U [full-file-name]
Doing this with repo-add (as mentioned in wiki 'pacman tips' will have old packages added sometimes if there are duplicates.
How to remove older duplicates reliably?
Or is there a way to sync without creating custom database with repo-add. The wiki speaks of: Installing packages from a CD/DVD/iso
without mentioning any requirement of needing a database. I didn't understand how that would be possible just because the files are on DVD etc. I would expect the same 'old files in database' likelihood to exist also and as well cannot see how pacman would sync without a database.
Basically I have tons of duplicate files in my huge copy of files locally. Not really sensible to try to keep it with only current versions so I thought there would be a guru's script to do this.

Two things I attempted to touch on tomk.
http://wiki.archlinux.org/index.php/Pacman_Tips
Installing packages from a CD/DVD/iso
I thought there appeared to be no mention of need for a custom database infering that the dvd/CD/iso would sync with pacman -Syu however the files were on there I guess it would be.
Custom local repository
Where this wiki page says in this Custom local repository 'repo-add' paragraph, that there's no way to assure that the latest packages will be added.
The last argument will add all pkg.tar.gz files to the repository, so be careful. If having multiple versions of a package in the directory, it is unclear which one will take precedence and end up in the repository.
As I had a not so understood experience I wondered if there were old packages in there as I got a message saying that local was newer than database or something when I tried to pacman -Syu with this local database I'd created. Something like that anyways, definitely not working right though not assuming I'm accurate in describing or guessing or methodology.
I could be half asleep so apologies for not been my detail-freak self here.
P.S. I started out with TONS of older version when I tried to create a good database.
Last edited by yvonney (2010-06-28 09:01:35)

Similar Messages

  • UP DATE ASKING REMOVE OLD PACKAGE INTELL PROSET WIRELESS WIFI WINDOW 7 .

    .Can not uninstall intell proset wireless give code ERROR 1721BTHEREIS A PROBLEM WITH THIS WINDOWS INSTALLER PACKAGE . A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN. CONTACT YOUR SUPPORT PESONNEL OR PACKAGE VENDOR. ACTION: UNINSTALL BTH MANAGER SERVICE.93C36222_AF02_47D,,, HP PAVILION DV7 ENTERTAINMENT PC WINDOWS 7 HOME PRE, CORE I5. HP UP DATE NEED TO UNINSTALL OLD PACKAGE BEFOR NEW INSTALL. PLEASE HELP WAS WORKING FINE UNTILL UP DATE FROM HP........

    Hello 73fixit,
    I would like to assist you with resolving this error. I recommend downloading and saving Microsoft Fix it onto your Desktop (If it doesn't give you the option, then it should be in your downloads folder.  Once it is saved then follow these steps:
    Click on the executable file that was saved from before.
    Accept the terms.
    Select "Detect problems and apply the fixes for me (Recommended)."
    Select "Uninstalling"
    Select the "Intel(R) PROSet/Wireless WiFi Software"
    Select "Next"
    Select "Yes, try uninstall"
    Select "Next"
    Select "I don't know if the printer has been fixed"
    Select "Next"
    Select "Cancel"
    Restart the computer.
    Check to see if this resolved the issue.
    Thank you,
    I worked on behalf of HP.

  • I added your recommended ad ons when upating new Firefox version. I need to remove the "no scripts" plus others. No scripts is screwing up many of my work sites, and some normal things I can not open or download.

    When downloading new version of Firefox, I added recommended ad ons. Need to remove especially "no scripts"

    You can disable or remove Noscript easily, See:
    * https://support.mozilla.org/en-US/kb/Uninstalling%20add-ons

  • FBL3n tcode output i want to add customer filed, need details steps

    Hi All,
    I want to add customer number to the output for the tcode FBL3n, Kunnr(ZZkunnr) added to RFPOS and RFPOSX structures, and then regenerating the RFPOSXEXTEND program and added this entry in the table T021S. after that written coe in the BTE 00001650.
    But while regenerating the RFPOSXEXTEND program I am getting error - END OF PHASE 002 with Message No D0 322.
    Can you give me the right steps.
    Regards
    Ajay.

    Hi Ajay,
    Please check special fields definition table T021S and check that
    fields are correctly defined. Review that 'field names' and
    'table name' are filled and input correctly.
    Please also review notes 984305 and 215798.
    RFPOSXEXTEND is aborted with error message D0 322 because of wrong
    entry in T021S.
    Also check the following wiki page:
    http://wiki.sdn.sap.com/wiki/display/ERPFI/VendornameFBL*N or
    http://wiki.sdn.sap.com/wiki/x/fg3cCw
    Also I recommend you to check the following thread:
    Vendor & Customers in FBL3N
    Kind Regards,
    Fernando Evangelista

  • Do I need to remove old drivers before installing new ones (Windows XP)

    I have an  Acer Aspire 3690 laptop with Windows XP home edition installed. I've reinstalled the OS by using recovery tool, updated it again. I want to finish setting my laptop up by updating some drivers, mainly chipset and GPU. I've already found that newer ones are availabe. But do I need remove the old drivers first to avoid any problems in the future? Or do I just run the setup executable of every driver?

    Run the setup and check if the new one are installed; if not remove the old drivers and install the new.

  • AirPort Extreme w/ USB Disk -  Need to remove old configuration

    I have an external 500Gig USB drive that I have connected to my AirPort Extreme which was formatted FAT32. The drive works fine and I had no problems setting up the AirPort to use it as a shared drive. However, I realized that having the drive as FAT32 will cause me issues if I want to transfer a file bigger than 4Gig.
    To correct this I unplugged the drive and reformatted it into 2 partitions. The first one is a 100Gig NTFS partition and the other is a 400Gig HFS+ Journaled partition. If I plug the USB device directly into a PC or Mac, it recognizes and mounts both partitions properly. Using Disk Utility on the Mac it correctly labels and shows me the partitions with their formats. However, when I plug the drive back into the AirPort Extreme, it does not recognize the new partitions and shows me the old configuration of the drive as a 500Gig FAT32 drive.
    Is there some way I can remove the old drive configuration from the AirPort without having to reset the AirPort back to factory settings and reconfigure the whole router? I am thinking that if I can do this it will rescan the external drive and see that the partitions have changed allowing me to reconfigure it in the AirPort.

    We've seen a number of posts on the forum about Iomega drives not being recognized. Might that be what you are using?
    By power cycle, I mean that you power down the entire network for a few minutes. Then start the modem first and let it run for a few minutes, then start the AirPort Extreme if that is attached to your modem and let it run a few minutes, then start the attached drive and let it run a few minutes and finally your computers.
    Otherwise, if you don't have any valuable data on the drive, I would reformat it in Mac OS Entended (Journaled). To do this, you must attach the drive to your computer and open Disk Utility. It's located Hard Drive > Applications > Utilities > Disk Utility.

  • Need to remove old email account

    An old gmail account shows up on my Torch 9800 in Setup-->Email Accounts as an Enterprise Account. It also appears as an Enterprise Activation icon on my Torch screen. Finally, it appears on Contacts-->Select Contact List. This gmail account was once on my Torch as an Internet Mail Account, but I deleted the account (from gmail and from the Torch). It no longer exists as far as Google is concerned. It never was and never should never have been an Enterprise Account, and I don't know how it became one. How can I completely wipe this gmail account from my Torch? Thanks in advance.

    If you go to your phone's browser and follow www.blackberry.com/integrate , you should be able to deal with it from there.
    I hope that helps you. 
    EDIT:  OK, apparently that's good for adding an account but not for deleting one.  If you contact your carrier, they can either help you with it or can grant you access to their self-serve BIS site from where you can take care of your email account(s).
    There.  I hope THAT helps you. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Oracle 10gr2 XE. - Custom Install - Need Help Install Apex Package

    Hello Experts,
    I built a CUSTOM install script for Orage 10gR2 XE with a different dbname. dbblock, ...
    After a lot of issues (seed db, tns errors, no autostart db, ...) and solved by posts found here,
    The new database is mounted and working in console mode and Ole DB/Odbc.
    In the custom script, here are the two Data Dictionnaries packages I've used :
    -- Create Datas Dictionaries
    @%ORACLE_HOME%\rdbms\admin\catalog.sql ;
    @%ORACLE_HOME%\rdbms\admin\catproc.sql ;
    I'm looking for the package name to install for using Apex (http://locahost:8080/apex) like initial instance XE.
    I've tried installing package DBMSXDB.sql (connect / as SYDBA) ... but getting lot of errors
    Thanks for help,
    AlxK

    kfakfa wrote:
    Hello Experts,
    I built a CUSTOM install script for Orage 10gR2 XE with a different dbname. dbblock, ...Not a very smart thing to do. XE software supposedly has the SID hard-coded and your action may result in some incorrect operation of the code.
    >
    After a lot of issues (seed db, tns errors, no autostart db, ...) and solved by posts found here,
    The new database is mounted and working in console mode and Ole DB/Odbc.Yes, that is possible. But at some time, it may not work correctly.
    >
    In the custom script, here are the two Data Dictionnaries packages I've used :
    -- Create Datas Dictionaries
    @%ORACLE_HOME%\rdbms\admin\catalog.sql ;
    @%ORACLE_HOME%\rdbms\admin\catproc.sql ;
    I'm looking for the package name to install for using Apex (http://locahost:8080/apex) like initial instance XE.
    I've tried installing package DBMSXDB.sql (connect / as SYDBA) ... but getting lot of errorsExpect errors and expect inconsistent operation after you get it installed.
    But the instructions for installing Apex are in the Apex home page. Go to http://otn.oracle.com and drill to the Apex home page by going to Products:Development Tools (left edge) and finding Application Express on that resulting page.
    If you are going to potentially violate your agreement or leave the system in an unreliable state, why not simply use the Enterprise Edition?

  • Help! Need help with preflight package script

    I am trying to write a package with Iceberg to push Office 2004 to 250 Macs. I need a preflight script with a condition that will stop my script if /Applications/Microsoft Office 2004 exists OR if OFFICE 2004 exists. Don't know if searching on the folder name is the best or if there is better way
    If it doesn't exist I want it to continue with with placing Office 2004 in the /Applications folder.
    I don't know how to do conditions (If, then, end)
    PREFLIGHT SCRIPT
    IF /Applications/Microsoft Office 2004 folder exist = STOP
    IF /Applications/Microsoft Office 2004 folder doesn't exist continue with laying down files/folder in the package.
    LAYDOWN FILES
    LAY DOWN FILES IN ICEBERG FILE SECTION OF THE PACKAGE
    POSTFLIGHT SCRIPT
    #!/bin/sh
    #Change to root directory
    cd /
    # Move Microsoft Office X folder to Messages Received folder
    mv /Applications/Microsoft\ Office\ X /Messages\ Received
    #Open Office 2004 Installer
    open /Applications/Utilities/Installers/Office2004Installer
    ALL Mac OS X (10.4.6)
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  

    A simple condition (not using iceberg) would be:
    #!/bin/sh
    if [ -e "/Applications/Microsoft Office 2004.app" ]
    then
    echo "Microsoft Office 2004 exists, aborting installation"
    exit 1
    fi
    open -a "/Applications/Utilities/Installers/Office2004Installer"
    If Microsoft Office 2004 is installed then the script will exit with a message. If Microsoft Office 2004 is not there then the last line will be executed and the installer will open.
    PowerBook G4   Mac OS X (10.4.8)   MacBook Pro

  • [SOLVED] repo-add replaces newer version package with old ones

    Say I have two versions of nspr.
    $ ls -1 nspr*.pkg.tar.xz
    nspr-4.10-2-x86_64.pkg.tar.xz
    nspr-4.9.6-1-x86_64.pkg.tar.xz
    When I run repo-add on both of them, version 4.9.6 will be the one remaining in the database.
    $ repo-add custom.db.tar.gz nspr*.pkg.tar.xz
    ==> Extracting database to a temporary location...
    ==> Adding package 'nspr-4.10-2-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.9.6-1'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Adding package 'nspr-4.9.6-1-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.10-2'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Creating updated database file 'custom.db.tar.gz'
    I think here the natural order should be used, something like
    $ repo-add custom.db.tar.gz $(ls -v nspr*.pkg.tar.xz)
    as this is the expected behaviour from most users.
    Last edited by luran (2013-10-07 23:43:21)

    karol wrote:When only one version of a package will ever be present in the db, why try adding more? Just pass the version you want. You can use 'ls -v' if you prefer, but I think it's the shell's interpretation of the wildcard and not repo-add to blame.
    Thanks for your reply. Now I agree repo-add should just process the files according to the order given by the shell.
    To anwser your question, I need to make a local repository regularly to be shared with my other machine, because I have a very limited Internet quota and the sharing roughly halves the downloads. Usally I just use the wildcard for all the packages in the cache, and it works fine as long as the package version does not jump to 10+ like the above example. 'ls -v' will do the job for me. Cleaning the old packages could be another option, but occasionally I need to revert some package back to an old version.

  • Best way to remove old data from db?

    Hi,
    I am looking some ways to keep my database small and remove old data from database and archive it somewhere else. the data may need to be put back to the database in the future. One of the things I am conserned is how to enforce constraints? In other words, when I remove data, all the related pk/fk data should be removed together. Any suggestions will be greatly appreciated.
    Thanks

    hope this may help u
    concept is : exp/imp & truncate will reclaim the space
    method1
    do an export and secure the dump(say dump1) for future purpose.
    delete the unwanted data.
    commit.
    now again export the tables ( say dump2).
    now do the import(dump2).
    /*now this import will reclaim the the unused space.*/
    method 2
    /* depennded on volume of data */
    -- create backup of existing table for future
    create table backup_table nologging as select * from original_table;
    -- create copy1 of existing table
    create table copy_table nologging as select * from original_table;
    -- truncate the original table, so that highwater mark is reset.
    truncate table original_table;
    -- insert data from copy_table into original table
    insert /*+ APPEND */ into original_table select * copy_table where(ur conditions for data);
    commit all the work.
    /* now u have 3 tables
    backup_table - with all the data - for future reload
    original_table - with unwanted data deleted and space reclaimed.
    copy_table - copy of original table.
    now u drop the copy_table
    drop table copy_table;
    regards

  • Removing old itunes

    Ihave Windows XP service pack 3 with Itunes for my I phone. I tried toupdate to new itunes and now nothing works. I can not remove old itunes neither install new itunes 10.00 when I click on itunes I get 3/4 black screen.
    would appreciate help.
    [email protected]

    For those who may have similar problems, I answer my own query:
    I was stymied. Tried to load the software from CD
    that came with the nano. It halted and advised that I
    need to remove old versions.
    Questions:
    + Do I need to backup my current playlists (i.e.
    will they be "deleted" if I uninstall old itunes)
    Answer: NO. Itunes stores library in My Music folder. But the backup procedure is described in support
    + If so, how does one reinstall playlists? n/a
    + Why can't I remove the old ipod software (the
    remove/change procedure seems to leave the old
    softwhere right where it is even though acknowledging
    the process)
    Answer: I finally tried doing a search for "ipod" and then right clicked and chose "uninstall". That did the trick
    + If I have version 6 of itunes, do I really need to
    install new software?
    Answer: Don't know, but did it anyway
    + and, finally, if anyone has an abundance of time on
    their hands, care to provide a step-by-step on how to
    uninstall old and install new nano/itunes software?
    Answer: It's on the support site
    Appreciate your time,
    Best Regards,
    PeterJ

  • HT201269 I purchased an iphone 5s, replacing my iphone 4.  I purchased it at Verizon wireless store and theyactivated the phone for me there. Do I need to remove my old iphone and add my new one to my itunes and apple account?

    I purchased an iphone 5s, replacing my iphone 4. I purchased the new iphone at a Verizon store and they activated my new iphone there. Do I need to remove my old iphone from my itunes/ apple account and add the new phone ? I do not see the iphone 5s listed on the devices in my itunes yet.

    speck1 wrote:
    I purchased an iphone 5s, replacing my iphone 4. I purchased the new iphone at a Verizon store and they activated my new iphone there. Do I need to remove my old iphone from my itunes/ apple account and add the new phone ? I do not see the iphone 5s listed on the devices in my itunes yet.
    Connect your new phone to your computer using the USB cable and it should appear in iTunes. If it doesn't you will need to troubleshoot. Then see: http://support.apple.com/kb/ht2109

  • HT5621 I Have followed all the steps and still cant remove iCloud to my existing account and add to the new one, the old email account was changed a year ago and cant get that email plus the password don't work please HELP!!

    I Have followed all the steps and still cant remove iCloud to my existing account and add to the new one, the old email account was changed a year ago and cant get that email plus the password don't work please HELP!

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone".
    You should then change your Apple ID back to its current state, verify it once again, delete the iCloud account from your device and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • How to remove old NI Imaq if it is not in add remove programs

    I am upgrading from 6i to 8.o fo rlabview and vision development module.
    I need to remove my old IMQ before the new one will install.  It is not listed in my add/remove programs.  How do I remove it?

    Hi rscconrad,
    IMAQ 2.5.1 was a subcomponent of the LabVIEW installation and will reinstalling LabVIEW to remove the component. 
    Uninstall LabVIEW 6.x using Add/Remove Programs. This will remove the previous version of IMAQ.
    Install LabVIEW 6.x (or if possible, just install LabVIEW 8.0).  You will need to customize the 6.x installation so that IMAQ 2.5.x is not installed.
    Proceed with your upgrade.
    I hope this works for you.
    Regards,
    RyanF
    Message Edited by RyanF on 01-26-2006 02:07 PM

Maybe you are looking for

  • BB 8130 Error while Updating OS in Device Manager

    OK, Hi everyone say hey to the new guy, now help him out! I was just trying to update my BB 8130 with the Alltel 4.5 OS and Device Manager 4.7, But while the program was in the stage of "Reconnecting to JVM," it closed the updater and said Error: Cou

  • URGH! Make clipping mask/path out of a placed image?!

    I'm having major issues. I'm a n00b at Illustrator, though. I need to make a placed photo into a clipping path, and I can't figure out how to do it correctly. It's homework for a college course in Digital Illustration. I need to recreate a photo usin

  • Canvas.beginGradientFill not present

    According to this document: http://livedocs.adobe.com/flex/3/html/help.html?content=charts_eventsandeffects_13.html datacanvases on charts have the beginGradientFill and endGradientFill methods. I am trying to use the CartesianDataCanvas.beginGradien

  • Address Book missing from Running Applications

    I run Address Book and "Open at Login".  I'm running MacOS X Lion 10.7.4 and Address Book 6.1.2 on a MacBook Pro.  I have just recently noticed that though the Dock shows the little blue indicator that Address Book is running and the Ctrl-TAB shows t

  • When I plug in my I-pod Nano I get an error message

    My I-pod will not charge and there is an error mesaage saying "Unsupported Accessory is not supported"