Exponential Base Solver
Alright, with much fretting I decided to sign up on here to ask some questions. I thought I could do this project on my own, but it seems that I cannot.
Okay, this is the assignment (it is confusing, but then again my professor is not the best at english - as he continues to mention):
Write a program that computes the nth root of a number. Given a real number X greater than 1 and less than -1 and given an integer Y, computer the nth root Z such that Z*Z*Z*Z*Z*Z*Z..(Y times)..Z*Z = X, or Z^Y = X (Remember if X is negative Y must be odd.) The user enters values for X and Y and the porgram calculates Z. Compute Z so that when Z is multiplied Y times it will produce an X which is + or - 0.0000001 of the original value of X. You may only use simple arithmetic to do these computations. That is you may only use multiplication, division, addition, and subtraction.
We are using a class called SavitchIn (which I'm sure some of you are familiar with) for input/output. We are not allowed to use any of the classes in Java that allow for higher math functions. Somehow the prof. wants us to basically create a binary search algorithm, yet we haven't even went over them in the book yet. This project was given out at the point where were learning loops - so that's about as complex as the program can get I suppose (although I've noticed some of the more experienced programmers in our class are using arrays - which isn't what the professor described, yet he's marking them off as finished :-/ ). This is a beginner's programming class mind you, but I think the professor expects us to have had experience with programming. :-/ I've made 7 programs up to this point and have had little trouble.
I ask for tips and maybe some example code, but that is all. I'd like to be able to figure it out on my own (I'm a newbie mind you). :-) And remember, only simple math and SavitchIn may be used.
So here's my base code. It isn't the greatest code in the world, or close to being finished - let alone correct, lol. And some of the variable types I put in the code I haven't actually used yet (most of the stuff in this code will probably have to go). I hope the code isn't too confusing:
public class BinarySearchTest2
public static void main(String[] args)
System.out.println("This program will calculate the base when the user gives the input of an answer and an exponent for the base");
System.out.println( );
double base, exp, ans = 0, testAns = 0, lBase = 1, mid, uBase, count;
char answer;
System.out.print("Please enter a number to be used as an exponent.\nExponent: ");
exp = SavitchIn.readLineDouble( );
System.out.println( );
System.out.print("Please enter a number to be used as an answer.\nAnswer: ");
ans = SavitchIn.readLineDouble( );
System.out.println( );
if ((ans > 1) || (ans < -1) && (exp > 0))
if (exp == 1)
System.out.println("The base is: " + ans);
base = ans/2;
for (count = 0; count <= exp - 2; count++)
if (exp > 1)
testAns = base * base;
if (testAns == ans)
System.out.println ("The base is: " + base);
}
I think you may possibly be deficient in Math rather than programming. Do you know what the Nth root of a number is?
What you need to do is make an algo that will multiply itself N times and give you a target number, or I believe you said to devide a target number by another N times and success is measured by an acceptable error value (small difference between the result and the number being used as a divisor)
The problem can be worked very well by using looping stuctures, that is why it has been assigned as such. The people that are using array are probably making lookup tables where say for a value of 2 you would have....
2 4 8 16 32 64 128 256
so when you want say the 5th root of 32, you go to the 5th colum and search down until you find 32. Once you find it, then you know you have the 5th root in column 1 of the row you are searching. If you have to find roots numbers that are not perfect powers raised to N, then you have to find a bound (and I suspect that is what the arrays are about if you have to find roots of any numbers). Using the lookup method described you can get a boundary for you upper and lower values (my number is between say 16 and 81 and I need the 4th root of it. You will be bounded by 2 and 3 so then you make you estimations say 2.5, and lets say 50 is my number. You try 2.5^4 and get 39.0625 too low so you increast at half the distance between 2.5 and your upper bound of 3, and come up with 2.75 and so on.
If this doesn't get you started, then you need to find a different line of work, or read the book, or talk with your prof, or ...
Similar Messages
-
New security update logging me out of wireless
Forgive me if this is boneheaded...
Yesterday morning (8/22/07) I downloaded the latest security update. Since then, my wireless internet access is sporadic -- what appears to be happening is that it'll work fine for 5-10 minutes, then fail ("you are not connected to the internet"). When I do Network Diagnostics, I have greenlights on ISP connection but not Internet (or server, of course). Then ND asks me to confirm Airport, confirm my wireless base (automatically re-entering the password from keychain) -- and it appears that simply this manual re-log into the wireless base solves all problems and I'm good to go again -- for another 5-10 minutes.
It'd driving me crazy to run ND every few minutes. I can't find security settings that seem to indicate a wireless base inactivity log-out timeframe to change it. Any help appreciated; thanks!First thing I'd do is get Applejack...
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
After installing, reboot holding down CMD+s, then when the prompt shows, type in...
applejack AUTO
Then let it do all 5 of it's things.
At least it'll eliminate some questions if it doesn't fix it.
If that doesn't help, try making a new User to test if they have a problem.
Also, is this an Automount situation on the Server? One thing that can work, try this, please ignore the exact symptoms and connection and Hardware types, it's worked for many others than the stated...
http://docs.info.apple.com/article.html?artnum=304482 -
I installed "Virusbarrier X5" after a friend claimed her machine caught a virus from an email I sent her.
It shows the file name on screen whilst its running as well as progress, viruses etc.
It went really quickly until it started scanning emails (with extension .emlx) and then it took 4 hours to scan over 300,000 of these files.
I checked afterwards and I only have 1500 emails in all my accounts.
So where are the 300,000 files coming from? (I did not have a virus).
Help and advise please?Thanks for the Virus info Mulder.. I am not worried at all about Viruses but wanted to reassure myself that I hadnt infected my friend (after promoting Macs to her for a long time!).
I found the files though: 276,000 of them.
They were stored in "Notes". Although I had only about ten of them originally, it seems that either Mail or Mobile Me was spawning copies (mostly empty files) on an exponential basis.....
They did not show up in the Mail program but after a bit of clicking in the Library/Mail I found the culprit folder.
I am trying to Trash it right now (seems rather stubborn and likes its warm home on my HD).
Hopefully this will be the solution...but no! Even after trashing the "Notes/Messages" Mail Feedback still says I have 276,000 files...
I wish they would separate "Notes" into its own program (which could sync with iPhone..) and then this type of thing may not happen in the future.
(For people curious about this "Notes" are stored under "Reminders" ... in the Mailbox Pane) -
Dear All,
One of our customer has ASCP-SNO 12.1.1. We are facing issue with SNO solve times. The solve times are excessive (7Hrs) at the customer site. Does anyone know of performance settings for SNO? Kindly advice.
The SNO model size unzipped is 761MB. model gzipped 16MB.
Rgds,
ManishManish
We experienced something similar, i have one question, as you know the model processed by SNO has many components,
1.- Sym file
2.- Imports
3.- Solve
4.- Reports(in case)
Wich part of the model take more time?
Could you add times??
in our test we found the next:
1.- Sym file ofen load fast(in most cases) depend of size an virtual memory of the server
you need to check the amount of memory in the server, SNO put the entire model in memory and process everything there, in most cases the memory is not enough
2.- Imports, the time depend of the time of import you load in the model, if 1-4 imports take time, if 5-10 take so much time, if 10 or more time is exponential
3.- Solve time could be tuning to reduce 2 hrs to 30 min.
4.- Report- depend of the kind, some are really fast, other are a headache more that 24 hrs in some cases.
5.- Remember sno is not multi theath if you have 4 o 8 processor in the server it only take one.
Regars
Ernest -
please advice how to solve that problem (in steps):
after completing p6 installation and during upgrading the old Data Base from p6 v8.3 to P6 v8.4 I'm facing that error
((missing permissions: DBMS_REPUTIL. Run the manual script first --> manual_script_before_upgrade.sql)for more help this image is much helpful
1. Open cmd prompt >> Type sqlplus / as sysdba; >> connect sys/oracle@XE as sysdba;
2. Type @ <path>\manual_script_before_install.sql
thanks for Pablo Oyarzo - Oracle for his help as the above answer related to him -
PI/xi issues solve by Basis people
Hi
Please tell me what are the major/normal issues faced by "pi"people,and how that issues can be Solved by "basis"peolpleHi Dhana Dhana,
Issues should not be same for all the users, that is based upon the configuration. We faced the below issue,
Issue: Some java engines will not run, So that some some pages will not open in browser for example RWB(run time workbench) is not opened in our PI system.
Resolution: Try to Disable the particular engine and run the configuration from first and restart the system.
Path: http://<host>:<port>/nwa -> configuration -> Scenarios -> Configuration Wizard -> Functional unit configuration UI.
Regards,
Patan Thavaheer. -
[Solved] Error upon selecting "base" package during install process
Hey guys,
I got stuck in the install process. the following issue never occured to be before.
Upon selecting the base package during install and pressing "OK", i recieve the following error:
ERROR: check_is_in needs a non-empty needle as $1 and a haystack as $2!(gote: check_is_in '' 'base')
and that throws me out of the installation process.
A google search on the error message only returned sites where the responsible script is postet.
I am installing arch linux on a lenovo x220, on a seperate ext4 partition.
Any help is appreciated, thanks!
Last edited by replax (2012-11-06 20:30:55)ArielVoynes wrote:The problem is with mirrors.kernel.org (now that I remember, I've read about kernel.org having trouble with their servers, is this still true?). Just choosing another mirror solves the problem.
I just read through this post and it did fix my issue. However, I do not remember what mirror I selected.
It was a few selections below kernel.org......
Last edited by BradJ (2011-09-20 04:27:17) -
[solved] cannot install pacstrap /mnt base to UEFI without internet
Hello everybody.
Today I decided to install ArchLinux because of some problems on my Linux Mint System.
On my laptop Lenovo yoga 13 while using Mint I installed Wi-Fi drivers after installation. It is not working out of the box.
There is no Ethernet port on this laptop.
In Begginer's Guide I have read that internet may be set up later. Ok, I skipped it and do next steps as in manual.
When I go to step of installing base system the following happens
# pacstrap /mnt base base-devel
Error strings are running: could not get file ... from ... Could not resolve host ...
And at the end:
Cannot synchronize any database
Cannot start request (error in boot library)
Error ==> Failed to install pakages to new root
I stopped here. Why it tries to connect to internet?
P.S. I am installing from fresh iso from 2014.05.01 via LiveUSB.
Please tell me what should I do?
[Sorry if my English is bad ]
Last edited by agent0 (2014-05-13 15:40:31)Sorry, forget to write. I have tested to execute pacman with -U option too. Here is its output:
загрузка пакетов... (English: loading packages)
разрешение зависимостей... (English: solving dependencies)
проверка на взаимную несовместимость... (English: check for incompatibiility)
Packets (12): binutils-2.24-3 cloog-0.18.1-2 dkms-2.2.0.3-14 gcc-4.9.0-1 guile-2.0.11-1 isl-0.12.2-1 libltdl-2.4.2-13 libmpc-1.0.2-2 linux-headers-3.14.2-1 make-4.0-2 patch-2.7.1-2 dkms-8723au-git-0.1-0
It will be loaded: 35,83 MiB
It will be installed: 165,54 MiB
:: Start installing? [Y/n] _
What packages does it mean: dependent pkgs or pkgs that will be downloaded?
Again, I cannot download anything, so I need to install theese packages the same way as I try to install this one for wifi?
And for installing theese pkgs, perhaps, I will need to install packages, dependent on theese? Oh... Recursion.
What should I do? -
[SOLVED] Cannot upgrade virtuoso-base and libdrm-nouveau1
Following the directions here, I see the following. Where do I go from here?
% sudo xargs sh -c 'pacman -Sd "$@" < /dev/tty' --
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...
:: python2-beautifulsoup3 and python-beautifulsoup are in conflict. Remove python-beautifulsoup? [y/N] y
:: libkcddb and kdemultimedia-kioslave are in conflict. Remove kdemultimedia-kioslave? [y/N] y
Targets (527): kde-base-artwork-4.9.0-1 kdeedu-pairs-4.9.0-1
kdemultimedia-kioslave-4.8.4-1 [removal]
kdeplasma-addons-runners-youtube-4.9.0-1 libanjuta-3.4.4-1
libdrm-nouveau1-2.4.33-1 libkgapi-0.4.1-1
libmusicbrainz5-5.0.1-1 nepomuk-core-4.9.0-1
pyqt-common-4.9.4-2 python-beautifulsoup-3.2.0-2 [removal]
python2-beautifulsoup3-3.2.1-1 virtuoso-base-6.1.6-1
accountsservice-0.6.22-1 akonadi-1.8.0-1 amarok-2.5.0-5
anjuta-3.4.4-1 ati-dri-8.0.4-2 attica-0.4.0-1 audacious-3.3-1
audacity-2.0.1-1 avogadro-1.0.3-6 baobab-3.4.1-2
binutils-multilib-2.22-8 blas-3.4.1-1 blender-4:2.64-2
bluefish-2.2.3-1 blueman-1.23-4 bluez-4.101-1 boost-1.50.0-2
boost-libs-1.50.0-2 calibre-0.8.63-1
calligra-braindump-2.4.3-3 calligra-flow-2.4.3-3
calligra-interfaces-2.4.3-3 calligra-karbon-2.4.3-3
calligra-kexi-2.4.3-3 calligra-kounavail-2.4.3-3
calligra-krita-2.4.3-3 calligra-libs-2.4.3-3
calligra-plan-2.4.3-3 calligra-plugins-2.4.3-3
calligra-sheets-2.4.3-3 calligra-stage-2.4.3-3
calligra-tools-2.4.3-3 calligra-words-2.4.3-3
chromium-21.0.1180.57-1 clementine-1.0.1-7 clucene-2.3.3.4-6
cryptsetup-1.5.0-1 cups-1.6.1-2 cups-filters-1.0.20-1
dbus-1.6.4-1 dbus-core-1.6.4-1 dbus-glib-0.100-1
device-mapper-2.02.96-3 digikam-2.7.0-2 distcc-3.1-7
doxygen-1.8.1.2-1 eclipse-4.2-1 ekiga-3.3.2-6
elfutils-0.154-1 empathy-3.4.2.3-1 enblend-enfuse-4.0-6
evolution-3.4.3-1 exiv2-0.23-1 ffmpeg-1:0.11.1-1
ffmpegthumbnailer-2.0.7-5 firefox-14.0.1-1
foomatic-db-engine-1:4.0.17_20120712-1
foomatic-db-nonfree-1:4.0.17_20120712-1
foomatic-filters-1:4.0.17_20120712-1 freevo-1.9.0-9
gcc-fortran-4.7.1-5 gcc-libs-multilib-4.7.1-5
gcc-multilib-4.7.1-5 geeqie-1.0-7 gegl-0.2.0-2
gimp-ufraw-0.18-5 git-1.7.11.4-1 glew-1.8.0-1 glib2-2.32.4-1
glibmm-2.32.1-1 gmime-2.6.10-1 gnome-bluetooth-3.4.2-1
gnome-color-manager-3.4.2-2 gnome-keyring-3.4.1-3
gnome-screensaver-3.4.4-1 gnome-shell-3.4.2-1 gnutls-3.0.22-1
gpsd-3.6-2 grep-2.13-2 gtk2-2.24.11-2 gtk3-3.4.4-1
gtkdatabox-0.9.1.3-1 gtkhtml4-4.4.3-1 gtkpod-2.1.2-3
gvfs-afc-1.12.3-3 gvfs-obexftp-1.12.3-3 gvim-7.3.600-1
handbrake-0.9.8-1 hplip-3.12.6-3 hugin-2011.4.0-5
icedtea-web-java7-1.2.1-2 icu-49.1.2-2 initscripts-2012.07.5-1
inkscape-0.48.3.1-4 intel-dri-8.0.4-2 jade-1.2.1-8
k3b-2.0.2-6 kactivities-4.9.0-1
kde-meta-kdeaccessibility-4.9-3 kde-meta-kdeadmin-4.9-3
kde-meta-kdeartwork-4.9-3 kde-meta-kdebase-4.9-3
kde-meta-kdeedu-4.9-3 kde-meta-kdegames-4.9-3
kde-meta-kdegraphics-4.9-3 kde-meta-kdemultimedia-4.9-3
kde-meta-kdenetwork-4.9-3 kde-meta-kdepim-4.9-3
kde-meta-kdeplasma-addons-4.9-3 kde-meta-kdesdk-4.9-3
kde-meta-kdetoys-4.9-3 kde-meta-kdeutils-4.9-3
kde-meta-kdewebdev-4.9-3 kdeaccessibility-jovie-4.9.0-1
kdeaccessibility-kaccessible-4.9.0-1
kdeaccessibility-kmag-4.9.0-1
kdeaccessibility-kmousetool-4.9.0-1
kdeaccessibility-kmouth-4.9.0-1 kdeadmin-kcron-4.9.0-1
kdeadmin-ksystemlog-4.9.0-1 kdeadmin-kuser-4.9.0-1
kdeadmin-system-config-printer-kde-4.9.0-1
kdeartwork-kscreensaver-4.9.0-1 kdeartwork-styles-4.9.0-1
kdebase-dolphin-4.9.0-1 kdebase-katepart-4.9.0-1
kdebase-kdepasswd-4.9.0-1 kdebase-kdialog-4.9.0-1
kdebase-keditbookmarks-4.9.0-1 kdebase-kfind-4.9.0-1
kdebase-konq-plugins-4.9.0-1 kdebase-konqueror-4.9.0-1
kdebase-konsole-4.9.0-1 kdebase-kwrite-4.9.0-1
kdebase-lib-4.9.0-1 kdebase-plasma-4.9.0-1
kdebase-runtime-4.9.0-3 kdebase-workspace-4.9.0-1
kdebindings-python-4.9.0-1 kdebindings-python2-4.9.0-1
kdeedu-analitza-4.9.0-1 kdeedu-blinken-4.9.0-1
kdeedu-cantor-4.9.0-1 kdeedu-kalgebra-4.9.0-1
kdeedu-kalzium-4.9.0-1 kdeedu-kanagram-4.9.0-1
kdeedu-kbruch-4.9.0-1 kdeedu-kgeography-4.9.0-1
kdeedu-khangman-4.9.0-1 kdeedu-kig-4.9.0-1
kdeedu-kiten-4.9.0-1 kdeedu-klettres-4.9.0-1
kdeedu-kmplot-4.9.0-1 kdeedu-kstars-4.9.0-1
kdeedu-ktouch-4.9.0-1 kdeedu-kturtle-4.9.0-1
kdeedu-kwordquiz-4.9.0-1 kdeedu-marble-4.9.0-1
kdeedu-parley-4.9.0-1 kdeedu-rocs-4.9.0-1 kdeedu-step-4.9.0-1
kdegames-bomber-4.9.0-1 kdegames-bovo-4.9.0-1
kdegames-granatier-4.9.0-1 kdegames-kajongg-4.9.0-1
kdegames-kapman-4.9.0-1 kdegames-katomic-4.9.0-1
kdegames-kbattleship-4.9.0-1 kdegames-kblackbox-4.9.0-1
kdegames-kblocks-4.9.0-1 kdegames-kbounce-4.9.0-1
kdegames-kbreakout-4.9.0-1 kdegames-kdiamond-4.9.0-1
kdegames-kfourinline-4.9.0-1 kdegames-kgoldrunner-4.9.0-1
kdegames-kigo-4.9.0-1 kdegames-killbots-4.9.0-1
kdegames-kiriki-4.9.0-1 kdegames-kjumpingcube-4.9.0-1
kdegames-klickety-4.9.0-1 kdegames-klines-4.9.0-1
kdegames-kmahjongg-4.9.0-1 kdegames-kmines-4.9.0-1
kdegames-knetwalk-4.9.0-1 kdegames-kolf-4.9.0-1
kdegames-kollision-4.9.0-1 kdegames-konquest-4.9.0-1
kdegames-kpatience-4.9.0-1 kdegames-kreversi-4.9.0-1
kdegames-kshisen-4.9.0-1 kdegames-ksirk-4.9.0-1
kdegames-kspaceduel-4.9.0-1 kdegames-ksquares-4.9.0-1
kdegames-ksudoku-4.9.0-1 kdegames-ktron-4.9.0-1
kdegames-ktuberling-4.9.0-1 kdegames-kubrick-4.9.0-1
kdegames-libkdegames-4.9.0-1 kdegames-libkmahjongg-4.9.0-1
kdegames-lskat-4.9.0-1 kdegames-palapeli-4.9.0-1
kdegraphics-gwenview-4.9.0-2 kdegraphics-kamera-4.9.0-1
kdegraphics-kcolorchooser-4.9.0-1 kdegraphics-kgamma-4.9.0-1
kdegraphics-kolourpaint-4.9.0-1 kdegraphics-kruler-4.9.0-1
kdegraphics-ksaneplugin-4.9.0-1 kdegraphics-ksnapshot-4.9.0-1
kdegraphics-mobipocket-4.9.0-1 kdegraphics-okular-4.9.0-1
kdegraphics-strigi-analyzer-4.9.0-1 kdegraphics-svgpart-4.9.0-1
kdegraphics-thumbnailers-4.9.0-1 kdelibs-4.9.0-4
kdemultimedia-audiocd-kio-4.9.0-1
kdemultimedia-dragonplayer-4.9.0-1
kdemultimedia-ffmpegthumbs-4.9.0-1 kdemultimedia-juk-4.9.0-1
kdemultimedia-kmix-4.9.0-1 kdemultimedia-kscd-4.9.0-1
kdemultimedia-mplayerthumbs-4.9.0-1
kdenetwork-filesharing-4.9.0-1 kdenetwork-kdnssd-4.9.0-1
kdenetwork-kget-4.9.0-1 kdenetwork-kopete-4.9.0-1
kdenetwork-kppp-4.9.0-1 kdenetwork-krdc-4.9.0-1
kdenetwork-krfb-4.9.0-1 kdepim-akonadiconsole-4.9.0-2
kdepim-akregator-4.9.0-2 kdepim-blogilo-4.9.0-2
kdepim-console-4.9.0-2 kdepim-kaddressbook-4.9.0-2
kdepim-kalarm-4.9.0-2 kdepim-kjots-4.9.0-2
kdepim-kleopatra-4.9.0-2 kdepim-kmail-4.9.0-2
kdepim-knode-4.9.0-2 kdepim-knotes-4.9.0-2
kdepim-kontact-4.9.0-2 kdepim-korganizer-4.9.0-2
kdepim-kresources-4.9.0-2 kdepim-ktimetracker-4.9.0-2
kdepim-libkdepim-4.9.0-2 kdepim-runtime-4.9.0-2
kdepimlibs-4.9.0-1 kdeplasma-addons-applets-bball-4.9.0-1
kdeplasma-addons-applets-binary-clock-4.9.0-1
kdeplasma-addons-applets-blackboard-4.9.0-1
kdeplasma-addons-applets-bookmarks-4.9.0-1
kdeplasma-addons-applets-bubblemon-4.9.0-1
kdeplasma-addons-applets-calculator-4.9.0-1
kdeplasma-addons-applets-charselect-4.9.0-1
kdeplasma-addons-applets-comic-4.9.0-1
kdeplasma-addons-applets-community-4.9.0-1
kdeplasma-addons-applets-dict-4.9.0-1
kdeplasma-addons-applets-eyes-4.9.0-1
kdeplasma-addons-applets-fifteenpuzzle-4.9.0-1
kdeplasma-addons-applets-filewatcher-4.9.0-1
kdeplasma-addons-applets-frame-4.9.0-1
kdeplasma-addons-applets-fuzzy-clock-4.9.0-1
kdeplasma-addons-applets-icontasks-4.9.0-1
kdeplasma-addons-applets-incomingmsg-4.9.0-1
kdeplasma-addons-applets-kdeobservatory-4.9.0-1
kdeplasma-addons-applets-kimpanel-4.9.0-1
kdeplasma-addons-applets-knowledgebase-4.9.0-1
kdeplasma-addons-applets-kolourpicker-4.9.0-1
kdeplasma-addons-applets-konqprofiles-4.9.0-1
kdeplasma-addons-applets-konsoleprofiles-4.9.0-1
kdeplasma-addons-applets-lancelot-4.9.0-1
kdeplasma-addons-applets-leavenote-4.9.0-1
kdeplasma-addons-applets-life-4.9.0-1
kdeplasma-addons-applets-luna-4.9.0-1
kdeplasma-addons-applets-magnifique-4.9.0-1
kdeplasma-addons-applets-mediaplayer-4.9.0-1
kdeplasma-addons-applets-microblog-4.9.0-1
kdeplasma-addons-applets-news-4.9.0-1
kdeplasma-addons-applets-notes-4.9.0-1
kdeplasma-addons-applets-nowplaying-4.9.0-1
kdeplasma-addons-applets-paste-4.9.0-1
kdeplasma-addons-applets-pastebin-4.9.0-1
kdeplasma-addons-applets-plasmaboard-4.9.0-1
kdeplasma-addons-applets-previewer-4.9.0-1
kdeplasma-addons-applets-qalculate-4.9.0-1
kdeplasma-addons-applets-rememberthemilk-4.9.0-1
kdeplasma-addons-applets-rssnow-4.9.0-1
kdeplasma-addons-applets-showdashboard-4.9.0-1
kdeplasma-addons-applets-showdesktop-4.9.0-1
kdeplasma-addons-applets-social-news-4.9.0-1
kdeplasma-addons-applets-spellcheck-4.9.0-1
kdeplasma-addons-applets-systemloadviewer-4.9.0-1
kdeplasma-addons-applets-timer-4.9.0-1
kdeplasma-addons-applets-unitconverter-4.9.0-1
kdeplasma-addons-applets-weather-4.9.0-1
kdeplasma-addons-applets-weatherstation-4.9.0-1
kdeplasma-addons-applets-webslice-4.9.0-1
kdeplasma-addons-containments-4.9.0-1
kdeplasma-addons-libs-4.9.0-1
kdeplasma-addons-runners-audioplayercontrol-4.9.0-1
kdeplasma-addons-runners-browserhistory-4.9.0-1
kdeplasma-addons-runners-characters-4.9.0-1
kdeplasma-addons-runners-contacts-4.9.0-1
kdeplasma-addons-runners-converter-4.9.0-1
kdeplasma-addons-runners-datetime-4.9.0-1
kdeplasma-addons-runners-events-4.9.0-1
kdeplasma-addons-runners-katesessions-4.9.0-1
kdeplasma-addons-runners-konquerorsessions-4.9.0-1
kdeplasma-addons-runners-konsolesessions-4.9.0-1
kdeplasma-addons-runners-kopete-4.9.0-1
kdeplasma-addons-runners-mediawiki-4.9.0-1
kdeplasma-addons-runners-spellchecker-4.9.0-1
kdeplasma-addons-wallpapers-mandelbrot-4.9.0-1
kdeplasma-addons-wallpapers-marble-4.9.0-1
kdeplasma-addons-wallpapers-pattern-4.9.0-1
kdeplasma-addons-wallpapers-potd-4.9.0-1
kdeplasma-addons-wallpapers-virus-4.9.0-1
kdeplasma-addons-wallpapers-weather-4.9.0-1
kdesdk-cervisia-4.9.0-1 kdesdk-dolphin-plugins-4.9.0-1
kdesdk-kapptemplate-4.9.0-1 kdesdk-kate-4.9.0-1
kdesdk-kcachegrind-4.9.0-1 kdesdk-kioslave-4.9.0-1
kdesdk-kmtrace-4.9.0-1 kdesdk-kompare-4.9.0-1
kdesdk-kpartloader-4.9.0-1 kdesdk-kstartperf-4.9.0-1
kdesdk-kuiviewer-4.9.0-1 kdesdk-lokalize-4.9.0-1
kdesdk-okteta-4.9.0-1 kdesdk-poxml-4.9.0-1
kdesdk-strigi-analyzer-4.9.0-1 kdesdk-umbrello-4.9.0-1
kdetoys-amor-4.9.0-1 kdetoys-kteatime-4.9.0-1
kdetoys-ktux-4.9.0-1 kdeutils-ark-4.9.0-1
kdeutils-filelight-4.9.0-1 kdeutils-kcalc-4.9.0-1
kdeutils-kcharselect-4.9.0-1 kdeutils-kdf-4.9.0-1
kdeutils-kfloppy-4.9.0-1 kdeutils-kgpg-4.9.0-1
kdeutils-kremotecontrol-4.9.0-1 kdeutils-ktimer-4.9.0-1
kdeutils-kwallet-4.9.0-1 kdeutils-printer-applet-4.9.0-1
kdeutils-superkaramba-4.9.0-1 kdeutils-sweeper-4.9.0-1
kdewebdev-kfilereplace-4.9.0-1
kdewebdev-kimagemapeditor-4.9.0-1 kdewebdev-klinkstatus-4.9.0-1
kdewebdev-kommander-4.9.0-1 kipi-plugins-2.7.0-2
klavaro-1.9.5-2 lapack-3.4.1-1 lftp-4.3.8-1
lib32-dbus-core-1.6.4-1 lib32-gcc-libs-4.7.1-5
lib32-glib2-2.32.4-1 lib32-gnutls-3.0.22-1
lib32-gtk2-2.24.11-1 lib32-intel-dri-8.0.4-4
lib32-libcups-1.6.1-1 lib32-libgl-8.0.4-4 lib32-libpulse-2.1-1
lib32-mesa-8.0.4-4 lib32-pango-1.30.1-1 lib32-pcre-8.31-1
lib32-qt-4.8.2-2 libcec-1.8.0-1 libcups-1.6.1-2
libegl-8.0.4-2 libgexiv2-0.4.1-3 libgl-8.0.4-2
libgpod-0.8.2-6 libimobiledevice-1.1.4-2 libkcddb-4.9.0-1
libkcompactdisc-4.9.0-1 libkdcraw-4.9.0-1 libkdeedu-4.9.0-1
libkexiv2-4.9.0-3 libkface-2.7.0-2 libkgeomap-2.7.0-2
libkipi-4.9.0-1 libksane-4.9.0-1 libktorrent-1.2.1-2
libkvkontakte-2.7.0-2 libmediawiki-2.7.0-2
libmicrohttpd-0.9.21-1 libmp4v2-2.0.0-2 libpst-0.6.54-2
libpulse-2.1-1 libpurple-2.10.6-1 libquicktime-1.2.4-2
libreoffice-calc-3.5.5-1 libreoffice-common-3.5.5-1
libreoffice-draw-3.5.5-1
libreoffice-extension-pdfimport-3.5.5-1
libreoffice-gnome-3.5.5-1 libreoffice-impress-3.5.5-1
libreoffice-math-3.5.5-1 libreoffice-writer-3.5.5-1
libtool-2.4.2-6 libtorrent-rasterbar-1:0.16.2-1
libtracker-sparql-0.14.2-1 libva-1.1.0-1
libva-driver-intel-1.0.18-1 libvirt-0.9.13-2 libwacom-0.6-1
libwebkit-1.8.2-1 libwebkit3-1.8.2-1 linux-3.4.7-1
linux-lts-3.0.38-1 lvm2-2.02.96-3 lxde-common-0.5.5-2
lxdm-0.4.1-14 mashup-3.5-2 mediastreamer-2.8.2-2 mesa-8.0.4-2
mkinitcpio-0.10-1 mpd-0.17-2 mplayer-35014-1
mythplugins-mytharchive-1:0.25.2-1
mythplugins-mythbrowser-1:0.25.2-1
mythplugins-mythgallery-1:0.25.2-1
mythplugins-mythgame-1:0.25.2-1
mythplugins-mythmusic-1:0.25.2-1
mythplugins-mythnetvision-1:0.25.2-1
mythplugins-mythnews-1:0.25.2-1
mythplugins-mythweather-1:0.25.2-1
mythplugins-mythweb-1:0.25.2-1
mythplugins-mythzoneminder-1:0.25.2-1 mythtv-1:0.25.2-1
ncmpcpp-0.5.10-2 networkmanager-0.9.4.0-6 nmap-6.01-1
nouveau-dri-8.0.4-2 obexd-client-0.47-1 octave-3.6.2-1
opal-3.10.5-1 opencv-2.4.2-2 openimageio-1.0.8-1
pcmanfm-0.9.10-3 pcre-8.31-1 php-5.4.5-1 pidgin-2.10.6-1
pkg-config-0.27-1 poppler-0.20.2-1 poppler-glib-0.20.2-1
poppler-qt-0.20.2-1 ptlib-2.10.5-1 pulseaudio-2.1-1
pycups-1.9.62-1 pyqt-4.9.4-2 python-dbus-1.1.1-1
python2-dbus-1.1.1-1 python2-matplotlib-1.1.1-1
python2-numpy-1.6.2-1 python2-pyqt-4.9.4-2 qemu-kvm-1.1.1-1
qscintilla-2.6.2-1 qt-4.8.2-3 qtcreator-2.5.1-1 r-2.15.1-2
racket-5.2.1-3 raptor-2.0.8-1 rhythmbox-2.97-2 samba-3.6.6-1
scribus-1.4.1-1 sdlmame-0.146.u4-2 skype-4.0.0.8-1
smartmontools-5.43-1 soprano-2.8.0-2 strigi-0.7.7-2
suitesparse-4.0.2-1 svga-dri-8.0.4-2 syslog-ng-3.3.5-2
system-config-printer-common-1.3.10-1 systemd-tools-187-4
taglib-1.7.2-2 telepathy-qt-0.9.3-1 tellico-2.3.6-2
texlive-bin-2012.0-3 texlive-core-2012.26892-2
thunderbird-14.0-1 tracker-0.14.2-1 transcode-1.1.7-5
transmission-gtk-2.61-1 unetbootin-578-1 upower-0.9.17-2
vala-0.16.1-1 valgrind-3.7.0-4 virt-manager-0.9.3-1
virtinst-0.600.2-1 virtualbox-4.1.18-4
virtualbox-modules-4.1.18-4 virtviewer-0.5.3-1 vlc-2.0.3-2
wine-1.5.10-1 wine_gecko-1.7-1 wireshark-cli-1.8.1-1
wireshark-gtk-1.8.1-1 wpa_supplicant-1.0-1 xbmc-11.0-6
xf86-video-ati-1:6.14.6-1 xf86-video-intel-2.20.2-2
xf86-video-nouveau-1.0.1-1 xine-lib-1.2.2-1 xlockmore-5.40-1
xorg-server-1.12.3-1 xscreensaver-5.19-1 zsh-5.0.0-2
Total Installed Size: 5552.36 MiB
Net Upgrade Size: 55.65 MiB
Proceed with installation? [Y/n]
(525/525) checking package integrity [----------------------] 100%
(525/525) loading package files [----------------------] 100%
(525/525) checking for file conflicts [----------------------] 100%
error: failed to commit transaction (conflicting files)
virtuoso-base: /usr/bin/isql-vt exists in filesystem
virtuoso-base: /usr/bin/isqlw-vt exists in filesystem
virtuoso-base: /usr/bin/virtuoso-t exists in filesystem
virtuoso-base: /usr/lib/libvirtuoso-t.a exists in filesystem
virtuoso-base: /usr/lib/virtodbc.a exists in filesystem
virtuoso-base: /usr/lib/virtodbc.so exists in filesystem
virtuoso-base: /usr/lib/virtodbc_r.a exists in filesystem
virtuoso-base: /usr/lib/virtodbc_r.so exists in filesystem
virtuoso-base: /usr/lib/virtodbcu.a exists in filesystem
virtuoso-base: /usr/lib/virtodbcu.so exists in filesystem
virtuoso-base: /usr/lib/virtodbcu_r.a exists in filesystem
virtuoso-base: /usr/lib/virtodbcu_r.so exists in filesystem
libdrm-nouveau1: /usr/lib/libdrm_nouveau.so.1 exists in filesystem
libdrm-nouveau1: /usr/lib/libdrm_nouveau.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
Last edited by hexadecagram (2012-08-10 00:32:45)I was inspired after reading this post.
% sudo pacman -Rdd virtuoso libdrm libdrm-nouveau
% sudo pacman -S virtuoso-base libdrm libdrm-nouveau1
% sudo xargs sh -c 'pacman -Sd "$@" < /dev/tty' --
% sudo pacman -Su
There were a few other packages needing manual intervention (sip and python-sip). But now I've noticed that I've gotten missing modules errors during mkinitcpio and I'm seeing "glibc: /lib exists in filesystem."
I'm marking this as solved while I wade through those other issues. -
[SOLVED] Mirrorlist's error installing the base system
Hi!
I'm trying to install ArchLinux on my Acer Aspire 5750G (I'm following the "Beginners' Guide").
I managed to establish a Wi-Fi connection (Although "wifi-menu" didn't work: I used the wpa_supplicant function. But this isn't the purpose of the thread) and to mount the various partitions. But now I have some problems installing the base system.
Infact, when I go for:
pacstrap -i /mnt base
I get an error like:
error: failed retrieving file 'core.db' from archlinux.openlabto.org : Resolving timed out after 10463 milliseconds
And it continues like this for each mirror of the mirrorlist, so I think that they're not the problem.
And its not even a problem of my internet connection, because if I try the "ping" command it works.
I have to say that my iso is the "July" one, because when they released the last one I had already burnt mine to a DVD. Maybe that's way I get this error, but I'm note sure.
I've searched for some solutions on the forum, and someone said that after some time it should function.
Anyway, how can I resolve this issue?
Thanks in advance.
Last edited by Wantoast (2013-08-07 17:07:28)drcouzelis wrote:The month old installation media shouldn't be a problem.
Definitely. I have just tried with the newest version and the problem occurred again.
drcouzelis wrote:
Does the Internet connection really work? Can you load a website in a web browser?
# Use links (or links2 or lynx, whatever's installed)
links archlinux.org
link will not execute and completion _links exsists.
EDIT: I used elinks and Internet works. I'm quite sure it's not a connection problem ("Quite" because if wifi-menu didn't work there should be a reason).
Last edited by Wantoast (2013-08-07 14:57:09) -
After installing Firefox 4 Beta my graphics card keept crashing on my laptop. After looking at the reliability report on the laptop i noticed that a key event that happend shortly before the video crashing began was that i installed Firefox 4 Beta. From this i uninstalled Firefox 4 Beta and went back to Firefox 3.6. My laptop has not had a video crash since then.
Laptop: Toshiba Satellite A505-S6035
OS: Windows 7 Home Premium 64-bit
Video Graphics: NVIDIA® GeForce® GT 330M with 1GB GDDR3nTia89 wrote:try to downgrade the kernel with a working version
Thanks for your reply! Actually, yesterday I upgraded to the new kernel (version 3.4.3-1) and my laptop has not freezed since then. So, maybe I will wait for a couple of days and hopefully mark this as solved. -
[SOLVED] pacman-color base text is black
I would like the 'base' text (normal stuff, like the text telling you repos are up to date) in pacman-color to be grey, as I am going to be using a terminal emulator with a black background. Unfortunately, pacman-color seems bent on using a black font for its text. I can change most colors in /etc/pacman.d/color.conf, but not that. I tried adding a new line, 'Black = white' or similar, but it complains it doesn't know 'Black'.
Any help? Thanks!
Last edited by Ranguvar (2008-10-28 01:58:03)Doesn't work
EDIT: Got it working, but I have no clue how. Just randomly started. Go figure. In case someone else comes along with the same problem, I think the fix happened when editing my .Xdefaults... here's part of mine to try and see if something fixes it.
xterm*background: black
xterm*foreground: light grey
xterm*cursorColor: navy
xterm*pointerColor: white
xterm*pointerColorBackground: black
xterm*faceName: Terminus
xterm*faceSize: 13
Last edited by Ranguvar (2008-10-28 01:57:54) -
`pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]
Hi,
In the process of trying to install Arch (on Acer Aspire V3, UEFI Bios, dual-boot with win 8.1) I accidentally skipped the step of manually creating a configuration file to add an entry for Arch Linux to the gummiboot manager. As a result I could not boot into arch and also failed chrooting into it. I then tried to wipe out the linux partitions (root and home) and reinstall the base system, but after wiping them out and loading again arch from the live USB and running
pacstrap -i /mnt base base-devel
I got the following error:
error: failed to commit transaction (conflicting files)
linux: mnt/boot/vmlinuz-linux exists in filesystem
I tried looking it up online but the only similar thing I could find was the Beginners guide entry saying I should run:
pacman-key --init && pacman-key --populate archlinux
I ran it but it didn't help me.
I also ran
efibootmgr -B -b <number>
to delete the linux entry but that did not help either (i.e. the linux entry is gone, but I still get that error message).
I'd like to wipe out any remaining 'leftovers' of the old linux installation and make a new one, without damaging my windows installation (which I assume should mean without wiping out the EFI partition).
How can I achieve that?
Last edited by rangel (2014-02-25 09:45:31)I have root and home on two separate partitions. I wiped them by deleting the partitions and making new ones using cgdisk. According to this I mounted the EFI system (which is on a separate partition, which came with the win installation) on /mnt/boot using:
mkdir -p /mnt/boot
mount /dev/sdXY /mnt/boot
I assume (but not entirely sure) that I should delete whatever's left in the EFI partition, but I'd like to do it 'surgically' and not wipe it out (so as not to damage the win installation). -
[SOLVED] Cannot install qt5-base
To update smplayer I need qt5-base, but there seems to be a conflict between something I have installed and qtchooser:
# pacman -S smplayer
resolving dependencies...
looking for inter-conflicts...
Packages (4): qt5-base-5.2.1-3 qt5-script-5.2.1-3 qtchooser-39-1 smplayer-14.3.0-1
Total Installed Size: 65.04 MiB
Net Upgrade Size: 55.23 MiB
:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring [################################################################] 100%
(4/4) checking package integrity [################################################################] 100%
(4/4) loading package files [################################################################] 100%
(4/4) checking for file conflicts [################################################################] 100%
error: failed to commit transaction (conflicting files)
qtchooser: /usr/bin/qdbus exists in filesystem
qtchooser: /usr/bin/qdbusviewer exists in filesystem
Errors occurred, no packages were upgraded.
# pacman -Qo /usr/bin/qdbus
error: No package owns /usr/bin/qdbus
Does anyone know if it is safe to remove qdbus and qdbusviewer and then run the update?
Cheers
Andrew
Last edited by fdservices (2014-08-11 07:16:13)@fredbezies
It is a file from qtchooser.
- no it isn't, because that is what I am trying to install
@Mr.Elendig
sticky thread is sticky
says
As a user, you must figure out what is causing the conflict and act accordingly.
which is what I am trying to do
Also, always use -Syu when installing things
Yes, I do, I just used -S to illustrate that it was smplayer calling in the dependencies and causing the conflict.
Thanks anyway
Andrew -
[SOLVED] Cannot install base
Hello guys,
I try to install Arch linux on my new laptop but pacstrap fails and returns the following error:
Netcfg and netctl are in conflict.
How the hell on earth I remove netcfg ? Is there a way to switch off community repo or to skip that package ( netcfg ) ?
Thanx.
Last edited by xfce (2013-07-16 11:19:50)xfce wrote:
pacstram -i /mnt base
returns netcfg in community repo if I remember right.
I can take a picture of my screen.
Dont you think that should be
pacstrap -i /mnt base
instead of pacstram
and other thing you know you can remove netcfg by
pacman -Rns netcfg
and yes
lolilolicon wrote:Why is netcfg installed in the first place?
or
you can try a netinstall "via netboot".
Last edited by arcon (2013-07-16 11:12:11)
Maybe you are looking for
-
I can not scroll through web pages with the scroll feature on my touch pad. It worked in 3.6 and all other programs that I use. I have tried 4.0 twice with the same results, I've restarted, rebooted etc. This should not be application dependant but a
-
How to create popup Windows in WebDynpro
I am learning WebDynpro and have developed a sample application where i ask the user to login. In case of incorrect login I want to display a popup window which shows an error message and has an ok button on it. On click of the OK button i want to cl
-
Macbook Pro 2011 destroys SD cards!
Here's a weird one. I take a perfectly good SD card out of my Canon SD750 point and shoot, and put it in the side slot on my 2011 MBP, import the photos into iPhoto, and eject the card by dragging it to the wastebasket. When I put the card back into
-
How do i register Photoshop CS6?
When I enter my serial number I get a message that there is no qualifying product on my system although I have installed CS6.
-
No sound coming through sound board with Adobe cs5.5
I nstalled adobe cs5.5 and im geeting no sound through my sound board