Server :: An Unresolvable Problem Occurred While Calculating The Upgrade
Dec 21, 2010
I am trying to update from ubuntu 10.04.1 to 10.10 using the do-release-upgrade command. I get this error:
Code:
An unresolvable problem occurred while calculating the upgrade: The package 'update-manager-core' is marked for removal but it is in the removal blacklist.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
The first two can't be correct right? So... If the third one is true. How can I find these packages? Or, is there any other way to upgrade to 10.10?
I have just tried to upgrade to Ubuntu 10.10 from 10.04 using the update manager
It asks me for me password and then a window opens saying "Upgrading Ubuntu to version 10.10"
It gets to "setting new software channels" then a message pops up saying "third party sources disabled" next a little error icon appears in the Notification Area then another message saying: Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
This can be caused by: -Upgrading to a pre-release version of Ubuntu -Running the current pre-release version of Ubuntu -Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.
I keep getting the following msg as I try to upgrade from 10.04 -> 10.10 ... "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. This can be caused by:
* Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report." I don't think any of the issues above apply - can anyone offer advice on how to get around or "force " the upgrade
I can't understand wd the error in my way with my sources list (was trying to installError given when I try to update is: An unresolvable problem occurred while initializing the package information.lease report this bug against the 'update-manager' package and include the following error message:'E:Type 'src' is not known on line 2 in source list /etc/apt/sources.list.d/tiheum-equinox-maverick.list'Sources list is: ###### Ubuntu Main Reposdeb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted universe
###### Ubuntu Update Repos deb http://us.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
I have read many articles on hdparam to calculate the disk read and write speeds and some on interface and CPU limits. But is there a structured way of calculating the maximum throughput of a server including all the subsystems. Like storage, CPU, network, memory and so on? So that I can create a script that i can run on a newly installed Linux machine and calculate the maximum throughput .
My monitor tools indicate that the percentage of swap used is more than the ideal , so I want to calculate which process is consuming from the swap. I tried the following but it didn't help be 100%
#ps -eo vsz,rss,pid,args | sort -n
How to accurately calculate which process consuming from swap, just the swap no ram + swap!
I am writing my own syslog collector, but im stuck with calculating the severity of the message. The PRI value is calculated:- Code: (Facility * 8) + Severity But from the context of a collector, neither Facility or severity would be known? You need to know either severity or Facility to calculate facility or severity?! The RFC goes in to no more detail about calculating the severity value, other tan this expression.
I'm using with success NX server and client on Ubuntu 11.04 on both side. Yesterday the server crashed and now the client can't connect to it. The client works well because if I try to connect to an other server it works well and if I try to connect to this server with an other user it works well. So I think that there is a problem with my user. I have tried to solve the problem as explained in the details of the error. Unfortunately there is no file /var/log/messages so I can't search the code of the exception.
Code: NX> 203 NXSSH running with pid: 3877 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options NX> 200 Connected to address: 10.1.0.60 on port: 22 NX> 202 Authenticating user: nx
I have a VPS running on centos-5-x86 and mysql server went down two days ago this is my mysql server log
110602 18:28:09 mysqld started InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 110602 18:28:14 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery.
calculating the IOPS for my system ?I had understood that IOPS could be calculated by monitoring IOSTAT. The r/s (reads/sec) and w/s (write/sec) combined basically gave you the peak IOPS.However having monitored iostat for my app during a performance test, the figures I'm seeing lead me to believe that iostat couldn't be a reliable way to calculate IOPS. I get values of over 10,000 for w/s! I didn't think this was possible given the storage system i have (4 x 7500rpm sata disks in raid 5).
Recently I was trying to make a quick script for calculating payment between workers. I got stuck however. Here is what I am in for...
#!/bin/bash #Setting the calculator calc=` bc << EOF scale=4 a=$2*($3/100) b=$4 a/b EOF ` I've saved the $1 for further script. #Creating the script while [ -n $1 ] do case $1 in workerA) read -p "Enter the total sum: " total total=$2; read -p "Enter the percentage:" percent percent=$3; read -p "Enter number of workers:" workers workers=$4 ;; *) echo "Error usage!" break esac done
My script ends here. It just does not work. Did I sat the vars in the wrong way?
What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.
When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.
Code: CALC=0 for ea in `ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS | grep main_server | grep -v "grep main_server" |
[Code]...
Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.
I'm trying to create a script that will find the bandwidth usage of certain protocols only. For example, SMTP. I would like it to just return a number. Is there a known command/parameters to output something like this?
I'm writing a script which will calculate bandwidth usage, I'm monitoring the bandwidth with cacti and the results don't quite line up, can someone either correct my script (if it contains faults) or tell me why the results aren't the same. I'm using a guide obtained from cisco here: [URL]. Here's my code:
But, when I run the du command, it shows I have used only 2G out of 9.9G.
ip-10-204-70-44:/$ du -xh --max-depth=1 14M ./etc 4.0K ./mnt[code]....
It just driving me crazy and interesting too. This is big problem for us since the root disk / is full and some of the function in our site is failing.
I want to calculate average and standard deviation. As first step I want to calculate average for the data than calculate (del=data - avg) for all the data.
I suppose get
Code:
For this I use AWK and the code goes like this
Code:
But I get different answers.
Code:
Why the answers are so different? since this is wrong I can not continue calculating the standard deviation.
i have installed ns 2.33 and added the patch mobiwan for supprting mobile ipv6. i ran some tcl scripts , and below is the trace file generated. calculate the handoff latency, and if someone has awk or perl script to do so, tcl file [URL] out.tr [URL]
Actually i m new to scripting in Linux, we have RedHat Server Edition 4 in which different software licences are installed and software itself installed at client side. the usage of the software is recorded daily in a text file which is of format
I want to write a script that checks that for any OUT & IN, if utility, user and Client PC Name are same then subtract OUT Time from IN Time. This has to be done for each & every user and utility.Is there any GUI programming possible in Linux.
I am new to shell script and to this form as well, I did try to search for a similar post like mine here, but could not find one.
Here is what I'm trying to do:
I am trying to grep server logs to find a specific string and then capture the time stamp and the value of that grep string in them. The log file prints out messages on per sec basis.
My script is able to grep the server logs for the entire period of my load runs and then outputted it to a .csv file too.
Unfortunately this .csv file is too large to extract it on my PC and to generate graphs as it exceeds the excel limit. I need some help on how to read this .csv file in a shell script and then take an average on per min basis before I can export it out on my desktop and generate graphs for analysis. example of the out in my .csv file:
I have an array called arrayini which stores numbers. I want to take log to the base 2 of each of the numbers in that array and put it in file called result. I've used the following code to do it.
Code:
size=${#arrayini[@]} for ((i=0;i<size;i++)) do echo "scale = 12; l(${arrayini[$i]})/l(2)" | bc -l done >result
It works fine but its taking pretty long to calculate since I've got about 230,000 items in the array. So I decided to store the result into an array hoping that it'd be faster. I tried the following code. arrayresult is where I try and store the result. The code doesn't work because of the second last line.
Code:
unset arrayresult size=${#arrayini[@]} for ((i=0;i<size;i++)) do arrayresult[$i]="scale = 12; l(${arrayini[$i]})/l(2)" | bc -l done >FILE2
We have 5 servers here. What we are going to setup is not a Web server. We want to combine these servers to parallel calculating. I have searched for some information. May be cloud computing would be our choice. I don't know whether I am right.and if I decide to use the cloud, is Ubuntu server my best choice?Can anyone give me some clue about this?
I am looking for the log messages where I can find out what time my netbook hibernated? I have checked in the /var/log. And all I could see was pm-suspend.log and pm-powersave.log.
Is there one which would tell me what time my computer hibernated? The reason for this is when I go out I leave my netbook running on the battery. When the battery get to about 5% it will hibernate. I just what to see what time it did hibernate?
From four days each time I reload Synaptic, I got the following error:
Code: W: Failed to fetch [URL]. Could not resolve 'repository.cairo-dock.org' W: Failed to fetch [URL]. Could not resolve 'repository.cairo-dock.org' W: Some index files failed to download, they have been ignored, or old ones used instead.
I can not understand what is it. Is it a temporary network problem? What I have to do?
When I start my system up(ubuntu 10.04) it gets to "ubuntu" loading animation then displays "An error occurred while mounting 0, Press S to skip mounting or M for manual recovery". I've read many threads and tried different things but nothing seems to be working! heres my blkid output:
I am running ubuntu 10.04 lts of a dell inspiron 600m I went to the update manager and updated all available updates after it was done I got this error in the update manager window: An error occurred The following details are provided: E: linux-image-2.6.32-26-generic: subprocess installed post-installation script returned error exit status 1
Code: An internal system error has occurred ..... Please use your distribution bugtracker to report this error ... What is the bugtracker? How i can use it?