Remove package from local IPS repository

I published a custom package to my local IPS repository, but I would like to remove it. Obviously you can use pkgsend to add to the repository, but I can't seem to find any option to remove packages.
anyone had luck with this? is it even possible?

That functionality is not present in Solaris 11 Express. A kludgey way to do it, though, is to remove the package from the repository's pkg directory, then rebuild the catalog. However, the files belonging to the package will still be around in the files directory. They just won't be accessible.
-- Alan

Similar Messages

  • Copy custom package between local IPS repositories

    I seem to be having a problem copying a custom package from one local IPS repository to another. Both repositories are on the same server, but are set with different publisher names.
    I used the pkgrecv command like so, to copy the package:
    pkgrecv -s http://custom_repo1/ -d http://custom_repo2/ '*'
    custom_repo1 only contains 1 package, so the output shows "1/1" items completed (except the GET and SEND colums show zero).
    I rebuilt my search index, but I'm not able to search for the newly copied package. However when I run "pkgrepo -s http://custom_repo2/ info" it shows that it contains 1 package from the custom_repo1 publisher and 1 package published as itself (which is correct).
    Do I need to republish the copied package in order for it to show up in the search query?

    That functionality is not present in Solaris 11 Express. A kludgey way to do it, though, is to remove the package from the repository's pkg directory, then rebuild the catalog. However, the files belonging to the package will still be around in the files directory. They just won't be accessible.
    -- Alan

  • How to install packages from local folder

    Hi all,
    I have downloaded all arch linux packages from the following URLs:
    ftp://mirrors.kernel.org/archlinux/core/os/i686/
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/
    ftp://mirrors.kernel.org/archlinux/community/os/i686/
    and then have saved them to an external hard disk. Then I have attached that external hard disk to my system and packages are available in following folders:
    /mnt/external_hd/Arch_Linux/Core-OS/
    /mnt/external_hd/Arch_Linux/Extra-OS-1/
    /mnt/external_hd/Arch_Linux/Extra-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-1/
    /mnt/external_hd/Arch_Linux/Community-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-3/
    Now I want to install some or all packages from these folder with the help of pacman command. I am seeing that package corresponding to wvdial command is available in the /mnt/external_hd/Arch_Linux/Extra-OS-1/ folder. But how to use pacman command so that I can install wvdial package from that folder?
    In addition to this if I want to install ALL Extra Packages available in the folders /mnt/external_hd/Arch_Linux/Extra-OS-1/ and /mnt/external_hd/Arch_Linux/Extra-OS-2/ then how to execute the pacman command?
    Please send me step by step instructions so that I shall be able to install some or all downloaded packages.
    I shall remain thankful for this forever.
    Best Regards ...
    Pankaj Kumar

    Hi fukawi2,
    Thanks for reply and searching for my username on google. It is true that I am a freelance s/w developer but I am not installing Arch Linux for any client. I am installing it due to some other reasons. In fact I started working on Red Hat and then on Fedora when I was a student of bachelor degree course in computer applications. Then later I searched open suse and started using it. I am using open suse from its 10.1 version. However the recent version of this distribution has become much resource consuming. So I am in the need of a light weight linux distribution. And I encountered Arch Linux. Then I purchased its installation disk from an online shop and installed it on my system. But only text mode is working at this moment. Since I want to use X window and so I started to follow the syntax of pacman command. But it is connecting to internet. Since my internet connection is slow (average speed of 10kbps) and so I requested the same online shop to download all packages from Arch Linux repository and send them to me. Therefore now I am having all those packages in my local external hard disk drive in the folder mentioned in my first post. Now I want to install packages from these folder. And so in order to get help I have come to this forum.
    I have also followed the steps given on the pages https://wiki.archlinux.org/index.php/Pa … l_commands and https://wiki.archlinux.org/index.php/Pa … repository. But when I am trying to install a particular package using the following command:
    pacman -U wvdial
    then it is asking for a dependency. I know that  the dependent package in my local folder but why it is not being automatically taken by pacman command? Can you please explain it.
    That is why I am asking help only for customization and usages of pacman in order to install packages from local folder. But each member in this forum is only referring to long written manuals and not giving me exact solution which I think will involve four/five steps.
    Best Regards ...
    Pankaj Kumar

  • Can I legally remove packages from a JRE bundled with my Application

    Can anyone help me get clarification on whether or not I can remove packages from a JRE that I am bundling with my Java Desktop Application. The full JRE is 90+ megs, my application does not require all of that. It was my understanding that I could modify the JRE as long I left the copyright notifications in place and did not try to represent the JRE as something I created. The license agreement is vague, at best. I was looking for direction or legal statement that allows me to trim out unnecessary packages from a JRE that is bundled with my application.
    Thank you in advance for any input.

    The license agreement is vague, at best.http://java.sun.com/j2se/1.5.0/jre/README
    Java(TM) 2 Platform Standard Edition
    Runtime Environment
    Version 5.0
    =======================================================================
    Redistribution of the J2SE Runtime Environment
    =======================================================================
    NOTE - The license for this software does not allow the
    redistribution of beta and other pre-release versions.
    Subject to the terms and conditions of the Software License
    Agreement and the obligations, restrictions, and exceptions set
    forth below, You may reproduce and distribute the Software (and
    also portions of Software identified below as Redistributable),
    provided that:
    (a) you distribute the Software complete and unmodified and only
    bundled as part of Your applets and applications ("Programs"),

  • Remove package from Distribution Point

    I have been fighting with an OS deployment for the last day. The log was showing it was unable to find the package p0100001 which was my boot image. I eventually got it working as I failed to configure my boundary correctly. But it got me wondering...
    In SCCM 2007, it was pretty straight forward on how to remove packages from distribution points. But I still can't figure out how to remove a package, specifically a boot image, from a DP. I can view the distribution in the monitoring section and see the
    package successfully deployed, but what if I wanted to remove that boot image from the DP? How is this done. I'm sure it's staring me in the face, but I'm missing it. Thanks!

    I realize this is an old post, but I am dealing with the same issue regarding the removal of deployment package contents from Distribution Points.  After removing a Distribution Point from the Contents Locations tab on one of my Deployment Packages,
    how long does it take for the deployment package to be removed from the distribution point.  I have removed a large deployment package from a distribution point, but am not seeing any increase in the available free space.
    Any help would be appreciated.
    Muskie
    Muskie

  • Install all packages from a given repository?

    Is there a way to install every package from a given repository? For example, say I wanted to install every package from core (or at least every non-conflicting package, since systemd-sysvcompat is an issue)? I thought maybe something like '# pacman -S core' might do it, but it didn't.
    Back when AIF was still around, I could do this by checking everything at install time, but now it's a multi-step process to collect all the packages and then install them.

    For me, I found I was using most of what was in [core] and it was easier for me to just install everything in it than to weed out the handful that I didn't need. Yes, I know there are _that_ many packages in [core], I'm just _that_ lazy.
    In another scenario, I could see someone wanting to have an uber-system with absolutely everything possible and available installed. I used to do this a few years back with distros like Fedora where I would do a complete install.

  • Display packages from category X, repository Y on commandline

    Yesterday I set up my first arch system. After fiddling around with the boot disks I managed to install via PXE. After I had it working there were no problems with the installation at all. I installed only the base system as suggested by the installer. Now the question: How can I display the packages from category X, repository Y on commandline, for instance all Editors in repository Current.
    The command
    pacman -S -g
    only shows a subset, like xfce4, gimp. Or do I misunderstand anything?
    Cheers
    Dennis
    EDIT
    Because of confusion I edited my question to make it clearer what I like to do.
    Last edited by stb (2007-03-13 21:25:05)

    There are no real categories in the repository.. just repositories.
    To search for keywords on packages, use
    $ pacman -Ss searchterm
    for example..
    $ pacman -Ss term
    would bring up things like aterm, rxvt, gnome-terminal..etc.
    the groups (-g) are for installing collections of packages. think of the things in -g as meta-packages...
    Like installing all of gnome in one command..
    $ pacman -Sg
    What is in the gnome meta package?
    $ pacman -Sg gnome
    gnome
    control-center epiphany gnome-applets gnome-backgrounds gnome-common
    gnome-desktop gnome-icon-theme gnome-media gnome-mime-data gnome-mount
    gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus
    yelp
    oh look..gnome..i want that...
    $ pacman -S gnome

  • 10g: Cannot remove package from "model" (business components)

    Using the new 9.0.5.1 JDev. I have removed all of the object in a package.Security package, because i did not want the capital letter in the package name (suspected of causing some other problems in my workspace). I cannot create a package.security package at all now. after just browsing the project defination, and looking in some other xml files, I see that the package is still defined all over the place, even without files in it.
    Why is this persisted? Shouldn't it be cleaned up when the last file is removed?
    Or at least, shouldn't I be able to remove it from my project without hacking all the XML code?

    package is an illegal name for a package in Java, I believe, so let's assume you started with "test.Security" package name.
    I filed Bug# 3574928 for the problem that exists in trying to "Move to Different Package..." if the destination package only differs from the target package by a different of case.
    The workaround in the meantime is to:
    1. Shift-select components in "test.Security" package and right-mouse "Move to Different Package...".
    2. Use a package name temporarily like "test.security2"
    3. Do "View | System Navigator" to see the System Navigator.
    4. Use System Navigator to erase the "test.Security" package by clicking on the BC4J package and right-mouse "Erase from Disk..."
    5. Close the project, and reopen it.
    6. Shift-select components in "test.security2" package and right-mouse "Move to Different Package...".
    7. Specify "test.security" as the target package.

  • [solved] remove packages from a txt file list

    as the subject header says, I want to run "pacman -R" and have it read a list of packages from a text file.
    Is this possible????
    text file is formatted as such....
    file1
    file2
    file3
    Last edited by orphius (2013-07-09 08:11:53)

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

  • How to make a ARCH package from local folder?

    hello ARCH lovers
    I can't seem to figure out how to make a installable
    package from a folder on my desktop?
    Coming from Slackware; the procedure would be simple enough just issuing
    "makepkg /root/pkgname.txz"
    Now; how would I do the same in ARCH?
    I know about PKGBUILD, etc but there is no source or any url's
    I just need to make it into a .pkg.tar.xz
    The package is my "kernel-live-kit" for both x86 and x86_64 versions of arch
    enabling one to remaster there existing install into a livecd/usb, etc
    The kernel itself is kernel26-zen from AUR
    http://aur.archlinux.org/packages.php?ID=30330
    however; mine is quite different and also includes all components to make the livecd using modified linux-live-6.3.0
    scripts and special stuff
    The pkg includes a premade kernel with modules and full kernel source
    The resulting live media is similar to my nFluxOS builds
    http://multidistro.com/
    As I will be releasing the new four horsemen of nFluxOS today; I also made 4 Kernel pkg's for the arch and slack versions
    Those will be for x86/x86_64 versions for both arch and slackware
    I did this in lieu of creating a quartet of x86_64 versions of nFluxOS; as that would up the number of versions to 8
    and I would then have to maintain 8 distro's instead of 4.
    I made a testing version of ARCH x86_64 live
    http://www.linuxquestions.org/questions … ost4017796
    so, I really need to make the ARCH x86 and x86_64 kernel kits into installable pkg's because there are many symlinks that would get corrupted if I just tarred it and then the end user untars it and copies it somewhere it would mess up the symlinks.
    as I said, in slackware I do makepkg and it creates a script named "doinst.sh" that makes all the symlinks, etc
    so, any help appreciated!
    thanks

    You can read a simple introduction to using the ABS here.
    By the way, it's not hard. Out of all the distributions I've used, Arch Linux is the only one I've figured out how to make packages for.

  • Can't install packages from local repository created with repo-add

    I did the following
    repo-add /mnt/packages/repo.db.tar.gz /var/cache/pacman/pkg/*
    cp /var/cache/pacman/pkg/* /mnt/packages
    on one computer
    connected the hard drive to another computer and did the following:
    added the pacman.conf configurations as follows
    [repo]
    SigLevel = PackageRequired
    Server = file:///mnt/packages
    then ran
    pacman -Sy
    which worked.
    and then I tried to install a package using pacman -S.but all the packages give me :
    error: packagename: missing required signature,File:///var/cache/pacman/pkg/packagename is corrupted(invalid or corrupted package(PGP Signature))
    then i tried:
    pacman-key --init
    pacman-key --populate archlinux
    pacman -Syy
    which didn't work and made no difference.what can I do?

    anatolik wrote:
    One thing that comes to my mind is that repo directories have *.sig files next to the packages, see file structure here http://mirrors.kernel.org/archlinux/testing/os/x86_64/
    But cache directory /var/cache/pacman/pkg/ does not have these sign files and it is why pacman complains. Where to find the sign files locally? I do not know the recommended way, but I see that /var/lib/pacman/sync/$REPO.db contains signature information, so you can write a script that extracts it.
    Or you can use `repo-add --sign` and sign packages with your key, but it is not very secure.
    PS Instead of using repo-add you might want just use repo files from /var/lib/pacman/sync/
    I will try the above and report.
    but it shouldn't be necessary according to https://wiki.archlinux.org/index.php/Pacman_tips

  • IPhone would not let me delete individual song from library, tried deleting album to remove music from local storage, now certain songs from album do not show in iTunes match on iPhone only on computer

    Upon completion of matching and uploading my very large library of music (+15,000), I wanted to see how iTunes Match worked on my iPhone. I started it and selected the first album in the list to listen to. I let it play the entire album and then decided that I wanted to remove certain songs off of the iPhone's local storage. Tried to delete the individual songs and it would not let me. So I figured that I would go back and just delete the album. After selecting delete I went back to listen to one of the songs on the album and realized that it deleted several of the songs from the iTunes Match completely. When pulling iTunes up on my computer the songs are still there but does not give me the option to upload to iTunes Match.
    I have tried turning off Match on iPhone and back on (doesn't seem to do anything cause when turned off the iPhone still displays the music.)
    Then tried power cycling. (Still shows the music)
    Then I tried power cycling again and resyncing the phone and the iPhone still shows the music as it was on the phone.
    How do I get the music to be accessable on the iPhone again.. I have been messing with this for the course of 3 hours now.. and any help would be appreciated!!
    iPhone 3GS 8GB

    Actually Michael I know exactly how to delete.. The iPhone would not let me swipe to the left to delete the individual song, so I went to the album view and did it there.. The issue I am having is a bug because it removed 3/4 of the albums availablity off my iPhone.. You post proved no help because it is basic troubleshooting which, if you read my post, I have already done.. I did however figure out how to fix my issue on my own.. Basically I had to remove the album from my iTunes on my computer and upload it again to iTunes Match..

  • Deleting removed packages from ABS

    Over the course of the year, I have used sudo abs to keep a back up copy of my packages that were installed.  And of course some packages were removed via pacman, but their "ghost" is still in the /var/abs/ folder
    Is there a way to delete from /var/abs/ packages that are no longer installed in my system?

    Trilby wrote:
    3xOSC wrote:I have used sudo abs to keep a back up copy of my packages that were installed.
    And how did you do that?  Abs, by default, does not just get PKGBUILDs for packages you have installed, but for all packages in the repos (unless you specify a specific package on the command line).
    EDIT: I'm not sure it's relevant, but abs does not help keep backups of anything - it just retrieves current PKGBUILDs (and .install files) for repo packages.  Packages are kept in /var/cache/pacman/pkg/ - but this has nothing to do with abs.
    I did it by running sudo abs.
    And you are correct, it does get PKGBUILDS for the packages, not all of them.
    I thought what abs did was, take a look at the current version of the package of, say, ncmpcpp, and when you run sudo abs, it copies the PKGBUILD of the current version of ncmpcpp to /var/abs

  • Problem removing package from AUR

    hi, ive been using avant window navigator, the bzr version from the AUR.  after a system update it stopped working and i want to try something else out anyway, but when i try to remove it i get
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: awn-extras-bzr: requires avant-window-navigator-bzr
    is there a way i can manually delete it?

    pacman -Rsc avant-window-navigator-bzr
    That will remove avant-window-navigator-bzr and anything that depends on it.

  • Permanently remove package from AUR/yaourt updates

    I've installed grub-git manually from the AUR, because I needed to patch it in order to get the intel graphics working on my MacBook. https://wiki.archlinux.org/index.php/Ma … _on_11.2C3
    I usually use yaourt -Syua to keep my system up to date. Now yaourt offers me a new version of grub-git every time I update and the patch that I applied would get removed. Is there a way to remove grub-git from the list or to ignore it permanently?

    Thanks for the answer.
    Well it worked in a way, as it now tells me that its orphaned...
    I can live with that, if there isn't a more elegant way.

Maybe you are looking for

  • Error while assigning Vo attribute dynamically.

    Hi All, I am creating advance table dynamically where i am assigning vo attribues to the items dynamically based on some setup. For few columns i am getting the following exception and for others its working fine. Please let me know what is the cause

  • Cannot automatically connect to wi-fi after restart

    Hi all, I just set up my E1200 router to my PC running Windows 7 and it works perfectly in my house, except that after I restart or power off my computer, I have to manually reconnect to my wi-fi network everytime and re-enter my password. The check

  • CProjects integration with R/3 HR issue

    Dear All, We are replicating the HR details to cProjects (CRM) system. The replication was happening fine and while the employees(resources) getting replicated to the cProjects system, a Business Partner (BP) number will get generated automatically f

  • What characters are allowed in an Apple ID Password?

    My mom has "changed" her password because she said she was asked to when logging into Facetime. Now she can't log in. When I asked her what it was, she read to me and it had both a space and a period. I don't believe those are accepted. I tried to lo

  • Fiscal Week and Fiscal Variant Creation in BW

    Hi, I have a 2004s system that is not connected to an R/3/ECC client.  The data comes from a SQL Server Database.  We need to report on a fiscal week basis and not a calendar week. We have a seperate calendar week that finance uses, but operations us