Can't update my packages.

When I run pacman -Syu it tried to update these packages
arandr-0.1.6-1 bison-2.5.1-1 dbus-python-1.0.0-1 [removal]
dwarffortress-0.34.11-1 fakeroot-1.18.4-1 filesystem-2012.6-2
firefox-13.0-1 gnutls-3.0.20-1 krb5-1.10.2-1 libgksu-2.0.12-5
linux-3.4.1-1 pam-1.1.5-4 pambase-20120602-1
python-dbus-common-1.1.0-1 python2-dbus-1.1.0-1
systemd-tools-185-1
It downloads all the packages and begins to install them, but stops and returns
error: failed to commit transaction (conflicting files)
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded.
Dow any of you know what to do? Can I remove /var/lock and /var/run?

Please search the forums. This issue has been discussed so many times, its not even funny. Specifically look at the stickies in the Newbie Corner.
Closing...

Similar Messages

  • How can I update my package in AUR?

    I added PKGBUILD in AUR. Now I want to update it, but I can't find this option in aur-panel

    INCSlayer wrote:you simply submit it like you would when you normally upload a package and it will update the package automatically
    It works, thanx

  • Can't update device package for adobe DC in cd photo shop CS3 beta)

    i've installed device central from CD Photoshop CS3 BETA ,
    the problem is i can not install new device package for the file
    that download from net , and it always shown ( the file update is
    too new for this version of adobe device central ).... somebody
    help me please ?

    I am pretty sure that the Device Central that came with
    Photoshop CS3 BETA is different from the official release of Device
    Central that comes with CS3 products.
    I had Photoshop CS3 BETA and DC working. Then I bought a
    licenced copy of Flash CS3 and Device Central. The new device
    package installed perfectly on the newer version of DC. However,
    now that I have installed the new Device Central, I can't launch DC
    from Photoshop CS3 BETA—it gives me an error.
    That said, DC works great—with the update—but
    only via Flash CS3 (or some other official launch product).

  • Can't update 'filesystem' package

    Getting the following when trying to update filesystem. Not quite sure why. Is it safe to force?
    [501 carl@moschops ~ ]$ sudo pacman -Syu
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: jdk: local (6-2) is newer than extra (6u3-1)
    resolving dependencies...
    looking for inter-conflicts...
    Targets: filesystem-2007.11-6
    Total Download Size: 0.00 MB
    Total Installed Size: 0.01 MB
    Proceed with installation? [Y/n]
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    filesystem: /etc/profile exists in filesystem
    Errors occurred, no packages were upgraded.
    ta

    The /etc/profile file moved ownership from bash to filesystem and both these packages were updated at the same time.  If you haven't got the latest version of bash (3.2.033-2) then the /etc/profile file will still be owned by bash and will conflict with the new filesystem package.  In that case, just wait for you mirror to get the bash update.  Otherwise, WiLLiE's advice will work.

  • Can't install a package [SOLVED]

    Hi folks ^^
    I was trying to install python2-cssutils but pacman shows me the next error:
    python2-cssutils: /usr/bin/csscapture existe en el sistema de archivos
    python2-cssutils: /usr/bin/csscombine existe en el sistema de archivos
    python2-cssutils: /usr/bin/cssparse existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils-0.9.7-py2.7.egg-info/PKG-INFO existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils-0.9.7-py2.7.egg-info/SOURCES.txt existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils-0.9.7-py2.7.egg-info/dependency_links.txt existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils-0.9.7-py2.7.egg-info/entry_points.txt existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils-0.9.7-py2.7.egg-info/top_level.txt existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/__init__.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/__init__.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/_fetch.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/_fetch.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/_fetchgae.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/_fetchgae.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/codec.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/codec.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/__init__.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/__init__.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csscharsetrule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csscharsetrule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csscomment.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csscomment.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssfontfacerule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssfontfacerule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssimportrule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssimportrule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssmediarule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssmediarule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssnamespacerule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssnamespacerule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csspagerule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/csspagerule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssproperties.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssproperties.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssrule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssrule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssrulelist.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssrulelist.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstyledeclaration.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstyledeclaration.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstylerule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstylerule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstylesheet.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssstylesheet.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssunknownrule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssunknownrule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvalue.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvalue.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvariablesdeclaration.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvariablesdeclaration.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvariablesrule.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/cssvariablesrule.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/property.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/property.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/selector.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/selector.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/selectorlist.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css/selectorlist.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css2productions.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/css2productions.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/cssproductions.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/cssproductions.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/errorhandler.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/errorhandler.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/helper.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/helper.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/parse.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/parse.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/prodparser.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/prodparser.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/profiles.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/profiles.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/sac.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/sac.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/script.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/script.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/__init__.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/__init__.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/csscapture.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/csscapture.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/csscombine.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/csscombine.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/cssparse.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/scripts/cssparse.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/serialize.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/serialize.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/settings.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/settings.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/__init__.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/__init__.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/medialist.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/medialist.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/mediaquery.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/mediaquery.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/stylesheet.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/stylesheet.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/stylesheetlist.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/stylesheets/stylesheetlist.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/tokenize2.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/tokenize2.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/util.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/cssutils/util.pyc existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/encutils/__init__.py existe en el sistema de archivos
    python2-cssutils: /usr/lib/python2.7/site-packages/encutils/__init__.pyc existe en el sistema de archivos
    Ocurrieron errores, no se actualizaron paquetes
    it told me that files already exist in the filesystem and there was errors and can't update the package.
    any idea?
    thanks !!!!
    Last edited by k_ibou (2010-12-26 02:05:32)

    jasonwryan wrote:
    Honestly? Did you stop for a couple of minutes and consider what the problem you are trying to solve is? A package conflict?
    What would be the logical course of action?
    Dear jasonwryan
    I searched for an answer and came here: https://wiki.archlinux.org/index.php/Pa … stem.22.21
    But I have no idea about how to rename and what to rename. Is it csscapture or python-cssutils-beta, I have to rename? How can I do it?
    Though I have installed arch linux by my own, that was by following the step by step procedure written in the arch wiki. Other than that, I do not have any techy back ground. I am just a scribe in a media house.

  • I can't update packages after upgrading pacman to 4.0.3

    I know this was already treated broadly about two months ago, but I can't update after upgrading pacman because of continuous problems with certain signatures (at least one).
    I have already tried this:
    rm -rf /etc/pacman.d/gnupg
    pacman -Scc
    pacman-key --init
    pacman-key --populate archlinux
    But I still get this error when trying to upgrade the system:
    error: virtuoso: signature from "Andrea Scarpino (Arch Linux) <[email protected]>" is invalid
    error: failed to commit transaction (invalid or corrupted package)
    Errors occurred, no packages were upgraded.
    Could anybody help me? I'm pretty devastated with this.
    Thanks!
    My /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
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #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 = Optional TrustedOnly
    # 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]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    SigLevel = PackageRequired
    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
    Last edited by [DoodoM] (2012-08-03 23:39:56)

    Thanks everyone! I guess it was a faulty mirror.
    I also had problems upgrading glibc because /lib had to be linked to /usr/lib, but I fixed it seeking for helpful tips on the forum. What I did was move everything from /lib to /usr/lib, shutdown, start adding break=postmount to kernel line, mount the filesystem, remove /lib folder, link /usr/lib to /lib and reboot. Then I reinstalled glibc and everything went well.
    Now some fonts look half-cutted in Gnome Shell when the window or panel which contains them is in background and I don't know why. But it is not the first time I have "graphical artifacts" with Arch Linux on this laptop. I think has something to do with the compositing.

  • HT1925 Can't update iTunes because of error message "iTunes.msi is not a valid installation package for the produce iTunes".  How can I fix this?

    I can't update iTunes because of error message "iTunes.msi is not a valid installation package for the product iTunes". How can this be resolved.  I am using a PC with Windows XP

    If you can, uninstall and reinstall itunes..... Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Hope this helps.

  • I keep getting a message that "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected." when I try to download iTunes 10.5. So I can't update it. How can it be fixed?

    When I try to download iTunes 10.5, I keep getting the message "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected." Therefore I can't update my iTunes to the new version. How can I solve this? I don't want to pay for technical support as this seems to be a problem with the iTunes package Apple is providing itself by that message.

    Hello, hartadrian.
    I would recommend attempting to repair the Apple Software Update via the steps below.  Once processed attempt to download, update or install iTunes 11. 
    How to repair Software Update for Windows
    http://support.apple.com/kb/TA24326
    If you are still experiencing the issue, completely remove all components of iTunes in the order specified of the article below.  Once this has been processed, attempt to download and install iTunes 11. 
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    If you experiencing errors when removing components of iTunes, follow the steps in the article below. 
    "The feature you are trying to use is on a network resource that is unavailable" alert when removing Apple software in Windows
    http://support.apple.com/kb/TS3704
    Cheers,
    Jason H. 

  • Well its another 3rd gen. 8gb ipod touch problem. Apparently they don't exist and that really ticks me off because the apple packaging clearly stated it was an 8gb 3rd gen. and now i can't update it. Apple lied and now im paying for it.I better get a new1

    A year or two back i dad just used up all of my money to buy a brand new ipod touch 3rd gen. 8gb. I bought it at a local sams club and i even still have the packaging that says it was an 8gb 3rd gen. But Apple lied to me because it is only an 2nd gen. I looked it up and they don't exist. Now i can't get any games or anything because of thier false advertisement and ripping us off (as you can't update from iOS 4.2.1). This also happened to many of my friends and other Apple customers throughout the U.S. It was an unopened product from Apple. Since they tricked us i hold Apple accountable. I demand a refund and anyone else in this delemma please share your story. APPLE OWES ME A REFUND.

    I see that you have the same problem as guys in the sites I found.
    http://apple.stackexchange.com/questions/54866
    http://apple.stackexchange.com/questions/55334
    http://apple.stackexchange.com/questions/55180
    I think most of them manage to came out either with FULL REFUND, with 75-90% DISCOUNT for iPod 4G purchase, or FREE iPod touch 4G 8GB.
    I'll tell you this, it's not Apple who lied to you, it's the misled DEALERS. I've been collecting evidences and it seems from the beginning (the time of press release) until the release of iPod 4G, Apple never stated that they intended to release iPod touch 3G in 8GB.
    See this image of Apple online store back in early 2010 :
    The 8GB model were only UPDATED with iOS 3 however the true NEW iPod touch at that time (Apple hadn't used the terms Generation yet) was available in larger capacity. The iPod touch 8GB wasn't RENEWED but rather RE-RELEASED with lower price as previous 8GB iPod touch were more expensive. If you still not convinced enough to believe it, well search the youtube and watch Phil Schiller's presentation in 09/2009. He shown 8GB model (he didn't say new) would only experience updated price of $199 but later on, he pushed the 8GB aside and explained the NEW larger capacity models would be granted double capacity and improved performance
    Hence, I'm truthfully sorry to say that the one whom to be wronged isn't Apple but dealers themselves for false advertising. I suggest you to bring up your complain to the dealer with valid evidences because if you don't, I'm afradi you might lose your chance due to the time being.

  • Can we make one package for Multiple OS Updates

    Hi All,
    In my environment possess windows Server 2003 and 2012 (newly added 2012), recently we have added 2012 server for our environment so we suppose to push security updates from SCCM.
    already we have created one package for Windows updates (for server 2003), if we added 2012 security updates also in to this package it will be impact to other OS ? or it will be deploy to complaint devices only ?
    Appreciated if you  could resonances to this
    Thank you
    Fazal
    Fazal(MCTS)

    Hi,
    It will only be installed on the computers that macth the detection rule of the update, so yes you can have updates for more than on OS in the Software Update Group / Package
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Is it really true that we can't update from iPhone packager to 2.6?

    Hi,
    My understanding is that once we have build an app in Iphone Packager we are never able to upgrade to air 2.6...
    http://developer.apple.com/library/ios/#qa/qa1623/_index.html
    Can anyone confirm that there really is no way to do this? Apple suggests that we have to replace our apps under a different name!?!
    I can't help but feeling a bit sad about this. Surely I can't ask all my clients to redownload the app (and make up a different name for it) just because I can't update to Air 2.6??
    Anyone has any ideas about this?

    AIR 2.6 apps won't run on the older devices, and one of the rules with the App Store is that you can't remove devices from the list that the app supports. The instructions on that page are slightly confusing, in that it suggests to remove the old app and then upload the new one with a new App ID, implying that it would be the same name, but then it also says that if you delete an app from the store you're not allowed to use the same name again.
    If you did manage to replace the current app with an AIR 2.6 one without your users having to pay again, you would still then have the problem that customers with older phones would not be able to get the update anyway. So one way or another you're going to upset some of your customers.
    One option would be to update the app with the old packager purely to present a splash screen telling people about a new version with better performance on later devices. Then some time later put that new version into the store with an introduction price that is very low, and after a few days increase the price to its normal amount, and also update the old app to remove the splash screen.
    You could perhaps call the new version "HD", as it would support Retina display. Doing it that way would still leave you with the ability to do bug fix updates with the old packager for users of the old app.

  • I can't update my itunes.. in the middle of installation of the new itunes, it says there is a problem with this windows installer package. a program required for this install to complete could not be run.

    for any more information, i am in South Korea right now, and i've tried both english and korean version to install on my computer.
    it's a laptop from Asus, N61J. i'm using windows 7 and can't update the itunes- apparently need to download a new version, idk why they couldn't just let me update it through itunes. and so itunes have error as following picture. please help. i got a new iphone today and because of this stupid itunes i can't sync my iphone.. -_-

    found a solution in a different discussion.. thank god.

  • Can't update in mysql

    I am using JSP and MYSQL with a bean that does my database work.
    my search.jsp looks up records, when I click edit it sends the values to my inventory_admin.jsp
    When I make the changes to the data, the data is not saved in the database.
    Please, look see!
    <!--search.jsp-->
    <jsp:useBean id="inventoryBean" scope="session" class="mybeans.inventoryBean" />
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <%// Do search with bean.
         String s = request.getParameter("searchField");
         int searchId = -1;
         if(s != null)
              try
                   searchId = Integer.parseInt(s);
              catch(NumberFormatException e) {}
         //Do actual search with bean
         boolean rc = false;
         if(searchId != -1)
              rc = inventoryBean.findByPrimaryKey(searchId);
              %>
    <form action="search.jsp" method="post" enctype="application/x-www-form-urlencoded">
    <h2 align="center">Software Inventory </h2>
    <p align="center"> </p>
    <p>Lookup:
    <input name="searchField" type="text" id="searchField">
    <input type="submit" name="Submit" value="Submit">
    </p>
    </form>
    <%
         //Output 'not found' message if needed
         if(rc == false)
              out.println("<P><B>Product not found</B></P>");
    %>
    <table width="25%" border="0">
    <tr>
    <td>Item ID:</td>
    <td><jsp:getProperty name="inventoryBean" property="itemid" /></td>
    </tr>
    <tr>
    <td>Product Name:</td>
    <td><jsp:getProperty name="inventoryBean" property="item" /></td>
    </tr>
    <tr>
    <td>Platform:</td>
    <td><jsp:getProperty name="inventoryBean" property="platform" /></td>
    </tr>
    <tr>
    <td>Serial:</td>
    <td><jsp:getProperty name="inventoryBean" property="serial" /></td>
    </tr>
    <tr>
    <td>Description:</td>
    <td><jsp:getProperty name="inventoryBean" property="description" /></td>
    </tr>
    </table>
    <p>&nosave=yes">EDIT</a></p>
    <p align="center"> </p>
    </body>
    </html>
    <!--inventory_admin.jsp-->
    <jsp:useBean id="inventoryBean" scope="session" class="mybeans.inventoryBean" />
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <%-- Copy all form variables at once into the bean--%>
    <jsp:setProperty name="inventoryBean" property="*" />
    <%
         boolean saveResult = false;
         boolean notSaved = false;
         //Save our changes
         String s = request.getParameter("nosave");
         if(s == null || s.equals("yes") == false)
    saveResult = inventoryBean.update();
         else
              notSaved = true;
         //Do search with bean
         s = request.getParameter("itemid");
         int searchId = -1;
         if(s != null)
              try
                   searchId = Integer.parseInt(s);
              catch(NumberFormatException e) {}
         //Do actual search with Bean
         boolean rc;
         if(searchId != -1)
              rc = inventoryBean.findByPrimaryKey(searchId);
    %>
    <h2 align="center">Software Inventory - Edit Mode</h2>
    <FORM action="inventory_admin.jsp" method="post" enctype="application/x-www-form-urlencoded">
    <table width="25%" border="0">
    <tr>
    <td>ITEMID</td>
    <td><jsp:getProperty name="inventoryBean" property="itemid" /></td>
    </tr
    <tr>
    <td>Product Name:</td>
    <td><input name="description" type="text" value="<jsp:getProperty name="inventoryBean" property="item" />"></td>
    </tr>
    <tr>
    <td>Platform:</td>
    <td><input name="description" type="text" value="<jsp:getProperty name="inventoryBean" property="platform" />"></td>
    </tr>
    <tr>
    <td>Serial:</td>
    <td><input name="description" type="text" value="<jsp:getProperty name="inventoryBean" property="serial" />"></td>
    </tr>
    <tr>
    <td>Description:</td>
    <td><input name="description" type="text" value="<jsp:getProperty name="inventoryBean" property="description" />"></td>
    </tr>
    </table>
    <%
         if(notSaved == false)
              if(saveResult == true)
                   out.println("Changes saved");
              else
                   out.println("Changes NOT saved");
    %>
    <p><input type="submit" name="Submit" value="Submit"></p>
    <p align="center"> </p>
    </FORM>
    </body>
    </html>
    //inventory.java
    Here is the Bean Im using:
    // inventoryBean.java - Simple database bean for table products
    package mybeans; // Our custom 'package'.
    import mybeans.DBConfigInfo; // Import helper classes
    import mybeans.DBWorker; // for simpler database programming.
    // Import other packages here.
    import java.sql.*; // For database access.
    import java.util.Hashtable; // For findRecords().
    public class inventoryBean
    private boolean isBeanDataValid = false; // Set when bean contains valid data.
    private boolean isDBError = false; // Stores whether there was a processing error.
    private String dbErrorMsg = "(No error)";
    private DBWorker dbWorker; // Helper object for JDBC programming.
    // Attributes
    private String item = "";
    private String platform = "";
    private String serial = "";
    private String description = "";
    private int itemid = 0; // Primary key field
    public void clear()
    // Clears data in all your properties to 'empty' state.
    item = "";
    platform = "";
    serial = "";
    description = "";
    itemid = 0; // Primary key field
    // Accessor Methods
    public void setItem(String newItem) { item = newItem; }
    public String getItem() { return item; }
    public void setPlatform(String newPlatform) { platform = newPlatform; }
    public String getPlatform() { return platform; }
    public void setSerial(String newSerial) { serial = newSerial; }
    public String getSerial() { return serial; }
    public void setDescription(String newDescription) { description = newDescription; }
    public String getDescription() { return description; }
    public void setItemid(int newItemid) { itemid = newItemid; }
    public int getItemid() { return itemid; }
    // Operations
    // Default constructor.
    public inventoryBean()
    // Create a helper object to work with database.
    // DO NOT DELETE THIS CODE.
    dbWorker = new DBWorker();
    // Database Operations
    // Built-in methods:
    public boolean findByPrimaryKey(int searchId)
    // Use this method to find 1 record by primary key for your table.
    // (After this call, all fields will be loaded into your properties.)
    // Clear existing data, if any.
    clear();
    isBeanDataValid = false;
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return false;
    try
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql = "SELECT item, platform, serial, description, " +
    "itemid " +
    "FROM products " +
    "WHERE itemid=" + searchId;
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Get a result set.
    ResultSet rs = st.executeQuery(sql);
    // 5) Move to first record
    if(rs.next())
    // 6) Retrieve fields into your properties using JDBC get??? methods.
    item = rs.getString("item");
    platform = rs.getString("platform");
    serial = rs.getString("serial");
    description = rs.getString("description");
    itemid = rs.getInt("itemid");
    // 7) Ensure non-null String fields with dbWorker.safeStr()
    item = dbWorker.safeStr(item);
    platform = dbWorker.safeStr(platform);
    serial = dbWorker.safeStr(serial);
    description = dbWorker.safeStr(description);
    // Set result code.
    isBeanDataValid = true;
    // 8) Close all DB objects.
    rs.close();
    st.close();
    dbWorker.close(); // Connection too.
    catch(SQLException e)
    System.out.println("Error in findByPrimaryKey (" + e.getMessage() + ")");
    return isBeanDataValid;
    // Update a record
    public boolean update()
    // Use this to update a record by a primary key.
    boolean resultCode = false;
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return false;
    try // Remember to put all DB code inside a try block!
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql = "UPDATE products SET item=" + dbWorker.sqlStr(item) + "," +
    "platform=" + dbWorker.sqlStr(platform) + "," +
    "serial=" + dbWorker.sqlStr(serial) + "," +
    "description=" + dbWorker.sqlStr(description)+
    " WHERE itemid=" + itemid;
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Run action query.
    int rowsAffected = st.executeUpdate(sql);
    // 5) See if we succeeded (1 recorded affected).
    if(rowsAffected == 1)
    resultCode = true;
    else
    System.out.println("Warning: Can't update in update()!");
    // 6) Close all DB objects.
    st.close();
    dbWorker.close(); // Connection too.
    catch(SQLException e)
    System.out.println("Error in update (" + e.getMessage() + ")");
    return resultCode;
    // Delete a record
    public boolean delete(int deleteId)
    // Use this to delete a record by a primary key.
    boolean resultCode = false;
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return false;
    try
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql = "DELETE FROM products WHERE itemid=" + deleteId;
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Run action query.
    int rowsAffected = st.executeUpdate(sql);
    // 5) See if we succeeded (1 recorded affected).
    if(rowsAffected == 1)
    resultCode = true;
    else
    System.out.println("Warning: Can't delete ID #" + deleteId + " in delete()!");
    // 6) Close all DB objects.
    st.close();
    dbWorker.close(); // Connection too.
    catch(SQLException e)
    System.out.println("Error in delete (" + e.getMessage() + ")");
    return resultCode;
    // Insert a new record.
    public boolean insert(String newItem, String newPlatform, String newSerial, String newDescription,
    int newItemid)
         // Use this to update a record by a primary key.
    boolean resultCode = false;
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return false;
    try // Remember to put all DB code inside a try block!
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql="INSERT INTO products(item, platform, serial, description, " +
    "itemid) " +
    "VALUES(" + dbWorker.sqlStr(newItem) + "," + dbWorker.sqlStr(newPlatform) + "," + dbWorker.sqlStr(newSerial) + "," + dbWorker.sqlStr(newDescription) + "," +
    newItemid + ")";
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Run action query.
    int rowsAffected = st.executeUpdate(sql);
    // 5) See if we succeeded (1 recorded affected).
    if(rowsAffected == 1)
    resultCode = true;
    else
    System.out.println("Warning: Can't update in insert()!");
    // 6) Close all DB objects.
    st.close();
    dbWorker.close(); // Connection too.
    catch(SQLException e)
    System.out.println("Error in insert (" + e.getMessage() + ")");
    return resultCode;
    public int findMaxPrimaryKey()
    // Use this method to find the current max. value for a primary key
    // in the database for a given table.
    int retVal = -1;
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return -1;
    try // Remember to put all DB code inside a try block!
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql = "SELECT MAX(itemid) FROM products";
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Get a result set.
    ResultSet rs = st.executeQuery(sql);
    // 5) Move to first record
    if(rs.next())
    // 6) Retrieve fields into your properties using JDBC get??? methods.
    retVal = rs.getInt(1); // Get first and only column.
    // 7) Close all DB objects.
    rs.close();
    st.close();
    dbWorker.close(); // Connection too.
    catch(SQLException e)
    System.out.println("Error in findMaxPrimaryKey (" + e.getMessage() + ")");
    return retVal;
    public Hashtable findRecords(String filter, String orderBy)
    // Use this method to return a Hashtable filled with
    // one or more records. You can specified a 'filter'
    // for finding records and 'orderBy' will determine the sort order.
    Hashtable retVal = new Hashtable();
    retVal.put("ROWCOUNT", "0");
    retVal.put("COLUMNCOUNT", "0");
    retVal.put("STATUS", "EMPTY");
    // Query by primary key.
    boolean rc = dbWorker.open();
    if(rc == false)
    isDBError = true;
    dbErrorMsg = dbWorker.errorMsg;
    return retVal;
    try // Remember to put all DB code inside a try block!
    // 1) Get a connection.
    Connection conn = dbWorker.getConnection();
    // 2) Create a statement.
    Statement st = conn.createStatement();
    // 3) Build your SQL.
    String sql = "SELECT item, platform, serial, description, " +
    "itemid " +
    "FROM products " +
    "WHERE " + filter + " " +
    "ORDER BY " + orderBy;
    //System.out.println("DEBUG SQL =" + sql);
    // 4) Get a result set.
    ResultSet rs = st.executeQuery(sql);
    int rowCount = 0;
    // 5) Move to first record (and then next) record.
    while(rs.next())
    // 6) Retrieve fields into your properties using JDBC get??? methods.
    String thisItem = rs.getString("item");
    String thisPlatform = rs.getString("platform");
    String thisSerial = rs.getString("serial");
    String thisDescription = rs.getString("description");
    int thisItemid = rs.getInt("itemid");
    // 7) Ensure non-null String fields with dbWorker.safeStr()
    thisItem = dbWorker.safeStr(thisItem);
    thisPlatform = dbWorker.safeStr(thisPlatform);
    thisSerial = dbWorker.safeStr(thisSerial);
    thisDescription = dbWorker.safeStr(thisDescription);
    // 8) Load this row into our Hashtable.
    // The convention here is to pack each row's column name with an ID
    // indicating the row. "ProjectId" + "0" = "ProjectId0" ===mapped to===> Value
    // Put this record into Hashtable.
    retVal.put("item" + rowCount, thisItem);
    retVal.put("platform" + rowCount, thisPlatform);
    retVal.put("serial" + rowCount, thisSerial);
    retVal.put("description" + rowCount, thisDescription);
    retVal.put("itemid" + rowCount, "" + thisItemid);
    rowCount++;
    // 9) Close all DB objects.
    rs.close();
    st.close();
    dbWorker.close(); // Connection too.
    // Write info to our hashtable--Since this container hold virtually anything,
    // you can put in whatever 'metadata' you want about your result set.
    retVal.put("ROWCOUNT", "" + rowCount);
    retVal.put("COLUMNCOUNT", "5");
    retVal.put("STATUS", "OK");
    catch(SQLException e)
    System.out.println("Error in findRecords (" + e.getMessage() + ")");
    retVal.put("STATUS", "ERROR");
    return retVal;
    //============================================================
    // DO NOT CHANGE THE CODE BELOW.
    //============================================================
    public boolean isValid()
    // Does bean contain real data?
    return isBeanDataValid;
    public boolean isError()
    // Returns true if there was a DB error.
    return isDBError;
    public String getErrorMsg()
    // Returns error message, if any.
    return dbErrorMsg;
    //=====================================================================
    // TODO: Remember to comment out main() with /* */ for production code!
    //=====================================================================
    // TEST DRIVER CODE
    public static void main(String[] args)
    // Test driver code goes here.
    String beanName = "inventoryBean";
    String tableName = "products";
    boolean isDataValidationError = false;
    // Exercise CRUD functionality of this bean.
    System.out.println("==============================================================");
    System.out.println("Starting Test Driver for bean " + beanName + "....");
    System.out.println("==============================================================");
    // Create bean.
    inventoryBean myBean = new inventoryBean();
    // Create a new record.
    int newId = myBean.findMaxPrimaryKey();
    newId++;
    boolean rc = myBean.insert("e", "t", "g", "R",
    newId);
    if(rc)
    System.out.println("SUCCESS: Inserted new record #= " + newId + ".");
    else
    System.out.println("ERROR! Can't insert record #= " + newId + ".");
    System.out.println("====================================================");
    System.out.println("VALIDATION FAILED: Test driver generated an error.");
    System.out.println("====================================================");
    return;
    // Retrieve a record
    rc = myBean.findByPrimaryKey(newId);
    if(rc)
    System.out.println("SUCCESS: Record #" + newId + " found.");
    else
    System.out.println("====================================================");
    System.out.println("VALIDATION FAILED: Test driver generated an error.");
    System.out.println("====================================================");
    System.out.println("ERROR! Record #" + newId + " NOT found.");
    // Simulate using set??? accessor methods with test data.
    // (Note: We don't change the primary key.)
    int testItemid = newId;
    System.out.println("Testing set???() accessor methods....");
    System.out.println("Setting Record #" + newId + " to:");
    System.out.println(" inventoryBean.setItem(testItem); // = R");
    myBean.setItem(testItem);
    System.out.println(" inventoryBean.setPlatform(testPlatform); // = Y");
    myBean.setPlatform(testPlatform);
    System.out.println(" inventoryBean.setSerial(testSerial); // = E");
    myBean.setSerial(testSerial);
    System.out.println(" inventoryBean.setDescription(testDescription); // = k");
    myBean.setDescription(testDescription);
    System.out.println(" inventoryBean.setItemid(testItemid); // = " + newId);
    myBean.setItemid(testItemid);
    // Call update.
    rc = myBean.update();
    if(rc)
    System.out.println("SUCCESS: Record #" + newId + " updated.");
    else
    System.out.println("ERROR! Record #" + newId + " NOT updated.");
    System.out.println("====================================================");
    System.out.println("VALIDATION FAILED: Test driver generated an error.");
    System.out.println("====================================================");
    return;
    // Requery and validate each field.
    rc = myBean.findByPrimaryKey(newId);
    if(rc)
    System.out.println("SUCCESS: Updated Record #" + newId + " found.");
    else
    System.out.println("====================================================");
    System.out.println("VALIDATION FAILED: Test driver generated an error.");
    System.out.println("====================================================");
    System.out.println("ERROR! Record #" + newId + " NOT found");
    // Simulate using get??? accessor methods.
    // Validate updated values against test values.
    System.out.println("Validating Record #" + newId + ":");
    String testData;
    String actualItem = myBean.getItem();
    testData = "R";
    if(testData.equals(actualItem))
    System.out.println(" OK: inventoryBean.getItem() = actualItem");
    else
    System.out.println(" ERROR! inventoryBean.getItem() returned [" + actualItem + "] instead of [R]");
    isDataValidationError = true;
    String actualPlatform = myBean.getPlatform();
    testData = "Y";
    if(testData.equals(actualPlatform))
    System.out.println(" OK: inventoryBean.getPlatform() = actualPlatform");
    else
    System.out.println(" ERROR! inventoryBean.getPlatform() returned [" + actualPlatform + "] instead of [Y]");
    isDataValidationError = true;
    String actualSerial = myBean.getSerial();
    testData = "E";
    if(testData.equals(actualSerial))
    System.out.println(" OK: inventoryBean.getSerial() = actualSerial");
    else
    System.out.println(" ERROR! inventoryBean.getSerial() returned [" + actualSerial + "] instead of [E]");
    isDataValidationError = true;
    String actualDescription = myBean.getDescription();
    testData = "k";
    if(testData.equals(actualDescription))
    System.out.println(" OK: inventoryBean.getDescription() = actualDescription");
    else
    System.out.println(" ERROR! inventoryBean.getDescription() returned [" + actualDescription + "] instead of [k]");
    isDataValidationError = true;
    int actualItemid = myBean.getItemid();
    if(actualItemid == newId)
    System.out.println(" OK: inventoryBean.getItemid() = actualItemid");
    else
    System.out.println(" ERROR! inventoryBean.getItemid() returned [" + actualItemid + "] instead of [" + newId + "]");
    isDataValidationError = true;
    // Cleanup with delete.
    rc = myBean.delete(newId);
    if(rc)
    System.out.println("SUCCESS: Record #" + newId + " deleted.");
    else
    System.out.println("ERROR! Record #" + newId + " NOT deleted.");
    // Now test out findRecords() for up to 100 records.
    Hashtable data = myBean.findRecords("itemid > 0", "itemid");
    String s = (String)data.get("STATUS");
    if(s != null && s.equals("OK"))
    s = (String)data.get("ROWCOUNT");
    int rowCount = Integer.parseInt(s);
    if(rowCount > 100) // Just output first 100 records.
    rowCount = 100;
    System.out.println("SUCCESS: Returning " + rowCount + " records (100 max.) using findRecords():");
    for(int i = 0; i < rowCount; i++)
    System.out.println(" Row #" + i + "=" +
    data.get("item" + i) + ", " +
    data.get("platform" + i) + ", " +
    data.get("serial" + i) + ", " +
    data.get("description" + i) + ", " +
    data.get("itemid" + i));
    else
    System.out.println("ERROR! No rows returned using findRecords()!");
    System.out.println("====================================================");
    System.out.println("VALIDATION FAILED: Test driver generated an error.");
    System.out.println("====================================================");
    return;
    if(isDataValidationError == false)
    // Print final success message.
    System.out.println("================================================================================");
    System.out.println("VALIDATION SUCCESS! Bean " + beanName + " passed all automated tests.");
    System.out.println("================================================================================");
    else
    System.out.println("====================================================================================");
    System.out.println("ERROR! Tests completed but bean " + beanName + " had a data validation error.");
    System.out.println("====================================================================================");

    Couple of pointers.
    1 - use [ code ] tags to post code
    2 - that is WAY too much code for more than a cursory glance. You're lucky the problem was easy to spot.
    Your problem lies in your edit JSP form:
    <td>Product Name:</td>
    <td><input name="description" type="text" value="<jsp:getProperty name="inventoryBean" property="item" />"></td>Note that the name of the input field is different from the jsp property you are populating it with.
    In fact, all of your input fields have a name of "description"
    I would recommend on your inventory_admin.jsp page that you put the following debugging code to make sure that the parameter values come through and are set correctly.
      out.println("name = param: " + request.getParameter("name") + "bean = " + inventoryBean.getName() + "<BR>");
      out.println("description = param:" + request.getParameter("description") + "bean = " + inventoryBean.getDescription() + "<BR>");
      ...

  • I can't update iTunes. It says "The feature you are trying to use is on a network resource that is unavailable...

    I can't update iTunes. It says the feature you are trying to use is on a network resource that is unavailable.

    It says Click Ok to try again or enter an alternate path to a folder containing the installation package itunes64.msi in the box below
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an e

    I have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an error message, that it is for 10.6 only.
    It seems that I should have first updated Safari, and then only to Lion, which I didn't. Any idea how I can fix this now without having to rollback to Snow Leopard, update Safari and then go back to Lion?

    Try this Safari5.1 from the installer package
    http://www.filefactory.com/file/cc9005d/n/Safari.pkg.zip
    The download worked better with Firefox not sure why. At the bottom of the page after the captcha>> slow down load is the Free link,  it took about 4 minutes to download on my test.

Maybe you are looking for

  • Media player 11 in vista

    ,by defualt in Media player the option to play dvds and hear sound is not load by defualt its hidden.i have sound blaster li've 5. and sound in any thing i play it does not matter about volume control at this time. in rc i had no dvd sound at all to

  • Jtds and SQL server 2000(Personal Edition) problem

    My application need to work in standalone mode without being connected to the network. I've installed SQL Server 2000(Personal Edition) on Windows XP platform. I've Tomat 4.1 installed on the same machine. My applciation based on jsps and servlets ru

  • Adjusting magnification properties for individual documents in a portfolio

    I have combined several individual documents into a portfolio. I need to change the document's magnification size by resetting the document properties. Up to this point, I have opened each individual document and adjusted the magnification one by one

  • Indesign CS4 won't retain passwords for placed PDFs

    Hi, I've just upgraded to CS4 from CS2 and I'm having a problem with placed PDF files with password protection. I wonder if anyone knows why CS4 seems unable to retain passwords for secure PDF files that I have previously placed. Every time I open a

  • Student and Teacher Version - licence

    where can i get the web-adress from to verify/licence my student and teacher product?? (it wasn't sended my withe the product, maybe cause it was a downloa on amazon...) Thanks fpooth