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


ADVERTISEMENT

General :: Find Files In Subdirectories And Copy Them To Another Directory With The Same Subdirectories?

Nov 18, 2010

This question is very similar to this one except that I want to maintain the file's original subdirectories.

For example if I had

/temp/a/a.txt
/temp/a/a.jpg
/temp/a/b.txt
/temp/b/c.txt
/temp/d/d.txt
/temp/d/d.jpg
/temp/d/e.txt
/temp/f.txt

[Code]...

View 2 Replies View Related

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 :: Error Message 'dpkg Interrupted Must Manually Run 'dpkg --configure -a'

Jan 6, 2010

im trying to update some software in ubuntu using the update manager. i type my password in CORRECTLY but then get this error message.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

what does it mean and how do i fix it?

View 3 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure

Jul 6, 2010

I keep getting this error when I try to install Adobe flash player E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. I had it installed just fine, then i restarted my computer and its gone. .

View 4 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem

Jan 9, 2011

I'm using 10.10 and from today I'm getting this error Quote:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. When I'm trying to install any software using

Code: sudo apt-get <sw-name> Also I'm unable install using "Ubuntu Software Center", showing unhandleable error. Here is the details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
return self._simulate_helper(trans, status_path)

[Code]...

View 6 Replies View Related

Debian :: Dpkg-buildpacakge Exits After Dpkg-source Error

May 3, 2010

Sid
cmake 2.8.1-2
dh-make .54
dpkg-dev 1.15.7.1

I'm having some issues building deb packages. dh_make --createorig behaves as expected, but when I attempt to buld the package with dpkg-buildpackage -rfakeroot the build dies on a dpkg-source error.

View 14 Replies View Related

Ubuntu Installation :: Installing Updates Error "E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem"

Apr 1, 2010

After I got the OS up and running (v9.10), I was prompted to download and install some updates. The download is complete, but when I try to install the updates, I receive the following message. What should I do?

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

View 4 Replies View Related

Ubuntu :: Error Dpkg: Parse Error, In File '/var/lib/dpkg/available' Near Line 2 Package 'x11proto-core-dev'

Sep 18, 2010

When I tried to upgrade my xubuntu 10.04 , I got this error

dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)

View 5 Replies View Related

Ubuntu :: Updates With Tweak And Video Codec - Error "dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem"

May 26, 2011

I installed the software Ubuntu Tweak yesterday and I was satisfied of how it worked. today, surfing the internet I was hoping to find a solution to a couple of problems that I have: the computer sometimes get stuck when opening videos or photos - I can't see streaming TV. when the internet browser was asking me to install plug-in in order to show the videos I tried to install them but errors occurred.

so I followed the instruction in [URL] (many of these things didn't work and the terminal was showing error messages...) now after rebooting I have got the unity 2D I think (which is fine as I can't notice great differences) but I can't install the updates from Ubuntu Tweak the error message is: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. how can I fix it and get my video codecds?

View 3 Replies View Related

Ubuntu :: Update Kubuntu 11.04 - Error: "p, Li {white-space: Pre-wrap;} E: Dpkg Was Interrupted, You Must Manually Run 'dpkg --configure -a' To Correct The Problem"

Sep 1, 2011

I'm trying to update Kubuntu 11.04 here is my error: p, li {white-space: pre-wrap;} E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. here is what i have tried to fix it:

[Code]....

View 2 Replies View Related

Debian :: Installing Gcc Using Dpkg - Error "dpkg Command Not Found"

Jul 20, 2010

I want to install gcc on my Pyramid linux which is debian based. I downloaded gcc.deb. When I want to install this file, it gives me "dpkg command not found" error! I also get this error when I want to install other .deb files using dpkg command " dpkg -i finename.deb. I did some research and it seams that I should install package on my system, but package file is .deb file and I can't install .deb file! What should I do to solve the problem??? Should I install any thing on my system to install .deb files??

View 3 Replies View Related

General :: Use Apt An Error Occurs: Dpkg: Parse Error In File '/var/lib/dpkg/status'

Aug 8, 2010

when i try to use apt an error occurs: dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0': error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number E: Sub-process /usr/bin/dpkg returned an error code (2)

i tried to :

1- replace the file status with status-old
2- replace it with all the backups located in /var/backups/

and the same error occurs

View 4 Replies View Related

Ubuntu Servers :: Dpkg-buildpackage Error "dpkg-buildpackage: Failure: Tail Of Debian/changelog Gave Error Exit Status 1"?

Feb 12, 2010

I'm attempting to apply the quota patch to postfix 2.5.1. I have done the following..

Code:
cd /usr/src/
apt-get source postfix
wget http://vda.sourceforge.net/VDA/postf...da-ng.patch.gz{code]....

dpkg-buildpackage: failure: tail of debian/changelog gave error exit status 1

I have searched hi and low and still can't work out how to resolve this.

View 2 Replies View Related

Ubuntu :: Bash To Sort Files Into Subdirectories?

Sep 4, 2010

i currently have hundreds of files all in a single directory. What I would like to do is create 8 subdirectories and move the files into the subdirectories based on the first character of the file name. Ideally, the script would omit any 'the' or 'a' and use the second word for filing purposes. No filenames have spaces. Instead they use periodsThe subdirectories will be:

0-9
a-d
e-h

[code]...

View 2 Replies View Related

Ubuntu Networking :: Sharing Directory, And It's Subdirectories?

Oct 20, 2010

I've been doing some file-sharing with Ubuntu. And I've noticed that the files only in the immediate directory is shared, the rest of the folders are shown in other PCs but access is denied. How can I share all the subdirectories in a folder without having to them manually?

View 6 Replies View Related

Ubuntu :: Icons For Subdirectories Of User's Folder?

Nov 24, 2010

I figured I'd try out the Ubuntu Minimal install; I liked the concept of minimal distros like Arch-Linux (with a what-you-need-is-what-you-get type of system), but I really liked the community and general support of Ubuntu. Anyway, everything went fine after I got GRUB working properly, up to the point when I found that there were no subdirectories in my user's folder (Templates, Documents, Videos, etc).

I just decided to create the folders I needed. However, there were two issues I came across when doing this: The items in the 'Templates' folder don't show up in the context menu like they should More importantly, the icons for each folder would have to be manually changed for every new icon theme (if I wanted to use a new icon theme, I would have to navigate to the theme's folder every time for each icon I wanted changed) I'm not too concerned with the templates at the moment, but I was wondering how I would make these icons dependent on the current icon theme. Is there some package I missed installing?

By the way, if it makes a difference, I'm trying to set up the default Humanity icon set (well, not default for me, since I'm using Ubuntu Minimal). Also, sorry if this question has been posted before (or if I find the solution immediately after posting, which almost always happens to me), I didn't know exactly what to search for...

View 2 Replies View Related

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 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

General :: How To Empty Several Subdirectories

Aug 18, 2010

I looked through google but can't find an answer for this..... say I have a directory called "files"; this directory contains several other directories..... what I wanna do is delete ALL the files within the subdirectories, but NOT delete the subdirectory. Can this be done easily without having to run a command for each subdirectory?

View 8 Replies View Related

Fedora :: Add X And All Subdirectories Of X To PATH?

Jun 24, 2010

Is there a way in .bashrc to say, instead of "add X to PATH, add X/Y to PATH, add X/Z to PATH", simply "add all subdirectories of X to PATH"?

[code]...

View 4 Replies View Related

Ubuntu Servers :: Enabling CGI In All /var/www Subdirectories (Apache - LAMP)

Jan 5, 2011

I am trying to set up my local development environment to mimic the behaviour of my webhost: namely executing *.cgi files as CGI scripts, regardless of their location. If I'm not mistaken, the default setup of Apache on Ubuntu has this set up for /usr/lib/cgi-bin only.

I have tried adding +ExecCGI to the /var/www directory settings in /etc/apache2/sites-enabled/000-default. I have also tried AddHandler cgi-script .cgi in the same <directory> block.

View 3 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

Fedora :: Listing Subdirectories With Spaces?

May 19, 2011

I have want to list sub-directories with spaces but am facing the following problem:

My subdirectories are:
FirstDirectory
Directory with spaces
if I use
Code:
for directory in "`find . -type d`"

[Code]...

View 5 Replies View Related

General :: Create All Subdirectories Of A Path?

Dec 9, 2010

Is there an easy way to create all subdirectories of a path in linux ?

Something like

mkdir /a/b/c/d/e/f

executed in / should create directories a,b,c,d,e,f

View 2 Replies View Related

Debian :: What Subdirectories Should Be Excluded In Backup

Jan 12, 2011

I am going to use 'rsnapshot' to create backups of my local & remote computers. My intension is that I can use these backups to restore disk images when needed -> install Linux from scratch and then copy the subdirectories from 'rsnapshot' backup to the new Linux installation.My question is what subdirectories should be excluded in the backup.

View 6 Replies View Related

General :: Include The Subdirectories In A Chown?

Jul 19, 2010

When I installed a new copy of my distro on another partition, in order to preserve all the settings from my old my user account, I made a user account with the same name on the new installation, and then copied my old user account's files (in their entirety) to the new user account, overwriting it. I did the copying from the root account (where else? I assume the new user account can't overwrite itself while it's open), and root became the owner of everything I copied, making it impossible to open the new user account. So I then chowned the new user account's folder to myself. I still can't get in, because apparently, chown only chowned the top folder, leaving all subdirectories owned by root. How do I make chown include all subdirectories? I scanned the man page, but didn't see a parameter.

View 4 Replies View Related

Server :: Apache On Debian - 403 On All Subdirectories?

Feb 11, 2010

I set up a Debian box with Apache and everything works fine, but when trying to access files in a subdirectory, I get a 403 error. The error log shows the following:

Code:
(13)Permission denied: /var/www/site/images/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
I tried adding a <Directory> entry in the conf file for the site and even tried adding (with +r for all) an .htaccess file (.htaccess is not specified in the conf file and the root directory doesn't have one either), but nothing works.

[Code]...

View 1 Replies View Related

Server :: Create SUBdirectories In Dovecot?

Jun 19, 2011

I wonder how i can get subdirectories (.INBOX/***/*** etc...) in dovecot.I just stardet a mail server and when i tried to create it from the mail client (MS Outlook) it says that the server wont allow it.

View 4 Replies View Related

Software :: Find Not Searching Subdirectories?

Jul 12, 2010

I tried searching for files in documents: joe@Debian:~/documents$ find -iname *.odt ./canadian-public-holidays.odt I then moved to the work_search directory which is located in documents: cd work_search joe@Debian:~/documents/work_search$

joe@Debian:~/documents/work_search$ find -iname *.odt

[Code]...

View 6 Replies View Related







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