Ubuntu :: Removed /var/lib/dpkg - "E: Could Not Perform Immediate Configuration On 'multiarch-support'
Jun 5, 2011
I did an unsuccessful update and got a lock un apt. But instead of removing /var/lib/dpkg/lock, i by accident removed /var/lib/dpkg. Yes, i don`t have backups, and i regret it very much now. I created a new /var/lib/dpkg folder but now if i do a apt-get upgrade, it tries to install all applications, because apt thinks i dont have any. Any chance to rebuild the database? Also, if i hit "yes" and try to reinstall them all, i get this error message:
Code: "E: Could not perform immediate configuration on 'multiarch-support'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)"
i 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'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.
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 :-
I have been having trouble installing packages. Every package I try to install gives me the same error - Quote: E: Could not perform immediate configuration on 'libattr1'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
I have tried Synaptic, the Update Manager, apt-get, and aptitude. I noticed that someone has filed a bug report on launchpad (link), for seemingly the same reason, and so far there hasn't been any changes made.
i recently got a server and it was going fantastically well, but just recently when i tried installing something using apt-get install .... ( i tried irssi, firefox/iceweseal, tightvncserver) it downloads asks for a questions i press y for yess then i get this error E: Internal Error, Could not perform immediate configuration (2) on mountall and then it doesnt install, this is really frustrating.
I have used Debian on this computer for over a year now. A little while back update manager stopped working. It now prompts me to update a varying number of packages (85-97), but when I try and run it I get this message:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.
I'm not sure where to report this. I'm the only user of this computer. I tried running dpkg as directed, but that results in the following:
shop-amd-rebuild:/home/steve# dpkg --configure -a Setting up linux-image-2.6.26-2-amd64 (2.6.26-26lenny1) ... Running depmod. Running mkinitramfs-kpkg.
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. .
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)
Command "sudo aptitude install oxygen-icon-theme" return following error:
dpkg: error processing /var/cache/apt/archives/oxygen-icon-theme_4%3a4.6.2-2_all.deb (--unpack): unable to install new version of `/usr/share/icons/oxygen/22x22/apps/preferences-desktop-default-applications.png': No space left on device
[Code]....
As far as I can see oxygen-icon-theme unpacks only in /usr/share, beyond it I can think of only /tmp, /var or /var/tmp that it may use, all of which have plenty more than those ~40 MiB that it supposed to occupy unpacked. All btrfs filesystems were formatted with "-d single -m single". System is Debian Sid 64-bit with linux-image-3.0.0-rc5-amd64.
I'm running a Debian on a laptop (actually a netbook: Asus EEE 1001PX) as a cheap homeserver. However I'd like it to automatically "shutdown -h NOW" when I remove the AC plug (switch it off at the wall). Otherwise I have to ssh to it and call it myself, and that just sucks Can I somehow detect the removal of AC power and upon that run a script ?
I recently had a problem with one and only one user on an Ubuntu 9.10 desktop system.
[URL]
The user who installed Ubuntu eventually could not log into the desktop (Gnome) without getting a small X-term appearing in the upper left-hand corner of the screen. I have since fixed the problem by reinstalling and using frequent logouts and reboots to see if the original problem could be re-created.
Other users, most of whom were also admin who could use sudo and were created after the installing user, could log into Gnome just fine. The installing user was fully deleted and re-created (home directory) and not installed with its backed up information. This still did not fix the problem.
My question is this. What could be left behind and possibly in which files by the installing user that would still affect this user even after that user was completely removed and re-created?
The only thing I have not done on the re-installation, is I have not installed Konqueror. I have installed konsole, which installs some KDE components, and that was done the first time.
I don't want to install Konqueror and have the same problem occur again at least without a place to look, so I don't have to re-install. I did make the classic mistake of not looking in the logs, specifically xsession errors. I won't make that mistake again.
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.
I have been having trouble setting up a daily backup script with cron. It would basically never worked. Searched the net for answers but didn't find anything. I finally figured it out !! When root crontab is edited the execute flag is removed from #/var/spool/cron/crontabs/root. I change it with #chmod a+x /var/spool/cron/crontabs/root and all is good.
while trying to get a game to work on wine I was surprised to find out that the wine version that ships with sid is 1.0.1 released in October 2005. So I installed the latest release I found at [URL] like this :
dpkg -i wine_1.1.42~winehq1-1_amd64.deb
The install failed, I think because I hadn't remove the old wine version, and that's when the joy-ride started. Impossible to remove wine to restart properly. (apt-get remove libwine wine and apt-get -f install didn't) After some googling I tried this :
This did install the wine version I wanted, and the game ran fine after that. However the result was a borked apt-get. Tried to remove wine again with the above commands, resulting in apt-get failing to do so because it tried installing wine-unstable and reported errors similar to these : E: Could not perform immediate configuration on 'wine-unstable'. see man 5 apt.conf under APT::Immediate-Configure for details. (2)
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.
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)
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?
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:
I've been having trouble with CUPS.I uninstalled it and I wanted to re-install it. When I removed CUPS some other files were removed too. I don't have an option of installing the software or updating a system, in the Control Center.
during an "apt-get install" the filesystem of a virtual machine filled up and so it failed. I have now increased the file-system size but running the same "apt-get install" again results in this error: "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem." However when I try to run 'sudo dpkg --configure -a' I get this error: "dpkg: failed to write status database record about 'libxmuu1' to '/var/lob/dpkg/status': No space left on device" How can I recover from this situation?
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??
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/
I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]
I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.
It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:
501 5.1.3 Bad recipient address syntax
To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].
My question: how to configure postfix to accept myname@1.2.3.4 as well?
I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".
I've created Live Debian USB image and it works well, but if I put an additional USB stick, then it's just read only. Howto configure Live Debian before rebuild an image to get fully USB support, i mean to write into other USB drives?
I have just upgraded from Lenny to Squeeze, and followed the D-I recommendation to upgrade to Grub2. However, the server will no longer boot - giving a 'missing operating system' error, so it's not getting very far in the boot loader process. I have read, in various location that Grub2 supports GPT, but my efforts to fix the situation have met with little success.
I have managed to boot the system using SuperGrub2 (recovery live cd) and can start up successfully from there. However, when I try to fix the grub installation using the Debian wiki recommendation, I'm met with:
<host>:/# grub-install /dev/sda /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
[code]....
The attached disk is 4.5TB of RAID 5 disk behind an Adaptec 5405 if that's useful.