Ubuntu :: How To Rebuild Apt Index

Jan 1, 2010

I recently did a very stupid thing:

Code:
sudo rm -f /var/log Now I cannot update or upgrade any package (I know there are updates waiting but Update Manager doesn't show any packages to download). How can I rebuild the index of packages and its versions in /var/log/apt ?

View 2 Replies


ADVERTISEMENT

Fedora :: Rebuild: Cannot Rebuild From Current State

Nov 21, 2010

When trying to rebuild a RAID1 on a FastTrak TX4310 controller after a disk was replaced the below message is given:

Code:
[root@SAMBA Samba]# dmraid -R pdc_gigcjhdfa /dev/sdc
Volume "pdc_gigcjhdfa" is not in rebuild state (current: 16)

Rebuild: cannot rebuild from current state!

View 4 Replies View Related

Ubuntu :: How To Rebuild /boot

Jul 22, 2010

I've lost the disk that contained the /boot directory of a 9.10 installation.All other important partitions/directories are on a raid0 and working ok.So, I started trying to repair the system by booting from Ubuntu 9.10 live cd, creating a new partition on a new disk for /boot, mounting all partitions in its place for a chroot environment, doing the chroot, and then trying several reinstalls of packages which I supposed where enough for rebuilding /boot (linux kernel & grub), then I ran something like grub-setup which installed a new MBR on the new disk.Everything went ok, but when I reboot the new installation it gets me to a text mode login screen and of course I want to recover the previous configuration which ran gdm and auto login into GNOME I had before.After that I tried reinstalling some other packages like gdm but now the boot process "hangs" on the boot splash screen.

View 1 Replies View Related

Ubuntu :: Banshee Keeps Asking To Rebuild Database

Aug 25, 2010

I am trying to use Banshee to sync my 5th generation iPod nano on a Lenovo laptop. When I plug the iPod in, it is recognized just fine by Banshee, however when I click on the iPod icon it tells me that it is unable to read the iPod because it has been used with a version of iTunes that saves a version of the database that Banshee can't recognize.

All of this is fine. I click on rebuild iPod database since I have no intention of using iTunes in the future with this iPod, and I don't mind losing the playlists or songs on the iPod (I have them all on the computer). The database rebuilds normally from all appearances, and after a short time I am able to read all songs on the iPod and transfer things back and forth.

The frustration comes into play with the fact that next time I load up the iPod on Banshee, it asks for the exact same process. It is unable to read the iPod, needs to rewrite the database, etc..

Is there some way to permanently alter the database that I'm missing, or is this an issue with 5th generation compatibility?

View 6 Replies View Related

Ubuntu :: Trying To Rebuild Encrypted Home Directory

May 21, 2010

I ran fsck on the wrong partition (which was mounted) and in my haste blew up the file system on that partition. Now here's the kicker, I had 450Gb of data and documents on that partition that was in an encrypted home directory. So the long and the short of it I ran fsck again and I was able to recover all the files, and they are now residing on a Lost+Found folder on my hard drive.I have located the encrypted files, but I don't know what to do with them.

View 1 Replies View Related

Ubuntu Networking :: Rebuild The Package For Install?

Aug 17, 2010

I found a post here somewhere detailing the steps to make wpa supplicant work with EAP-FAST, however the steps appear to be old.

I was able to patch openssl using the openssl-tls patch supplied with wpa supplicant package, however when I try to rebuild the package for install, it fails quite horribly.

is there a known good set of instructions for 10.4 and how to get eap-fast working using an anonymous supplied PAC?

I'd really like to convert my HP laptop over to ubuntu, but unless I can get my corporate wireless functioning, I won't be able to.

View 1 Replies View Related

Fedora :: How To Rebuild Kernel To 2.6.31.5

Dec 16, 2010

I have been using F12 for while now, I had applied update when it available. After the latest update, my laptop have lot of Kernel Crash error and it hang up more often. I try to upgrade to the F13 or F14 but not successful at all. My only hope now is to rebuild the Kernel to the early Kernel. How to rebuild the Kernel to 2.6.31.5.
My current Kernel is 2.6.32.26-175.fc12.i686.PAE
Gnome 2.28.2
1G memory
Intel PIII mobile 1.13G

View 2 Replies View Related

General :: How To Rebuild A Kernel

Apr 29, 2010

I have backtrack 4 on vmware player... i have intel (R) wifi 5100 agn wireless card and when i type airmon-ng there is nothing shown on interface....it's empty... i downloaded a driver from here [URL] and i have been told i need kernel rebuild... i have kernel 2.6.30.9 so how can rebuild it?

View 8 Replies View Related

CentOS 5 :: Rebuild The 2.6.18.-128.e15 Kernel In 5.3?

Jul 18, 2009

I want rebuild my 2.6.18.-128.e15 kernel in CentOS 5.3? but i have one trouble. When i type make bzImage I see

make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2

on the screen. It is because kernel sourse codes are not full. I can not search full sourse codes of 2.6.18.-128.e15 kernel.not in src.rpm , not in tar.bz2 etc.

View 5 Replies View Related

Ubuntu :: Grub Menu Is Basically Empty And Cant Rebuild It?

Apr 23, 2010

So basically this happened: i have 9.10 on my dual boot machine (ubuntu WinXP) and did a package update 2 days ago for the first time in 3 months. Kernel .21 was installed after having .17

Dont know if this part had anything to do but ill tell you anyway: during the update the computer (ibm Thinkpad x31) froze. After restart i did "dpkg --reconfigure -a" or something similar that apt-get told me to do.

now after rebooting the Grub2menu does not list any OSes... only a Memtest entry. i rebooted using

Code:
grub> linux (hd0,7)/boot/vmlinuz-2.6.27-9-generic root=/dev/sda7
grub> initrd (hd0,7)/boot/initrd.img-2.6.27-9-generic
grub> boot
and did

[Code]...

View 3 Replies View Related

Ubuntu Servers :: RAID6 Rebuild - Drives Got Out Of Sync?

May 16, 2010

I have a 12 disk raid 6 Array with 2 additional spare drives. Two of the drives got out of sync (because I was fat fingering the mdadm commands while trying to reassemble the array), so I added them back as spares. This is what mdadm is showing me:

[Code]...

View 1 Replies View Related

Ubuntu :: Rebuild Partition Table Or Create RAW File?

Jul 12, 2010

I need to be able to access the files on the image of a hard drive created with ddrescue. The original drive had bad, unreadable sectors, and was corrupted in a way that damaged the partition table. It was formatted NTFS, but because of the corrupted partition table, nothing recognizes it as such anymore. Is there some other way I can mount it, rebuild the partition table or create a RAW file tree out of the image file?

View 6 Replies View Related

Ubuntu Networking :: Rebuild Ufw Rules After Flushing Iptables?

Jul 20, 2010

How do I get ufw to refresh firewall rules after accidentally running iptables -F

View 3 Replies View Related

Ubuntu :: Rebuild Directory Structure And Recover Files?

Sep 2, 2010

I have a drive with an NTFS partition where all the files were deleted. What I'm looking for is a way to rebuild the directory structure and recover the files. I really, really want the directory structure as the partition contains 460 Gigs of data. Normally I would use the tools here: [URL] but I've never dealt with this much data before. Everything there that I've used creates a pretty messy dump however.

I have used ntfsundelete before but only for a few files at a time. I have no idea what would happen if I tried to run it on a partition of that size. I'm comfortable with data recovery but this amount of data is beyond me. I've run ntfsundelete with no args and from what I can tell of skimming the pages of output all the files are fine. The partition has not been written to.

View 4 Replies View Related

Ubuntu :: Rebuild Md RAID Array After OS Disk Failure?

Dec 19, 2010

I went to setup my linux box and found that the OS drive had finally died. It was an extremely old WD raptor drive in a hot box full of drives so it was really only a matter of time before it just quit on me. Normally this wouldn't be such a big deal however I had just recently constructed an md RAID5 array of 3 1TB disks to act as an NFS mount for basically all of my important files. Maybe 2-3 weeks before the failure I had finished moving all of my most important stuff onto that array. Now I know that the array is intact. All the required data is sitting on those disks. Since only the OS level disk failed on me I should be able to get a new disk in there, reinstall ubuntu and then rebuild that array. how exactly do I go about doing that with mdadm? Do I create the array from the /dev character devices like when I initially built the array?

View 2 Replies View Related

Ubuntu :: Server Was Used To Boot (after MDADM Raid Rebuild)

Feb 1, 2011

My home-backup server, with 8*2TB disks won't boot anymore. Two disks failed at the same time and i rebuilt the raid 6 array without any problem, but now i can't boot the os. I'm using ubuntu server, 10.10. I've made screens of the displays to don't copy everything here. The problem at the boot:

And the Grub config: It's not a production server, but i would like to have it online. I've tried for the lasts 2 days (just a couple hours a day) but without success. I was suggested to do "mount -o remount,rw /" and than edit /etc/fstab, but it get the file don't exist error.

View 2 Replies View Related

Ubuntu Servers :: Rebuild Raid5 Array After Every Restart?

Jul 8, 2011

I have software raid 5 array, each time I reboot my server, I have to rebuild array again. Rebuilding array takes too long. I am using ubuntu server 10.10.

View 7 Replies View Related

Ubuntu :: Way Using Apt-get, Dpkg Or Similar To Rebuild These Subdirectories In /usr/share/doc?

Jul 28, 2011

I'm not a complete newbie in Linux, but I was working some years solely with Windows. But some weeks ago I remembered my old love and installed Ubuntu Natty 64 bit. Last night I installed also Oracle 11gR2 64 and got it finally running after some fights with missing packets and unexpectedly placed libs. (Unexpected by Oracle installer). Nevertheless; Oracle is running now.Ok so far. This is the good news. The bad news: In one of these fights I was in a terminal-session and accidentally entered sudo rm -r /usr/share/doc while I wanted to delete /usr/share/doc/libstdc++5. I wondered why this takes so long time and stopped it as I saw what I did. But too late of course, there are many subdirectories missing.My question now: Is there a way using apt-get, dpkg or similar to rebuild these subdirectories in /usr/share/doc?Natty is still running fine for now. But what happens if there are updates or new packets?

View 6 Replies View Related

Fedora :: Mass Rebuild Of Srpms ?

Sep 5, 2011

Does anyone know of a way to do a mass build of srpms? For example if I wanted to build loads of packages but with different default installation paths or compiler flags. Are there any tools to do this?

View 2 Replies View Related

General :: How To REbuild OpenSuse Kernels

Oct 12, 2010

I am trying to install some patches and drivers needed for a wifi card, but im getting an error that says: "build your kernel with CONFIG_LIBIPW=m." How can I recompile the kernel to add that? And can I do it without having to download a new kernel package? (i mean recompiling the existing kernels)

View 2 Replies View Related

General :: Use Mkisofs To Rebuild Iso Image?

Mar 11, 2010

Iam trying to alter a bootable Debian install CD based on the instructions [URL] this is the command to rebuild the iso image as specified at the above link.

Code:

$ mkisofs -o debian-503-amd64-CD-1-preseed.iso
-r -J -no-emul-boot -boot-load-size 4
-b isolinux/isolinux.bin
-c isolinux/boot.cat ./debian-503 2> /dev/null

I've read the man pages for all the options specified and made sure that all paths are relative. However, the output iso file is not being generated.

View 3 Replies View Related

Software :: Rebuild Fails - Rpm -qa Does Not Display Anything

Jun 22, 2011

I using CentOS-5.5 and having problem with rpm command. rpm -qa does not display anything. rpm --rebuilddb does not reply anything. If i put -vv option it display below contents.

[Code]...

View 1 Replies View Related

Slackware :: Browser Only Rebuild Of SeaMonkey?

Jun 18, 2011

I'm currently trying to rebuild the Seamonkey package so as to have only the browser, and not all the remaining cruft like Mail, News, Composer and Dishwasher. I remember having done this for a few years - Netscape also allowed to do that - and it went well. Basically, all you had to do was to replace the --enable-application=suite option by something like --enable-application=browser, and then disable the other apps explicitly with some option like --disable-calendar, --disable-mailnews, --disable-composer, if I remember correctly.

I've tried to rebuild the Seamonkey source with a modified SlackBuild, but to no avail. ./configure --help shows me some options in that direction, but I have yet to find out some magic combination to get it to work. --enable-application=APP doesn't seem to know the browser-only option anymore, and defining various --disable-mailnews and --disable-calendar options results in compilation errors.

View 2 Replies View Related

CentOS 5 :: How To Rebuild Sofware Raid

Apr 6, 2009

I've got a server running a software Raid for SATA disks on a P5E motherboard.

I had to had a lot of memory on thi sserver, then I have had to flash the bios. This has resetted the software raid on the disks, then when I boot, i got a Kernel Panic cause it doesn't find anything ...

how to rebuild the raid ? I can boot on a live cd, or anything else, but don't know how to do it without loosing my data.

View 2 Replies View Related

CentOS 5 :: Rebuild Just One Part Of The Kernel?

Nov 13, 2009

I'm working on the development of a custom kernel (actually just a "small" change in the networking part), from the standard 2.6.23.17 source code (downloaded from kernel.org), on CentoOS 5.3. I'm using the following procedure to build and install the kernel:

1)cd <ROOT_DIRECTORY_OF_KERNEL_SOURCE>
2)Modifiy the 4th line of the Make file as follows:EXTRAVERSION = .17CUSTOM
3)make clean && make mrproper
4)make menuconfig
5) make rpm

[Code]...

View 2 Replies View Related

CentOS 5 :: Rebuild The Live Cd 5.5 To Add Some Application?

Oct 25, 2010

I would like to rebuild the live cd 5.5 of centOS to add some application. I am looking for source code to rebuild live cd 5.5.

View 1 Replies View Related

Ubuntu Servers :: RAID Arrays Rebuild The Data On The New Drive?

Jun 5, 2010

I have never preformed a rebuild of an RAID array. I am collecting resources, which details how to build an RAID 5 array when one drive has failed. Does the BIOS on the RAID controller card start to rebuild the data on the new drive once it is installed?

View 4 Replies View Related

Ubuntu Servers :: 15K/sec Rebuild Speed On Mdadm RAID6 Array?

Jul 18, 2011

Code:

$cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

[code]....

1/4 of my drives died after about 3 years of usage. I replaced it with an identical drive and did a mdadm -add to re-add it to the array. I expected this to take quite a long time, but not more than 1 million minutes to complete!

View 5 Replies View Related

Debian :: Rebuild Lost Bootloader Flash

Aug 29, 2015

I use a usb flash stick for bootloader and /boot. Debian resides on sdaX and is LUKS encrypted (in fact LVM on LUKs). I am trying to learn how to use the Deb LIVE disk with rescue mode to re-build the bootloader and /boot on a fresh different flash drive. As a learning tool I want to approach this task as described. I have full access to a perfectly running system at this point, but I want to learn this process knowing eventually something will go "bump in the night". I did a custom install so I am aware of how this works generally speaking.

I have password access to the LUKS volume and can easily open it at the LIVE disk prompt to do so. My new flash drive is wiped and EXT2 formatted and should be ready to go. I have RAM based backup software for doing sector backups of the LUKS partition/volume. Doing a full restore at any point will be a piece of cake. I have lots of family around and the thought of a missing bootloader flash drive, while not likely, is not out of question.

View 6 Replies View Related

Debian :: Rebuild Kernel-included Module?

Jun 7, 2010

my wireless doggle is not suppoerted out of box on squeeze.It's based on zd1211rw,just lack the vendor and product id.how can I hack the source and rebuild the driver module?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved