[SOLVED] Package without URL

Hello everyone!
I've made a very small package. It's made up of only two files (two small shell scripts), so I added them along with the PKGBUILD in the source tarball. I don't have a server to host the files, nor would I like to set up one (or register somewhere) to just store three kilobytes. So, my PKGBUILD has no url variable.
I've looked in the official guidelines, at the wiki, and it just says you have to put an URL. What should I do, then?
Thanks in advance. Best regards,
Kalrish
Last edited by Kalrish (2013-06-23 18:00:19)

I'm with Scimmia, but have additional reasons: size isn't the only relevant factor.  When packages do contain some form of code in the aur tarball (patches, install scripts, etc) it is (or should be!) only because the upstream source of the original source code (and/or installation procedure) is incompatible with arch linux.  So this might include a patch to put things in the right directory, or a script to go in /usr/bin/ to launch a binary put in an odd location.
But in this case you are the upstream source.  They're small ... so?  They're yours.  You don't need to fix someone else's work and include the fix in the tarball ... it's your work.
Also, github is handy for many other purposes.  And I can assure you they do not 'spam' you with any sort of adds, or any nonsense.  They also have *phenomenal* service reps.  I emailed a question one day and within hours I had a very courteous, clear, and complete answer ... and I'm not subscribing, just using their free service.  I avoid signing up for things as much as possible, but github is really just a great company/organization/site/whatever.
Last edited by Trilby (2013-06-23 18:04:00)

Similar Messages

  • Is there a way to add files to a package without repackaging in a new folder?

    So I'm working on this promotional binder for a company. I'm working section by section including photos and whatnot. Anyways, I got to a certain point with one section and packaged everything so I could start anew the following day.
    My question is this: is there a way for me to add files to the InDesign file I already packaged WITHOUT having to repackage in a new folder and archive the old one?
    I mean it just seems to me that I SHOULD be able to select the package option and the work would repackage/update the package, much like a Word file would when you select the save button.
    (And if there isn't, is someone at Adobe paying attention that could make this a possibility? That would be fantastic.)

    You can Add images to your package by using the Links Panel submenu (top right) and choose Utilities> copy links to...
    And you can select the images you want first - or don't select any to copy them all.
    Fonts - not so much.
    But that's one easy way to get new images into your packaged folder.
    But I don't like this to be honest. I much prefer creating a new Package and calling it "Version 2" or "Final Artwork" or something that is right by your file naming convention.

  • Can I get a text package without renewing my contract?

    I am currently out of contract and I want to stay that way however, my wife and I are starting to text and we currently pay per text.  I think it would be cheaper to get a text package than continue to pay per text.
    Can I add a text package WITHOUT locking ourselves in for another new 1-2 year contract? 
    Thanks in advance for your help.

    you can add/remove to text, data, ect
    you can change minutes
    the only thing that could happen is if you bought the phone at someplace like bestbuy/walmart/amazon/ect
    and are still under a contract you may get hit with an etf from them.  they often have a seperate contract you sign
    that says you wont change your plan within x number of days, the x varies by place.
    almost forgot you can also change to a talk/text plan
    700 min, 2 lines, unlimited text for 99.99
    or 1400 for 119.99

  • How do i uninstall applications and their packages without littering trashcan

    how do i uninstall applications and their packages without littering trashcan.
                                                                                                       *sincerly nube*

    OK. That wasn't clear at first. See the following:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper 2.0.1
        2. AppDelete 3.2.6
        3. Automaton 1.50
        4. Hazel
        5. AppCleaner 2.1.0
        6. CleanApp
        7. iTrash 1.8.2
        8. Amnesia
        9. Uninstaller 1.15.1
      10. Spring Cleaning 11.0.1
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • How to run ActiveX bridge packager without VC++

    Hello everybody,
    The ActiveX Bridge Developer Gude states that I have to
    install Microsoft Visual C++ 6.0 with SP3 to run the ActiveX packager.
    Is there a way to run the packager without installing MS VC++ on my computer?
    What components from VC++ are actually required?
    May be they can be found in other software?
    Thank you to anyone who give me a hint.

    I found the link below while trying to determing the same thing, but I have not actually attempted to get it working yet.
    http://forum.java.sun.com/thread.jsp?forum=40&thread=522688&tstart=0&trange=15

  • Help!!! How to get the recovery time of transient response of a power supply with Labview basic package without analysis option?

    How to get the recovery time of transient response of a power supply with Labview basic package without analysis option? Does anyone have any idea or some similar function SUBVIs?
    Recovery time of transient response is defined as the time from the beginning of the transient to the voltage point on the waveform fallen into 10percent of the overshoot. Well, the waveform is something like a pulse with a soft slope.

    I recommend plotting your data on a graph on paper. Take a look at the data, and determine what is unique about the point you are looking for. Look for how you can teach your program to look for this point.
    I have written several algorithms that do similar, one in fact being for a power supply, the other being for RPM. Neither algorithm used any advanced analysis tools. They are just a matter of determining, mathematically, when you achieve what you are looking for. Just sit down with your graph (I recommend multiple copies) and draw horizontal and vertical lines that determine when you get to the point you are looking for. You are probably going to have to reverse the array and start from the end, so think in those terms.
    If you have trouble, emai
    l me a bitmap of the graph, and what you are looking for and I will try to be of further assistance. Don't do that however; until you you have given this a few tries. Your solution should be involve a lot of logic on analog levels.
    Good luck

  • Installing packages without confirmation

    Pretty much what the title says.
    I want to write a script that downloads and installs packages without the need to confirm that I want to install those.
    I couldn't find anything in the wiki or the man page about this, could it still be done?
    Or do I have to submit a feature request?

    Inxsible wrote:
    man pacman wrote:
    --noconfirm
        Bypass any and all “Are you sure?” messages. It’s not a good idea to do this unless you want to run pacman from a script.
    Oh, I didn't see that at all, sorry about that.
    Thank you.

  • Replace libgl provider package without nixing my system

    I need to force replace nvidia-libgl with mesa-libgl on my desktop machine but I get a dependency issue from packages that list nvidia-libgl as a dep. I know that they function perfectly with mesa-libgl as that's what's set up on my laptop so logically it must be possible to switch the packages without having to recursively remove everything that requires a libgl provider.
    Is there a simple way to do this via pacman that I haven't spotted?

    I figured it might be something like that. It's curious because on my laptop right now I have the nvidia-ck-sandybridge package installed (from graysky's linux-ck repo) which lists nvidia-libgl as dependency despite the fact that the mesa-libgl package is installed instead and yet pacman doesn't seem to have an issue with that (presumably because they provide libgl).
    UPDATE: I think I've spotted the issue, bumblebee (for nvidia optimus based laptops) provides nvidia-libgl thus satisfying the dependency on my laptop whereas my desktop doesn't need bumblebee.
    This is kind of annoying because I think the nvidia-libgl update recently broke mono applications and I want to swap it out for mesa-libgl to test my theory.
    Last edited by tiberiousr (2013-11-20 10:15:32)

  • [SOLVED] unrealircd without ssl?

    Hey guys, I recently picked up a raspberry pi and decided to try out running archlinux for my needs which are basically a mumble server, unrealircd server and a web server.  I've run into an issue with unrealircd, one that's happened to me on windows as well. For whatever reason I can't get the configuration to work with unrealircd + ssl.  The second i install the non ssl server and run my .conf it's fine and i can connect. Is there a package without ssl? I'm still new to the whole pure command line linux and all that so i'm not sure how to easily browse the different packages.  So either if there's a non ssl package, or a way to disable ssl in the .conf would be lovely to know about.  Thanks guys!
    Last edited by hotlikedimes (2012-07-27 01:25:29)

    What error messages specifically are you getting with unrealircd and ssl? I don't remember that being much of a challenge to set up.
    Looking at my configuration file, just had to tell it where to find the certificate and key:
    set {
    ssl {
    certificate ssl.crt;
    key ssl.key;
    If you really want to disable it, try removing the "ssl;" line from the port configuration section and link section (not sure if anything else needs to be done, but that's the only references I can find to ssl).

  • [SOLVED]"The requested URL returned error: 407" while using pacman

    pacman worked fine until now. When I try to upgrade with
    pacman -Syu
    it returns what is written below even though internet works fine without problems(I'm posting from the same system using firefox)
    How can I get pacman working again?
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update community (download library error)
    error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
    error: failed to update archlinuxfr (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    Last edited by ebshankar (2012-02-19 08:08:59)

    hokasch wrote:
    What did you update? Are you using a proxy?
    You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.
    I tried to upgrade the system.
    I don't use a proxy. My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.
    Here is the output of "pacman -Syy --debug":
    debug: parseconfig: options pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: SyncFirst: pacman
    debug: config: arch: x86_64
    debug: config: SigLevel: Never
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: config: new section 'archlinuxfr'
    debug: config: finish section 'archlinuxfr'
    debug: config: finished parsing /etc/pacman.conf
    debug: setup_libalpm called
    debug: option 'logfile' = /var/log/pacman.log
    debug: option 'gpgdir' = /etc/pacman.d/gnupg/
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: parseconfig: repo pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: registering sync database 'core'
    debug: database path for tree core set to /var/lib/pacman/sync/core.db
    debug: adding new server URL to database 'core': ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
    debug: adding new server URL to database 'core': ftp://mirror.yongbok.net/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.yongbok.net/archlinux/core/os/x86_64
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: registering sync database 'extra'
    debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
    debug: adding new server URL to database 'extra': ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': ftp://mirror.yongbok.net/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.yongbok.net/archlinux/extra/os/x86_64
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: registering sync database 'community'
    debug: database path for tree community set to /var/lib/pacman/sync/community.db
    debug: adding new server URL to database 'community': ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
    debug: adding new server URL to database 'community': ftp://mirror.yongbok.net/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.yongbok.net/archlinux/community/os/x86_64
    debug: config: new section 'archlinuxfr'
    debug: config: finish section 'archlinuxfr'
    debug: registering sync database 'archlinuxfr'
    debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
    debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
    debug: config: finished parsing /etc/pacman.conf
    :: Synchronizing package databases...
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update core (download library error)
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update extra (download library error)
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update community (download library error)
    debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update archlinuxfr (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    debug: unregistering database 'local'
    debug: unregistering database 'core'
    debug: unregistering database 'extra'
    debug: unregistering database 'community'
    debug: unregistering database 'archlinuxfr'
    Last edited by ebshankar (2012-02-18 14:18:30)

  • [solved] package verification, some packages unverified

    Some of my packages seem to not be validated, they say
    Validated By : Unknown
    but after reinstall
    Validated By : Signature
    Some also say validated by md5 and sha, any idea about this inconsistency?
    sudo pacman -Qi zsh
    Name : zsh
    Version : 5.0.2-1
    Description : A very advanced and programmable command interpreter (shell) for UNIX
    Architecture : x86_64
    URL : http://www.zsh.org/
    Licenses : custom
    Groups : None
    Provides : None
    Depends On : pcre libcap gdbm
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 7216.00 KiB
    Packager : Pierre Schmitz <[email protected]>
    Build Date : Sat 22 Dec 2012 01:19:52 SAST
    Install Date : Tue 25 Dec 2012 11:40:48 SAST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Unknown
    I then ran,
    sudo pacman -S zsh
    so:
    sudo pacman -Qi zsh
    Name : zsh
    Version : 5.0.2-1
    Description : A very advanced and programmable command interpreter (shell) for UNIX
    Architecture : x86_64
    URL : http://www.zsh.org/
    Licenses : custom
    Groups : None
    Provides : None
    Depends On : pcre libcap gdbm
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 7216.00 KiB
    Packager : Pierre Schmitz <[email protected]>
    Build Date : Sat 22 Dec 2012 01:19:52 SAST
    Install Date : Thu 30 May 2013 12:32:08 SAST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature
    Is this because of the pacman upgrade to 4.1 earlier?
    pacman.conf:
    admin@russell-server ~ % cat /etc/pacman.conf
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    *Edit, sorry
    "validated by md5 and sha" as I said above came from running
    pacman -Si package
    as apposed to -Qi
    I got confused
    Last edited by jrussell (2013-05-30 10:43:17)

    Allan wrote:Packages installed with pacman-4.0 or earlier will not have their method of verification recorded.   That was added in pacman-4.1.   So "Unknown" means just that.  "None" is installation without checking signature or checksum.
    Cool, thank you!
    I got around this with
    comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) | pacman -S -
    from https://wiki.archlinux.org/index.php/Pa … d_packages
    Last edited by jrussell (2013-05-30 10:46:11)

  • How do I use bin variable in package without asking a user?

    hi,
    I would like to write an SQL but I want to use bind variable in package as a static without asking user? Like below?
    I would like to ask you, below there is a emp_id variable? Is this BIND variable?
    DECLARE
    bonus NUMBER(8,2);
    emp_id NUMBER(6) := 100;
    BEGIN
    SELECT salary * 0.10 INTO bonus FROM employees
    WHERE employee_id = emp_id;
    END;
    If not, like this SQL how can define a BIND variable as static inside a code? not asking a user?
    db version. 9.2.0.8
    regards and thanks

    OracleADay wrote:
    I would like to ask you, below there is a emp_id variable? Is this BIND variable?
    DECLARE
    bonus NUMBER(8,2);
    emp_id NUMBER(6) := 100;
    BEGIN
    SELECT salary * 0.10 INTO bonus FROM employees
    WHERE employee_id = emp_id;
    END;
    /In the query "SELECT salary * 0.10 INTO bonus FROM employees WHERE employee_id = emp_id" emp_id is turned into a bind variable because
    if you are coding static SQL in PL/SQL then PL/SQL wil automatically use bind variables: please read http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/overview.htm#sthref145.
    This can also be proved with SQL trace. The following code:
    alter session set sql_trace=true;
    declare
    v number;
    c number;
    begin
    select count(*) into c
    from t
    where x=v;
    end;
    show errors
    alter session set sql_trace=false;generates following raw trace file section with 10G XE:
    =====================
    PARSING IN CURSOR #2 len=79 dep=0 uid=69 oct=47 lid=69 tim=33338762257 hv=2860574766 ad='3c10120c'
    declare
    v number;
    c number;
    begin
    select count(*) into c
    from t
    where x=v;
    end;
    END OF STMT
    PARSE #2:c=46800,e=329811,p=0,cr=9,cu=0,mis=1,r=0,dep=0,og=1,tim=33338762253
    =====================
    PARSING IN CURSOR #1 len=35 dep=1 uid=69 oct=3 lid=69 tim=33338788761 hv=3539261652 ad='3c10053c'
    SELECT COUNT(*) FROM T WHERE X=:B1
    END OF STMT
    PARSE #1:c=0,e=216,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,tim=33338788755
    =====================Edited by: P. Forstmann on 17 mai 2011 17:47
    Edited by: P. Forstmann on 17 mai 2011 17:55

  • PLS-00304: cannot compile body of package without its specification

    Hi all,
    While compiling the below pasted package , I got the following error msg.
    PL/SQL: Compilation unit analysis terminated
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specification
    PLS-00905: object HDOT.EDR_RPT_CLASS_BY_TAWT_PACKAGE is invalidBut I believe that have declared package and ppackage body specification correctly. Please could anyone help me to find out the error
    CREATE OR REPLACE PACKAGE edr_rpt_class_by_tawt_package AS
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2;
    END edr_rpt_class_by_tawt_package;
    CREATE OR REPLACE PACKAGE BODY edr_rpt_class_by_tawt_package AS
       c_front_axle_only         CONSTANT axle_class.group_type%TYPE := -1;
       c_axle_single_group_type  CONSTANT axle_class.group_type%TYPE := 1;
       c_axle_tandem_group_type  CONSTANT axle_class.group_type%TYPE := 2;
       c_axle_tridem_group_type  CONSTANT axle_class.group_type%TYPE := 3;
       c_axle_quadrem_group_type CONSTANT axle_class.group_type%TYPE := 4;
       c_kips_conversion_unit_id CONSTANT units.unit_id%TYPE         := 8;
       v_report_axle_group_type  axle_class.group_type%TYPE := 0;
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBER
    IS
      my_count_result NUMBER(18);
    BEGIN
       SELECT NVL(SUM(vehicle_count), 0 )
       INTO my_count_result
       FROM
            SELECT site_lane_id
            FROM   edr_rpt_tmp_report_lanes
            WHERE  edr_rpt_tmp_report_lanes.output_lane_id        = in_lane_id
              AND  edr_rpt_tmp_report_lanes.output_direction_id   = in_direction_id
           ) report_lanes
       JOIN edr_cls_by_tawt_report_data
         ON edr_cls_by_tawt_report_data.site_lane_id          = report_lanes.site_lane_id
       WHERE edr_cls_by_tawt_report_data.bin_start_date_time >= in_interval_start_date_time
         AND edr_cls_by_tawt_report_data.bin_start_date_time <  in_interval_end_date_time
         AND edr_cls_by_tawt_report_data.group_weight >= in_axle_wt_min
         AND edr_cls_by_tawt_report_data.group_weight  < in_axle_wt_max 
         AND edr_cls_by_tawt_report_data.vehicle_class >= in_class_min
         AND edr_cls_by_tawt_report_data.vehicle_class <= in_class_max
       RETURN my_count_result;
    END;
    FUNCTION get_row_class_counts_text
    RETURN VARCHAR2
    IS
       my_row_counts_text  VARCHAR2(10000);
       my_row_counts_entry  VARCHAR2(10000);
       CURSOR row_counts_text IS
         SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || class_id || ', '
                           || class_id || ') "'|| class_id || '"'
         FROM edr_rpt_tmp_report_classes
         ORDER BY class_id;
    BEGIN
      my_row_counts_text   := '';
      my_row_counts_entry  := '';
      -- generate the speed ranges function calls
      OPEN row_counts_text;
      LOOP
        FETCH row_counts_text INTO my_row_counts_entry;
        EXIT WHEN row_counts_text%NOTFOUND;
        my_row_counts_text := my_row_counts_text || ', ' || my_row_counts_entry;
      END LOOP;
      CLOSE row_counts_text;
      RETURN my_row_counts_text;
    END;
    FUNCTION get_row_totals_text
    RETURN VARCHAR2
    IS
       my_row_count_total_text  VARCHAR2(10000);
    BEGIN
      my_row_count_total_text := '';
      -- generate the 'total' column function call
      SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || MIN(class_id) || ', '
                           || MAX(class_id) || ') " "'
      INTO my_row_count_total_text
      FROM edr_rpt_tmp_report_classes;
      RETURN ', ' || my_row_count_total_text;
    END;
    PROCEDURE apply_default_awt_ranges(in_report_parameter_id   IN   NUMBER)
    IS
      my_awt_ranges_count NUMBER(4);
    BEGIN
    SELECT nvl(count(1),0)
    INTO my_awt_ranges_count
    FROM report_range_parameters
    WHERE REPORT_PARAMETER_ID = in_report_parameter_id
       AND REPORT_PARAMETER_GROUP = 'AXLE_GROUP'
       AND REPORT_PARAMETER_NAME = 'AXLE_NAME';
    IF  ( my_awt_ranges_count = 0 )
    THEN
      INSERT INTO report_range_parameters (REPORT_PARAMETER_ID, REPORT_PARAMETER_GROUP, REPORT_PARAMETER_NAME, REPORT_PARAMETER_MIN_VALUE, REPORT_PARAMETER_MAX_VALUE)
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '0', '2');
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '30', '32');
    END IF;
    END;
    PROCEDURE edr_class_by_tawt_use_per_veh
       in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
       in_good_status_mask      IN      NUMBER
    IS
    max_axle_group_value NUMBER(12);
    BEGIN
      DELETE FROM edr_cls_by_tawt_report_data;
      COMMIT;
      INSERT INTO edr_cls_by_tawt_report_data
                      site_id,
                      site_lane_id,
                      site_direction_id,
                      site_direction_name,
                      bin_start_date_time,
                      group_weight,
                      bin_id,
                      bin_value
      SELECT site_id,
             site_lane_id,
             site_direction_id,
             site_direction_name,
             date_time,
             group_weight,
             vehicle_class,
             COUNT(vehicle_class)
      FROM
               SELECT edr_cls_by_tawt_per_veh_data.*
                 FROM edr_cls_by_tawt_per_veh_data          
         GROUP BY date_time,
               site_lane_id,
               group_weight,
               vehicle_class,
               site_id,
               site_direction_id,
               site_direction_name;
    END edr_class_by_tawt_use_per_veh;
    PROCEDURE edr_class_by_tawt_data_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      in_good_status_mask      IN      NUMBER,
      in_data_type             IN      VARCHAR2,
      out_data_type_used          OUT  VARCHAR2
    IS
      my_bin_entry_count   NUMBER(12,0);
      my_veh_entry_count   NUMBER(12,0);
    BEGIN
      IF(UPPER(in_data_type) = 'BINNED') THEN
        --  Axle information can only be read from Per Vehicle data records
        --   - using bins-only is not a supported option
        RAISE_APPLICATION_ERROR(-20101,'Binned data cannot be used for this report.');
      ELSIF    (UPPER(in_data_type) = 'PERVEHICLE')
            OR (UPPER(in_data_type) = 'COMBINED')
      THEN
        out_data_type_used := 'Per Vehicle (All Vehicles)';
        edr_class_by_tawt_use_per_veh( in_report_parameter_id, in_good_status_mask );
      ELSE
         RAISE_APPLICATION_ERROR(-20101,'The data type specified is not recognized.');
      END IF;
    END edr_class_by_tawt_data_type;
    PROCEDURE edr_class_by_tawt_get_veh_data
      in_report_parameter_id   IN   NUMBER,
      in_site_id               IN   NUMBER,
      in_start_date_time       IN   TIMESTAMP,
      in_end_date_time         IN   TIMESTAMP,
      in_report_level_min      IN   NUMBER,
      in_report_level_max      IN   NUMBER
    IS
    BEGIN
      DELETE FROM edr_cls_by_tawt_per_veh_data;
      INSERT INTO edr_cls_by_tawt_per_veh_data
              site_id,
              site_lane_id,
              site_direction_id,
              site_direction_name,
              record_id,
              date_time,
              group_weight,
              vehicle_class,
              group_number,
              vehicle_status,
              vehicle_error_count,
              axle_violations_count,
              group_type         
      SELECT axle_info.site_id,
             axle_info.site_lane_id,
             axle_info.site_direction_id,
             axle_info.site_direction_name,
             axle_info.record_id,
             axle_info.datetime,
             axle_info.group_weight,
             axle_info.v_class,
             axle_info.group_number,
             NVL((SELECT SUM(status_code)
                    FROM traffic_status
                   WHERE traffic_status.record_id = axle_info.record_id), 0) vehicle_status,
             NVL((SELECT COUNT(error_code)
                    FROM traffic_error
                   WHERE traffic_error.record_id = axle_info.record_id), 0) vehicle_error_count,
             NVL((SELECT COUNT(1)
                    FROM axle_weight_violation
                   WHERE axle_weight_violation.record_id = axle_info.record_id), 0) axle_violations_count,
             axle_info.group_type           
        FROM (SELECT site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     NVL(traffic_class.v_class, 0)   v_class,
                     NVL(axle_class.group_type, 0)   group_type,
                     NVL(axle_class.group_number, 0) group_number,               
                     NVL(TRUNC(sum(convert_units(axle.weight_unit_id,
                                             c_kips_conversion_unit_id,
                                             axle.axle_weight
                           0
                         ) group_weight
               FROM  traffic_record
               JOIN  site_to_data_source_lane_v
                 ON  traffic_record.data_source_id = site_to_data_source_lane_v.data_source_id
                AND  traffic_record.lane = site_to_data_source_lane_v.data_source_lane_id                   
           GROUP BY site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     traffic_class.v_class,                
                     axle_class.group_type,
                     axle_class.group_number
            ) axle_info
    END edr_class_by_tawt_get_veh_data;
    PROCEDURE gen_class_by_axle_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      apply_default_awt_ranges(in_report_parameter_id);
      my_date_format_mask   := edr_rpt_generic_package.edr_rpt_get_date_format_mask(in_report_parameter_id);
      my_start_date_time    := edr_rpt_generic_package.edr_rpt_get_start_date_time(in_report_parameter_id, my_date_format_mask);
      my_end_date_time      := edr_rpt_generic_package.edr_rpt_get_end_date_time(in_report_parameter_id, my_date_format_mask);
      my_lane_grouping      := edr_rpt_generic_package.edr_rpt_get_lane_grouping(in_report_parameter_id);
      my_site_id            := edr_rpt_generic_package.edr_rpt_get_site_id(in_report_parameter_id);
      my_selected_data_type := edr_rpt_generic_package.edr_rpt_get_data_type(in_report_parameter_id);
      -- ensure selected classes and lanes temp tables have been populated
      edr_rpt_generic_package.edr_rpt_gen_tmp_lanes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_classes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_speed_ranges(in_report_parameter_id);
      my_good_weight_statuses_mask   := edr_rpt_generic_package.get_good_weight_status_mask(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_inclusion_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_rpt_generic_package.edr_rpt_gen_grouping_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_class_by_tawt_get_veh_data
        in_report_parameter_id,
        my_site_id,
        my_start_date_time,
        my_end_date_time,
        0,                          --Hardcoded until reclassification is supported.
        0                           --Hardcoded until reclassification is supported.
      edr_class_by_tawt_data_type
        in_report_parameter_id,
        my_good_weight_statuses_mask,
        my_selected_data_type,
        my_used_data_type
      edr_rpt_generic_package.gen_rpt_by_ranges_output_table
        in_report_parameter_id,
        'AXLE_GROUP',
        'AXLE_NAME'
      COMMIT;
      my_report_data_statement :=
          ' SELECT rank "Rank", '
        ||       ' row_type "Row Type", '
        ||       ' interval_start_date_time "Date", '
        ||       ' interval_start_date_time, '
        ||       ' range_label "Chart X-Axis", '
        ||       ' lane_id "Group Id" , '
        ||       ' ''None'' "Group Name", '
        ||       ' range_label "Speed (mph)" '
        ||         get_row_class_counts_text
        ||         get_row_totals_text
        ||       ' FROM edr_rpt_by_ranges_output '
        ||       ' ORDER BY lane_id, '
        ||                ' direction_id, '
        ||                ' interval_start_date_time, '
        ||                ' range_high, '
        ||                ' rank, '
        ||                ' range_low'
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_report_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      my_chart_data_statement :=
           ' SELECT range_low "X Axis", '
        ||        ' lane_id "Group" '
        ||         get_row_class_counts_text
        || ' FROM '
        || ' ( '
        || ' SELECT lane_id, '
        ||        ' direction_id, '
        ||        ' range_low, '
        ||        ' range_high, '
        ||        ' min(interval_start_date_time) interval_start_date_time, '
        ||        ' max(interval_end_date_time) interval_end_date_time '
        || ' FROM edr_rpt_by_ranges_output '
        || ' WHERE rank = 1 '
        || ' GROUP BY lane_id, direction_id, range_low,  range_high '
        || ' ) '
        || ' order by "Group", range_low '
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_chart_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      SELECT my_used_data_type
        INTO my_data_type_used
        FROM SYS.DUAL;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_per_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status > 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_error_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count > 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_clear_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status = 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(1), 0)
        INTO my_binned_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(1), 0)
        INTO my_good_weight_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count = 0
         AND BITAND(vehicle_status, my_good_weight_statuses_mask) = 0;
      -- insert vehicle totals into the temporary table
      DELETE FROM edr_rpt_tmp_veh_totals_table;
      INSERT INTO edr_rpt_tmp_veh_totals_table
      SELECT my_data_type_used,
             my_per_vehicle_total,
             my_binned_vehicle_total,
             my_error_vehicle_total,
             my_status_vehicle_total,
             my_good_weight_total,
             my_status_clear_total
        FROM SYS.DUAL;
      -- execute the query into the output refcursor
      OPEN report_data FOR
        my_report_data_statement;
      OPEN chart_data FOR
        my_chart_data_statement;
      OPEN footer_data FOR
        SELECT data_type_used,
               per_vehicle_total,
               binned_vehicle_total,
               error_vehicle_total,
               status_vehicle_total,
               good_weight_total,
               status_clear_total
          FROM edr_rpt_tmp_veh_totals_table;
    END gen_class_by_axle_type;
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_single_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_front_axle_only ;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tandem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tridem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type :=  c_axle_quadrem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    END edr_rpt_class_by_tawt_package;
    LIST
    SHOW ERROR

    Hi,
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specificationThis error usually indicates an issue with used datatypes in a package spec. that differs from a package body.
    Check your spec:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2; However in your package body:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBERReturn number in spec. vs. return varchar2 in body..
    That won't compile, either return a number or a varchar2 in both. (spec and body).

  • Compiling a package without disturbing the load process

    Hi,
    I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
    Thanks

    sdk11 wrote:
    Hi,
    I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
    ThanksIf you mean: "I need to create or replace a package", while some session is still running code of that package.
    Then sorry: nocando.
    Unless you are on 11.2, in which case you could (with the necessary preparation/configuration done first) create a new version of the package in another edition than the session is using. But the session will have to finish its work using the package as-is currently.

  • [solved] Package invalid errors

    I'm trying to fix a system that died in the middle of a `pacman -Syu` (via `pacman -Qenq | -S -`) and I'm having a ton of problems with packages begin invalid. I've set my clock and cleared the cache several times, and I'm still getting invalid signature errors. Here's the debug output from one invalid package:
    debug: found cached pkg: /var/cache/pacman/pkg/gcc-4.8.2-8-x86_64.pkg.tar.xz
    debug: sig data: iQEcBAABAgAGBQJS9WIIAAoJEPmf/g/q6Zm9av8H+wTWd7jkBVIBLKxdkqr5mFon9pyrh5ArxG5xmEI+mcozz1v1uzC+id35NXySFnb5kK+I5l1P4SO3SGCZeLbmO6ESDa9VVgiK9E5zFvniCcYF1bdRib1bs9i95V009krF6BRyLKRJdegyA6hT4wligU34NdIa/xnh48n3/ONwSe+YavJieY/2eZoSHLO73+4Lv68mzXPzZbUNm1J/XQXVnTLsy7fnpKwP4N2u8MnQI0RC7UGKtCNLTzVMiLXO/Vid4i4vcis/CeoJrdVk2g3HyxrZxZwnTmdygbuCyyAdFEC5F4H6pV4YzQ7QhhlCmrnB0GH+LnC+Vc3aZdJZk88FbZc=
    debug: checking signature for /var/cache/pacman/pkg/gcc-4.8.2-8-x86_64.pkg.tar.xz
    debug: 1 signatures returned
    debug: fingerprint: F99FFE0FEAE999BD
    debug: summary: red
    debug: status: Bad signature
    debug: timestamp: 0
    debug: exp_timestamp: 0
    debug: validity: unknown; reason: Success
    debug: key: 6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD, Allan McRae <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is not valid
    In stdout, that's:
    error: gcc: signature from "Allan McRae <[email protected]>" is invalid
    :: File /var/cache/pacman/pkg/gcc-4.8.2-8-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    When the validity check doesn't fail, the unpack often will, implying the same package is still bad.
    It could be a bad mirror, in theory, except it's intermittent (albeit frequent), and my top mirror is kernel.org.
    EDIT: Looks like the failure hosed something basic- reinstalling pacman's dependencies (including glibc) ended up triggering "illegal instruction" errors (and ultimately segfaults), and rebooting caused the same behavior in systemd.
    When in doubt, boot install media, mount target and `pacstrap -cM base`.
    This (pacstrapping base and then reinstalling everything) appears to have fixed the root problem, although I'm still experiencing echoes of the problem.
    Last edited by STUART (2014-04-21 10:55:15)

    karol wrote:Have you read the wiki https://wiki.archlinux.org/index.php/Pa … 9.22_error ?
    Thanks a lot. Solved by that.

Maybe you are looking for

  • EXCISE TAB IN MIGO FOR SUBCONTRACTING Challan

    HI Gurus In Subcontracting, I have created a sub contracting challan. At the time of MIGO, in Excise invoice tab page , I am entering the Challan no & year and then enter After that i have saved the MAterial document But when i m displaying  material

  • Quicktime Export For Web files inaccessible

    I accidentally posted this in the QT for Windows section, but I'm a Mac guy. This is totally bizarre. As of this afternoon, all of the QT files (generated with Export for Web from QT7.6) that I've posted over recent days and weeks, on multiple server

  • Where are the user images located in finder?

    hi i am looking for the location on disk of the images that can be associated with your user image (System Preferences/Users & Groups). the images are the apple supplied user images like the baseball, snowflake, etc. where are these images found on d

  • How can I designate the primary monitor?

    I have a three monitor setup. The center monitor has always been designated as the main monitor (has the Finder bar on it). Since I've upgraded to Mavericks, the left monitor seems to be the primary, despite the settings in the Display control panel

  • Use currency rate in report

    Hi everyone! I have 2 tables - Employee limit (in USD) - ID - Employee - LimitName - Limit CurrencyRates - ID - Currency - Date - Rate User should select Date and Currency and get Limit in selected currency by the rate on selected date. How can I do