Fedora :: Can't Perform Software Update?
Aug 31, 2009Get message: "database disk image is malformed"
View 2 RepliesGet message: "database disk image is malformed"
View 2 Repliesi am getting enjoyed openSUSE 11.3 but i got some problem on installing some applications like nano, pico and i couldn't update the system in CLI and/or GUI ()YaSt software update), i am feeling all the problems are related with the repository, and i have tried to refresh, add and edit repositories still i can perform such actions, i am the supper user (root).
View 9 Replies View RelatedI'm trying to perform a VPN lan to lan IPSEC connection. By my side, I have a server with 2 IP's, i.j.k.l (destined to act as a VPN gateway) and i.j.k.m (the server). I am a newbie. I don't know if this configuration is normal, but it's forced by our partner.
My configuration is:
OS: Fedora release 7 (Moonshine)
OpenSWAN version: Linux Openswan U2.4.7/K2.6.23.17-88.fc7 (netkey)
ipsec.conf
# /etc/ipsec.conf - Openswan IPsec configuration file
#
# Manual: ipsec.conf.5
[Code]...
This is a general technical question about Symmetric Multiprocessing in relation to the Intel Core i7. (Actually, it's more about Hyperthreading than i7.) My understanding is that Symmetric Multiprocessing means that the operating system treats all processors as identical, and therefore it can assign a new thread to any free processor.
And that i7 appears to the OS as 8 processors, 0 thru 7. But from a performance perspective, the 8 processors are not identical, because each core has 1 execution engine plus the ability to store the state of 2 threads. This is, as far as I understand it, the essence of Intel's Hyperthreading. So each execution engine can quickly switch between 2 threads without bothering the OS, but only one thread at a time actually executes.
Suppose, for example, all processors are idle and the OS assigns one thread to processor 0, then has a second thread to assign. Since all free processors are considered identical, the OS could assign the second thread to any free processor, say 1. The result would be that both threads are competing for the same execution engine, while the other 3 cores remain idle. Is my understanding of SMP correct?
If so, does linux SMP take full advantage of Intel Hyperthreading (which existed also in earlier Intel processors)? That is, does linux SMP assign threads in such a way that it attempts to choose an idle execution engine? I don't know what algorithm SMP actually uses to choose the processor. For example, it could be the first free processor, or any free processor chosen at random.How about Windows? How does it handle the situation?
Edit: I have also posted this question in linuxforums and phoronix forums. I hope this doesn't count as cross-posting, since those forums are not on this site and they have different readership. If it is indeed cross-posting, please let me know and I will avoid doing it in future.
I have got fedora 13 install on my system. I wanted to know how could I perform scandisk and defragmentation like operations in linux?
View 5 Replies View RelatedLast night I downloaded the iso for the full DVD install with the intention of installing it from the hard drive. Since my old Fedora Core 2 system is down right now I have the iso on my MacBook.How do I perform the 256 check sum on the MacBook? I tried the shasum -a 256 but I'm not sure it's doing the right thing.
View 1 Replies View RelatedI have a number of bash scripts I wrote to perform chores. Despite that the very first line in all of them is "#!/bin/bash", I have to actually type "bash {scriptname}" to run them. Am I expecting too much and should be happy with this, or what do I need to do to be able to just type the script name to run it? It's no emergency, just makes my brain wonder.
View 4 Replies View RelatedI need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.
Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.
Here's a brief description of my system:
120GB Sata HDD - Primary OS drive
3 x 1.0TB Sata HDD - Raid 5 array
This is on a C2D MSI P35 Platinum board. Anyway, did a fresh install of F12 on the 120GB, which I had problems with - Anaconda refused to see the drive. Fedora Live could see it fine, and it was listed as an 'nvidia_raid_member' - no idea why, but I completely erased the disc under the Live CD and proceeded to install F12.
Once F12 was installed, I loaded up mdadm to re-activate my Raid 5 array, using 'sudo mdadm --assemble --uuidthe uuid) - and it started with only 2 of the 3 drives. My /dev/sdb drive did not activate into the array, due to what mdadm said was a mismatched UUID. Ok, so I erased /dev/sdb, intending to rebuild the array. Erased /dev/sdb, and then attempted 'sudo mdadm --add /dev/md0 /dev/sdb' and I get this error: "mdadm: Cannot add disks to a 'member' array, perform this operation on the parent container" - I can find NO information on this error message.
[Code].....
I don't believe the hard drives are connected in the exact same order they were in before - I disconnected everything in the system and blew it out (it was pretty dusty)
I'm getting the following error when I'm trying to install from 'testing' repo. E: Could not perform immediate configuration on 'perl' I'm doing apt pinning to install XFCE 4.8 on Squeeze. I've already added all the necessary sources and my /etc/apt/preferences file looks like this.
Package: *
Pin: release a=testing
Pin-Priority: 400
Package: *
Pin: release a=unstable
Pin-Priority: 300
Here is what I'm trying to install.
apt-get -t testing install xfce4 xfdesktop4 xfce4-power-manager xfce4-screenshooter xfce4-notifyd thunar thunar-archive-plugin thunar-media-tags-plugin thunar-thumbnailers gvfs-backends gvfs-bin gvfs-fuse xfce4-mixer xfburn terminator
I am on a friend's box and we are atm transitioning from stable to sid on his box. Instead of doing the whole thing at one shot via update-manager we are doing it using the apt tools. Now while upgrading, I'm not able to update any of the perl 5.12 packages, perhaps due to circular dependencies or what. This is the error I'm seeing :-
$ sudo apt-get install perl
[sudo] password for shirish:
Reading package lists... Done
[code]....
I know there are syncing problems with Ubuntu One at the moment, but one of my computers is absolutely fine and another one just won't have anything to do with Ubuntu One contact sync. This is the last part of my desktop couch replication log -
2010-05-12 18:56:28,873 DEBUG started replicating
2010-05-12 18:56:28,875 ERROR replication of discovered hosts aborted
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/desktopcouch/replication.py", line 81, in do_all_replication
dbus_io.get_seen_paired_hosts(uri=local_uri):
File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/dbus_io.py", line 136, in get_seen_paired_hosts
pairing_encyclopedia = couchdb_io.get_all_known_pairings(uri=uri)
[Code].....
I've been trying to use a find command with -exec to find the differences between identically-named files in different paths. My initial attempt was to do something like this:
Code: find trunk/ -type f -not -path '*.svn*' -exec diff '{}' `echo '{}' | sed 's/^trunk///'` ;
Unfortunately this does not work at all as expected (the diff ends up executing on the same file)! I have narrowed it down to the subshell (inside the ``) but beyond that I have no idea. For some reason the sed, though written correctly, does not perform the substitution. I've changed the diff to echo and played with the sed command and the only way I can get it to perform _any_ substitution is to use .* as the regex. Even s/.*trunk.*/SUB/ doesn't work. Any insight into the inner workings of -exec/subshells/pipes or some crap I'm missing? Don't worry about rewriting the command to make it work; I simply swapped the paths and got rid of the subshell nonsense and everything works fine.
is there an easy way for me to get the hardware specs of a linux machine, such as number and type of processors, RAM, BIOS version, # of power supplies, etc from a command line?
I'm dealing with Dell servers, but even if i can just get number and type of processors and RAM config, that'd be great. I know how to easily do it in Windows, no clue on Linux.
Currently I backing up the MBR, the C and the other partitions to an external USB HDD and from there I restore them if needed. I use the SystemRescueCd and commands like dd if=/dev/sd* of=/mnt/PC_name/backupmbr.1 count=1 bs=512 and ntfsclone --save-image --output /mnt/PC_name/PC_name_c.img /dev/sd*1 etc. I want to clone the HDD the way, however, that I omit the external USB drive. I want to connect the new HDD to the PC and do the cloning directly from one disc to the other.
My questions are:
- Can you provide me with the exact command?
- Is that a difference if the disc is SATA or IDE?
- Can I copy the disc even if the old disc don't wan to boot?
The OS is Windows on the disc I want to clone.
I need to perform patching on some RHEL boxes.
This the first time i am gonna do this. Kindly advise, how and what are the steps i should take to perform the OS patching.
I have a couple of Lenny LAMP servers, and a backup server. (virtual testing environment)
1. What is the best way to perform a backup? (system state as well as individual files) Although system state can also be accomplished through the hypervisor.
2. Between Windows computers, I access shared directories simply by \hostnamesharedmap or \host_IPsharedmap. Between Windows and linux i use SAMBA. But there must be a simple way to copy 2 files between linux hosts?
3. I've searched a lot, and only found people with the same question without a good answer: is there a linux equivalent for robocopy?
How do we perform offline patch management with Debian? This isn't a question about which tools to use on Debian to load the patch once it is on a CD and transferred to said offline computer via sneaker net. More, how do I keep said offline (or strictly firewalled) computer in synch?
Pardon me while I make a comparison to Solaris. I am in no way stating Solaris is better. It just happens to be my baseline of experience.In Solaris, I can download Cluster Patch Updates (CPU). So if I build a Solaris box with a CD that is a year or more old, I can download the latest CPU and get the box patched up to date, and from that point on sneaker-net patches as they appear.
When I click once,it react like I click it twice
View 1 Replies View RelatedMy client has a server on SL-10.1, that needs to be upgraded to 11.3. I have done upgrades before (from 11.0), but I need to know if I can upgrade from such an old version as well. I tried to add the 11.3 repo, but it refused to accept it. Is this already a sign that upgrading won't work?
View 3 Replies View Relatedi use synaptic manager to get the updates. I tried to get the required plugins like gstreamer 0.10 plugins bad. I downloads the all the required files but at last it show the following
E: Internal Error, Could not perform immediate configuration (2) on mountall
I ran into this problem myself, and I've seen that others have had the same problem when updating from Karmic to Lucid via apt-get. There is a bug in apt for Lucid, and it has been noted on one of the Ubuntu lists
This is a simple how-to and a work-around to the upgrading with apt-get:
1) Update your sources.list file to replace all instances of 'karmic" to 'lucid' : $ sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list
2) Run apt-get update: $ sudo apt-get update
3) Run a regular upgrade; $ sudo apt-get upgrade -y
Here is where the problem comes in. Apt is looking for the util-linux package, which is part of upstart-job, but someone apparenlty forgot to write the code to tell apt-about this (whoops!)
So, you now need to install upstart-job by itself. By skipping this step you will get the error message when you try to run step 5: "E: Could not perform immediate configuration on 'util-linux'.Please see man 5 apt"
4) $ sudo apt-get install upstart-job
5) Now you can run apt-get dist-upgrade: $ sudo apt-get dist-upgrade -y
I just installed Ubuntu 10.10 32-bit on my laptop and successfully completed the installation. However, I attempted to install the recommended updates but have been unsuccessful. The updates downloaded just fine, but when I attempt to install the downloaded updates, I get a package operation failed with the following text: installArchives() failed: Extracting templates from packages: 10% Extracting templates from packages: 21% Extracting templates from packages: 32% Extracting templates from packages: 43% Extracting templates from packages: 54% Extracting templates from packages: 65% Extracting templates from packages: 76% Extracting templates from packages: 87% Extracting templates from packages: 98% Extracting templates from packages: 100% Preconfiguring packages.
View 2 Replies View RelatedI am a backup noob. My idea of backing something up is finding a big enough flash drive and copying the necessary files over.
So I really need to learn now. I'm wiping a Vista laptop for a friend to install Windows 7. But first, I want to do a whole-drive backup in case something goes wrong. It's a 100GB drive with 50GB of data.
Is it possible that I could do this via my home network or via a direct ethernet connection? I have a desktop with a 1TB drive I could back up to. Like I say, I'm a noob so I'm open to anything.
One more thing: I'd like this backup to be in a form that I can retrieve individual files from it if necessary. If everything goes right, I'll probably want to pull My Documents out of the backup and drop it into Windows 7.
Oh, and why am I asking on UbuntuForums instead of a Windows forum? Because I'm betting I'll end up booting a live CD on the laptop to do the backup. But I'm just guessing. At any rate, I'm sure I'll use Ubuntu tools, because that's what I know.
Can one perform an installation of CentOS 5 (5.4) so that the system is up-to-date at the time of the first boot (i.e. Anaconda will pull and install the 'latest' versions of the packages directly, and the user needn't run `yum update` | `yum upgrade` after the system has been installed)?
If this is doable at all, is it possible to accomplish without making use of a personally custom-crafted-and-hosted repository (i.e. can one of the official CentOS mirrors be used)?
Also, I'm not talking about creating an install DVD containing the latest versions of the packages, but rather, if the netinstall media can be used to perform this particular type of installation.
I am using debian 5.04 + LXDE. In the past, I sometime encounter problems such as the distro broken after performed a full apt dist-upgrade or upgrade. Now, I am more conservative, I am using apt safe-upgrade.
I want to know are there anyway to do a better safe upgrade for debian without breaking the distro?
I want to perform an e2fsck with the y switch (so I dont have to answer yes to every question) on two volumes on a server the next time I restart it. I don't want to do a shutdown -rF because 1) I dont want to check the other volumes and 2) it seems when I do that, the e2fsck doesn't keep restarting itself over and over to fix all the problems. Seems like it runs once, then if it fails it drops you to the repair console in single user mode. I'd rather just have it start the check that will keep repeating over and over right away, because I know it'll take more than one pass.
View 5 Replies View RelatedThere must be a way to perform privileged tasks in the Gnome desktop (or actually Nautilus, I guess)...similar to using SUDO in a terminal window.
For example I want to change the rights to a file, but Nautilus tells me I can't because I'm not the owner.
Am have a little problem with my ubuntu 10.04 which restarts as i do some task for example..as i am copying...playing music..and any operation task.
View 1 Replies View RelatedI'm sure this is possible but I can't figure it out. I have a file formatted like this:
Code:
>SEQUENCE1
FGFD665:?@663:BBBBAA?A@<<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34
>SEQUENCE2
>&<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34BBB@@
>SEQUENCE3
???888455555?AAA?AABBB@@@<<<341004699<7444399>???888BBB@@
The odd-numbered lines containing >SEQUENCE# are the headers and the even-numbered lines containing a variety of characters represent DNA sequence read quality scores.
I want to replace all of the greater-than (">") symbols in the quality scores (even-numbered lines) with a "0" but I want to leave the greater-than symbols on the odd-numbered lines alone. I would just use sed -i '/^>/! s/>/0/g' $FileName but sometimes the quality scores begin with a ">" as well.
I'm sure there is a simple modification of a normal sed command with an "n" inserted somewhere but I can't figure it out.